You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Did you manually edit the tag attributes?
The cause of the error is the "data-align" attribute. data-align="justify" => data-align="center"
It will be added exception handling at the next version.
Describe the bug
when assigning a default value to suneditor with specific tag, suneditor gets crashed
To Reproduce
Steps to reproduce the behavior:
<figure style="margin: auto; width: 490px;"><img class="se-custom-tag" src="https://1.bp.blogspot.com/-mhdYXV7RykU/Xls3b-1qM1I/AAAAAAAAnqM/ke6nHNve0twL_s-uNcAuI4tMf8y0VEDYQCLcBGAsYHQ/s1600/Happy-birthday-messages-and-Happy-birthday-wishes%2B%25281%2529-min.jpg" alt="" data-proportion="true" data-size="490px,490px" data-align="justify" data-index="3" data-file-name="Happy-birthday-messages-and-Happy-birthday-wishes%2B%25281%2529-min.jpg" data-file-size="0" origin-size="500,500" data-origin="490px,490px" style="width: 490px; height: 490px;"></figure>
Expected behavior
it should load the content with an image in the editor
Screenshots
Codesandbox
https://codesandbox.io/s/suneditor-8exq4?file=/src/App.js
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: