From d4da33424b530d03a59f4ea391b141ec77be790a Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Sat, 7 Jan 2023 10:01:21 -0500 Subject: [PATCH] fix: Math block overrides heading backspace key behavior --- shared/editor/packages/full.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/shared/editor/packages/full.ts b/shared/editor/packages/full.ts index 66ccc29bf..58e6e86ad 100644 --- a/shared/editor/packages/full.ts +++ b/shared/editor/packages/full.ts @@ -38,8 +38,6 @@ const fullPackage: (typeof Node | typeof Mark | typeof Extension)[] = [ OrderedList, Embed, ListItem, - Math, - MathBlock, Attachment, Notice, Heading, @@ -53,6 +51,8 @@ const fullPackage: (typeof Node | typeof Mark | typeof Extension)[] = [ Folding, Keys, BlockMenuTrigger, + Math, + MathBlock, ]; export default fullPackage;