-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
no BR tag in block tool text #891
Comments
It may be resolved with sanitize settings. https://github.com/editor-js/paragraph/blob/master/src/index.js
|
Try adding /**
* Sanitizer rules
*/
static get sanitize() {
return {
text: {
br: true,
div: true,
},
};
} |
Thanks everybody, guys, I'll close the issue, it's no more actual for me. |
@gkshi: How did you solve the problem? I have similar issues. |
@mirkomaty Hi, I've not solved the problem finally. I think it's a quite important bug. You can reopen the issue then. |
Hello. It seems line breaks are not adding into text.
In latest Chrome and Safari I can't add line break in block tool with
enableLineBreaks: true
property (such as Quote and other custom tools).You can get this case when just typing a text and press Enter, not paste.
The text was updated successfully, but these errors were encountered: