Jump to content

CKEditor and background-color...


Recommended Posts

I have a question about posts. I have noticed for a long time, when editing some posts, that the background-color value is added to reset the text color. The question is, why fill the database with it, if after removing it, there is no difference?

Sample code that is automatically added to some posts:

<p>
	Hello. I'm a Robert.<span style="background-color: rgb( var(--theme-area_background_reset) ); color: rgb( var(--theme-text_color) );">I wanted to say hello. </span>
</p>

And this is the code after "cleaning":

<p>
	Hello. I'm a Robert. I wanted to say hello.
</p>

There is no benefit to adding this unnecessary code. Of course, I have the "Always paste as plain text" option enabled in the editor settings.

Edited by SeNioR-
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...