tinymce-vue
tinymce-vue copied to clipboard
How can i control br tag?
** environment
- tiny MCE v5
What is the current behavior? Describe the bug
The data was set as follows.
const content = `
<blockquote>
<p>ABCDEF
<br> ABCDEF
</p>
</blockquote>
`;
converted html
<blockquote>
<br>
<p>ABCDEF
<br> ABCDEF
</p>
<br>
</blockquote>
I want to remove additional br tags.
What is the expected behavior?
In the official document, it was possible to remove the trailing br tag using remove_trailing_brs.
However, I don't know how to remove the br tag created in front.
Which versions of TinyMCE, and which browser / OS are affected by this issue? Did this work in previous versions of TinyMCE?
I try to edit init options.
force_br_newlines : false,
forced_root_block: ''
but I cant solve it.
Ref: INT-3244
This issue is stale because it has been open 30 days with no activity. Please comment if you wish to keep this issue open or it will be closed in 7 days.
This issue was closed because it has been stalled for 7 days with no activity.