File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -229,6 +229,7 @@ export default {
229229
230230 removeLink () {
231231 this .editor .chain ()
232+ // Explicitly hide bubble to prevent flickering before it's removed
232233 .hideLinkBubble ()
233234 .unsetLink ()
234235 .focus ()
Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ export function linkBubble(options) {
7878 const sameSelection = oldState ?. selection . eq ( state . selection )
7979 const sameDoc = oldState ?. doc . eq ( state . doc )
8080 // Don't open bubble on changes by other session members
81- const noHistory = ! transactions . some ( tr => tr . meta . addToHistory )
81+ const noHistory = transactions . every ( tr => tr . meta . addToHistory === false )
8282 if ( sameSelection && ( noHistory || sameDoc ) ) {
8383 return
8484 }
You can’t perform that action at this time.
0 commit comments