TinyMCE only reads from </__body> styles
Posted: Tue Sep 06, 2005 4:04 pm
Does anyone know why the TinyMCE editor seems to take the body styles and apply them to the text you are editing automatically?
I have a text-align:center in my stylesheet for the body, but the content is in a div with text-align left. TinyMCE seems to just look at the body styles and centers the text I am editing. Also my body background is black, so the background in the editor is black, even though the content is in a div with a red background...
Of course everything is fine on the actual page after it is submitted, but it will confuse my users if everything shows up centered in the editor and ends up right on the actual page.
Any ideas?
I have a text-align:center in my stylesheet for the body, but the content is in a div with text-align left. TinyMCE seems to just look at the body styles and centers the text I am editing. Also my body background is black, so the background in the editor is black, even though the content is in a div with a red background...
Of course everything is fine on the actual page after it is submitted, but it will confuse my users if everything shows up centered in the editor and ends up right on the actual page.
Any ideas?