Move mark decorations after atomic decorations (#14146)

GitOrigin-RevId: aedaa57ba14e0e5ebf03053beaa1cd3cb1ee5b2b
This commit is contained in:
Alf Eaton 2023-08-04 08:35:49 +01:00 committed by Copybot
parent cf285651ff
commit c37b87e254

View file

@ -195,8 +195,8 @@ const extension = (options: Options) => [
visualHighlightStyle,
mousedown,
listItemMarker,
markDecorations,
atomicDecorations(options),
markDecorations, // NOTE: must be after atomicDecorations, so that mark decorations wrap inline widgets
skipPreambleWithCursor,
visualKeymap,
scrollJumpAdjuster,