<![CDATA[ Style code gets changed - My Forums]]> https://forums.modx.com/thread/?thread=45689 <![CDATA[Style code gets changed]]> https://forums.modx.com/thread/45689/style-code-gets-changed#dis-post-264413
When I am in the manager editing a document and switch from to HTML (None) to either tinyMCE or FCKeditor a piece of embedded style code get rewritten.

Before the change:

style="background: transparent url(images/icon_documents.gif) no-repeat top left;"


After the change:

style="background: url('images/icon_documents.gif'); -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial"


As far as I can tell it just happens when we try to over write the background style.

I am running Modx 9.6.1p2 with Quick Edit and Phx.

Except for the obvious -- don’t change the background, does anyone have a solution for this problem.]]>
mregan Feb 27, 2009, 09:02 PM https://forums.modx.com/thread/45689/style-code-gets-changed#dis-post-264413