Skip to content

Commit

Permalink
fix: use custom eiement instead of span
Browse files Browse the repository at this point in the history
BREAKING CHANGE: The OutputData of older version has not been supported.
  • Loading branch information
hata6502 committed Sep 13, 2020
1 parent 652f1db commit 595e881
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
type: 'paragraph',
data: {
text:
'editorjs-<span class="editorjs-style" style="background-color: pink;">​style​</span> test<br><br><span class="editorjs-style" style="display: block;\nborder: 1px solid black;">​<span class="editorjs-style" style="float: left;\nwidth: 200px;\nbackground-color: lightgray;\nmargin-right: 1rem;">​float: left;​​<br>Floated content.&nbsp;</span>Advanced usage with floated block.&nbsp;<span style="background-color: rgb(255, 255, 255); color: rgb(32, 33, 34); font-family: sans-serif; font-size: 15.104px;">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</span></span>',
'editorjs-<editorjs-style style="background-color: pink;">​style​</span> test<br><br><editorjs-style style="display: block;\nborder: 1px solid black;">​<editorjs-style style="float: left;\nwidth: 200px;\nbackground-color: lightgray;\nmargin-right: 1rem;">​float: left;​​<br>Floated content.&nbsp;</span>Advanced usage with floated block.&nbsp;<span style="background-color: rgb(255, 255, 255); color: rgb(32, 33, 34); font-family: sans-serif; font-size: 15.104px;">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</span></span>',
},
},
],
Expand Down

0 comments on commit 595e881

Please sign in to comment.