Skip to content

Commit

Permalink
fix(react-rich-text-lexical-renderer): remove role attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
brunozoric committed Jan 24, 2025
1 parent e47356e commit abe709d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export const emptyEditorContent =
'<div class="editor"><div aria-autocomplete="none" aria-readonly="true" contenteditable="false" role="textbox" spellcheck="true" style="user-select: text; white-space: pre-wrap; word-break: break-word;" data-lexical-editor="true"><p class="WebinyLexical__paragraph"><br></p></div></div>';
'<div class="editor"><div aria-autocomplete="none" aria-readonly="true" contenteditable="false" spellcheck="true" style="user-select: text; white-space: pre-wrap; word-break: break-word;" data-lexical-editor="true"><p class="WebinyLexical__paragraph"><br></p></div></div>';

export const LexicalCmsInputRender =
'<div class="editor"><div aria-autocomplete="none" aria-readonly="true" contenteditable="false" role="textbox" spellcheck="true" style="user-select: text; white-space: pre-wrap; word-break: break-word;" data-lexical-editor="true"><h1 class="WebinyLexical__h1 WebinyLexical__ltr" dir="ltr"><span data-lexical-text="true">Test CMS Title</span></h1><p class="WebinyLexical__paragraph"><br></p><p class="WebinyLexical__paragraph WebinyLexical__ltr" dir="ltr"><span data-lexical-text="true">Test CMS Paragraph</span></p><p class="WebinyLexical__paragraph"><br></p><blockquote class="WebinyLexical__quote WebinyLexical__ltr" dir="ltr"><span data-lexical-text="true">Test quote from lexical </span><strong class="WebinyLexical__textBold" data-lexical-text="true">CMS</strong></blockquote><p class="WebinyLexical__paragraph"><br></p><ul class="WebinyLexical__ul" data-theme-list-style-id="list"><li value="1" class="WebinyLexical__listItem WebinyLexical__ltr" dir="ltr"><span data-lexical-text="true">List item 1</span></li><li value="2" class="WebinyLexical__listItem WebinyLexical__ltr" dir="ltr"><span data-lexical-text="true">List item 2</span></li><li value="3" class="WebinyLexical__listItem WebinyLexical__ltr" dir="ltr"><span data-lexical-text="true">List item 3</span></li></ul><p class="WebinyLexical__paragraph"><br></p><p class="WebinyLexical__paragraph"><br></p></div></div>';
'<div class="editor"><div aria-autocomplete="none" aria-readonly="true" contenteditable="false" spellcheck="true" style="user-select: text; white-space: pre-wrap; word-break: break-word;" data-lexical-editor="true"><h1 class="WebinyLexical__h1 WebinyLexical__ltr" dir="ltr"><span data-lexical-text="true">Test CMS Title</span></h1><p class="WebinyLexical__paragraph"><br></p><p class="WebinyLexical__paragraph WebinyLexical__ltr" dir="ltr"><span data-lexical-text="true">Test CMS Paragraph</span></p><p class="WebinyLexical__paragraph"><br></p><blockquote class="WebinyLexical__quote WebinyLexical__ltr" dir="ltr"><span data-lexical-text="true">Test quote from lexical </span><strong class="WebinyLexical__textBold" data-lexical-text="true">CMS</strong></blockquote><p class="WebinyLexical__paragraph"><br></p><ul class="WebinyLexical__ul" data-theme-list-style-id="list"><li value="1" class="WebinyLexical__listItem WebinyLexical__ltr" dir="ltr"><span data-lexical-text="true">List item 1</span></li><li value="2" class="WebinyLexical__listItem WebinyLexical__ltr" dir="ltr"><span data-lexical-text="true">List item 2</span></li><li value="3" class="WebinyLexical__listItem WebinyLexical__ltr" dir="ltr"><span data-lexical-text="true">List item 3</span></li></ul><p class="WebinyLexical__paragraph"><br></p><p class="WebinyLexical__paragraph"><br></p></div></div>';

0 comments on commit abe709d

Please sign in to comment.