mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-23 17:19:37 +02:00
Add sort:true when updating decorations for delete highlight (#21715)
GitOrigin-RevId: afd5aed5a4ea1ff7f9439155b5150b23666b0cc7
This commit is contained in:
committed by
Copybot
parent
72f03b39c6
commit
83bed793f5
@@ -276,6 +276,7 @@ const updateDeleteWidgetHighlight = (
|
||||
}
|
||||
|
||||
return decorations.update({
|
||||
sort: true,
|
||||
filter: (from, to, decoration) => {
|
||||
return !widgetsToReplace.includes(decoration.spec?.widget)
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user