Version: 6.0
Our usage of the CuteEditor is as follows:
1) An underlying page has the html to be edited.
2) The CuteEditor is launched in a new browser window.
3) The new browser window calls javascript on the opening page to retrieve and populate the CuteEditor control (document.all.Editor1.value = "the html retrieved from the underlying page".
4) When editing is complete and the user closes the CuteEditor window, javascript writes the contents to the opening page.
Our problem is as follows:
The editor removes colors from inline styles.
Example:
1) The following html is entered into the CuteEditor:
<p style="color: #800000">This is a test.</p>
2) This html is saved the the opening page correctly.
3) The CuteEditor is reopened to edit this text and the following html is present:
<p>This is a test.</p>
Notice the removal of the style tag.
I have verified that at step 3 in the example, the correct html is being set in the CuteEditor. It appears that the CuteEditor initialization that takes place when IE_Loader is executed is removing the style tag. I have also found that certain colors do not trigger the behaviour. For example, named colors (i.e. red) or various rgb values (i.e. c0c0c0) are unaffected.
Please let me know what we can do to prevent CuteEditor from removing certain colors from inline styles.