Primeval Stasis Posted November 11, 2023 Clone Share Posted November 11, 2023 I've been experiencing a few formatting bugs and just ignoring it, but figured I might as well post something about it. Since these bugs are a bit inconsistent, it is hard to get screenshots of them. I have screenshots of the first problem, and will add more next time they happen. These are happening on the following setups: Android, Google Chrome, no plugins Windows, Microsoft Edge, no plugins Backspace Mobile only: Every time I go to the beginning of a line and hit backspace, if highlights the line. Like this: This is the first line.This is the second line Additionally on both setups, sometimes text will not allow me to use backspace. No matter how many times I hit it, nothing happens. Next time this happens, I will save the code and paste it here. Text color Often, when I select text and click on a text color, it will only color the first word I have selected. If I select the rest of the text again, it will do the same thing. Link to comment Share on other sites More sharing options...
Eric Posted November 12, 2023 Clone Share Posted November 12, 2023 Backspace: Attempted to reproduce but can't. A video would probably help. Chances are likely it's a Chrome v. CKEditor issue as Colin suggested, but I wasn't able to turn up any reports of it over in CKEditor's forums. Text color: This sounds similar to an issue described where some browser spellchecks insert <font color=""> tags when replacing text. In that case, the spellchecker's action does not throw an event that the editor can catch to fix the style, and the specificity of the color attribute prevents the color picker from doing anything about it later. Can you confirm whether spellcheck (either manual or automatic) was invoked prior to observing the bug? Link to comment Share on other sites More sharing options...
Primeval Stasis Posted November 12, 2023 Author Clone Share Posted November 12, 2023 Backspace: here is a video of the highlighting bug. screen-20231112-104206~3.mp4 Text color: Just confirmed it. However, after the spell check, I checked the source code and there was no extra markup inserted. But when I changed the color it only did the first word. Link to comment Share on other sites More sharing options...
Eric Posted November 12, 2023 Clone Share Posted November 12, 2023 Backspace: Thanks. Not 100% sure what I can do about it, but I'll do some digging. Text color: Please provide the before and after markup so I can run it against some test cases. Link to comment Share on other sites More sharing options...
Primeval Stasis Posted November 12, 2023 Author Clone Share Posted November 12, 2023 This is some text that has been autocorrected. Before color (and after autocorrecting): <p> This is some text that has been autocorrected. </p> After color: <p> <span style="color:rgb( var(--mwpalette-Bright_3) );">This</span> is some text that has been autocorrected. </p> Link to comment Share on other sites More sharing options...
Eric Posted November 12, 2023 Clone Share Posted November 12, 2023 OK, so not the same thing at as the other report. Good and bad, I guess; but mainly bad in that I can't replicate it so it will be hard to track down... 😆 Link to comment Share on other sites More sharing options...
Recommended Posts