Classic Editor STILL inserts data-mce-type and br code
-
I have custom <style> inserted on Page. When I click in any part of it (leaving blinking cursor in that spot) and switch between Text>Visual>Text tab, then TinyMCE will insert code below in the spot where the cursor was left:
<span style="display: inline-block; width: 0px; overflow: hidden; line-height: 0;" data-mce-type="bookmark" class="mce_SELRES_start"></span>
Also if I use Enter after any part of CSS then <br /> will be inserted at the end. It will look something like this:
<style> #main {<br /> background-color: fff;<br /> background: rgb(255,255,255);<br /> }<br /> </style>
The only way to mitigate it is to minimize CSS but then it is hard to read it.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Classic Editor STILL inserts data-mce-type and br code’ is closed to new replies.