adjust dynamic editor

pull/636/head
Pete Matsyburka 3 weeks ago
parent 6b85c28944
commit 70015ce1c4

@ -188,6 +188,8 @@ const CustomHeading = Node.create({
const SectionNode = createBlockNode('section', 'section') const SectionNode = createBlockNode('section', 'section')
const ArticleNode = createBlockNode('article', 'article') const ArticleNode = createBlockNode('article', 'article')
const HeaderNode = createBlockNode('header', 'header')
const FooterNode = createBlockNode('footer', 'footer')
const DivNode = createBlockNode('div', 'div') const DivNode = createBlockNode('div', 'div')
const BlockquoteNode = createBlockNode('blockquote', 'blockquote') const BlockquoteNode = createBlockNode('blockquote', 'blockquote')
const PreNode = createBlockNode('pre', 'pre') const PreNode = createBlockNode('pre', 'pre')
@ -738,14 +740,12 @@ export function buildEditor ({ dynamicAreaProps, attachmentsIndex, renderHtmlFor
History, History,
Gapcursor, Gapcursor,
Dropcursor, Dropcursor,
CustomBold,
CustomItalic,
CustomUnderline,
CustomStrike,
CustomParagraph, CustomParagraph,
CustomHeading, CustomHeading,
SectionNode, SectionNode,
ArticleNode, ArticleNode,
HeaderNode,
FooterNode,
DivNode, DivNode,
BlockquoteNode, BlockquoteNode,
PreNode, PreNode,
@ -764,6 +764,10 @@ export function buildEditor ({ dynamicAreaProps, attachmentsIndex, renderHtmlFor
EmptySpanNode, EmptySpanNode,
LinkMark, LinkMark,
SpanMark, SpanMark,
CustomBold,
CustomItalic,
CustomUnderline,
CustomStrike,
SubscriptMark, SubscriptMark,
SuperscriptMark, SuperscriptMark,
VariableHighlight, VariableHighlight,

Loading…
Cancel
Save