Jump to content

Autocorrect Bug in Colored Text


Recommended Posts

I've noticed this bug a few times in the past month. In the event where your misspell a word in a line of colored text, like so:

"I've misspelled a wworrd."

Clicking on autocorrect and applying the change also results in the rest of the line recoloring to red, with no way to change it back except to undo the autocorrect, like so:

"I've misspelled a word."

Link to comment
Share on other sites

Fun. I'll look into it; it appears it's an interaction between the native spellchecker and CKEditor. In theory CKEditor is supposed to override native spell checking, but that's not happening... rants at the sky

Link to comment
Share on other sites

Yeah, it's definitely within the editor. The action of the spell checker sets the paragraph to

color="rgba(0,0,0,0)"

which is not a standard attribute so the user agent colors it red in the editor. The discrepant attribute is stripped upon posting, putting it back to the default color.

Link to comment
Share on other sites

×
×
  • Create New...