Buggy behaviour with same HTML code
See original GitHub issueTo reproduce this bug simply open the PoC: http://jsfiddle.net/pkeaw30t/1/
Click and let the cursor/caret blink at the right of the first BBB
. Now press BACKSPACE 3 times to delete the 3 letters B. After that, press any letter key on your keyboard (like Z
) and you will see that Z
will have the same border-bottom
(or any style format) that BBB
had.
Now do the same on the second line. You will realize that when you remove the BBB
and type anything, the format/style will be lost entirely.
I really think the behaviour of the first line is the correct cause it prevents me (and my customers) from losing format when deleting part of a text. The problem is that there are some places where I cant use mceEditable
so I think there is some bug with TinyMCE that should make the 2nd line behave like the 1st.
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (3 by maintainers)
Top GitHub Comments
These kinds of behavior are often opinionated. Some users like to have the “default” style be applied, others expect to continue on the AAA formats in your example. I did a quick check with Google Docs and Word Online which are what our customers mostly want TinyMCE to behave like
Google Docs kept the formatting
Word online removed the formatting
So there is no right path here.
To better help us prioritize, can you describe in more detail your use case and the pain points with the current behavior.
Thank you, I appreciate your attention. So I will try to use custom formats, despite I still belive the Google Docs approach is the way to go!