diff --git a/packages/sn-editor-react/src/extension-list.ts b/packages/sn-editor-react/src/extension-list.ts index 9db08d34c..34db67610 100644 --- a/packages/sn-editor-react/src/extension-list.ts +++ b/packages/sn-editor-react/src/extension-list.ts @@ -47,14 +47,6 @@ export const createExtensions = (options?: ExtensionOptions) => [ Code.configure(), CodeBlock.configure(), Document.configure(), - Panel.configure(), - PanelGroup.configure(), - PanelColapse.configure(), - PanelHeading.configure(), - PanelBody.configure(), - PanelIcon.configure(), - PanelLink.configure(), - PanelTitle.configure(), Dropcursor.configure(), Gapcursor.configure(), HardBreak.configure(), @@ -67,10 +59,18 @@ export const createExtensions = (options?: ExtensionOptions) => [ LinkExtend.configure(), ListItem.configure(), OrderedList.configure(), + Panel.configure(), + PanelGroup.configure(), + PanelColapse.configure(), + PanelHeading.configure(), + PanelBody.configure(), + PanelIcon.configure(), + PanelLink.configure(), + PanelTitle.configure(), + PanelColapse.configure(), Paragraph.configure(), ParagraphExtend.configure(), Placeholder.configure(options?.placeholder), - PanelColapse.configure(), SensenetImage.configure(), Table.configure(), TableCell.configure(), diff --git a/packages/sn-editor-react/src/extensions/PanelGroup.ts b/packages/sn-editor-react/src/extensions/PanelGroup.ts index 630c5eae9..3c891402c 100644 --- a/packages/sn-editor-react/src/extensions/PanelGroup.ts +++ b/packages/sn-editor-react/src/extensions/PanelGroup.ts @@ -3,8 +3,6 @@ import { mergeAttributes, Node } from '@tiptap/core' export const PanelGroup = Node.create({ name: 'panelGroup', - priority: 1100, - draggable: true, addAttributes() {