Commit 9a3f03a
authored
fix: dispatch suggestion menu as a separate transaction (#1614)
Dispatching in the same transaction that modified content could cause positions to be different because of appendedTransactions (e.g. Unique-id plugin)
So, this changes to only dispatch the menu in a separate transaction so that there will likely not be any other content modifications by a meta only dispatch1 parent b884b61 commit 9a3f03a
File tree
1 file changed
+2
-2
lines changed- packages/core/src/extensions/SuggestionMenu
1 file changed
+2
-2
lines changedLines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
292 | 292 | | |
293 | 293 | | |
294 | 294 | | |
| 295 | + | |
295 | 296 | | |
296 | 297 | | |
297 | | - | |
298 | | - | |
299 | 298 | | |
300 | 299 | | |
301 | 300 | | |
| 301 | + | |
302 | 302 | | |
303 | 303 | | |
304 | 304 | | |
| |||
0 commit comments