extra css tags from cross browser rich text editor in firefox 3

L

lawpoop

I'm using the Cross-Browser Rich Text Editor (RTE) byt Kevin Roth to
allow HTML editing on a website I'm working on.

I've noticed that in FireFox 3, editing any text puts an extra '<br />
<style type="text/css"> body { background: #FFF; } </style>' set of
tags at the end, with some tabs and line breaks mixed in there.

If I keep re-submitting the text, it keeps appending those tags onto
the data.

I edit the text in IE6, and this doesn't happen.

Has anyone experienced this, and do you have a fix or workaround?

I can't really look at the source for the RTE, because it's compressed
javascript. I couldn't find any discussion groups about this app, so
I'm posting here :)
 
D

David Mark

I'm using the Cross-Browser Rich Text Editor (RTE)  byt Kevin Roth to
allow HTML editing on a website I'm working on.

*The* Cross-Browser Rich Text Editor?! There are thousands of them.
I've noticed that in FireFox 3, editing any text puts an extra '<br />
<style type="text/css"> body { background: #FFF; } </style>' set of
tags at the end,   with some tabs and line breaks mixed in there.
Oops.


If I keep re-submitting the text, it keeps appending those tags onto
the data.

It sucks.
I edit the text in IE6, and this doesn't happen.

Has anyone experienced this, and do you have a fix or workaround?

Never used it.
I can't really look at the source for the RTE, because it's compressed

Obfuscated. Either the author is deluded enough to think that his
editor is worthy of theft or he is trying to hide his shoddy work
(like Google does.)
javascript. I couldn't find any discussion groups about this app, so

From your description, I doubt anybody is using it.
I'm posting here :)

Good thing you did. Find another editor.
 
L

lawpoop

No.  Every one I ever looked at was junk, though most could edit
documents without adding garbage at the end.

Hm. This one I have is good, or at least good enough, so I think I can
put up with some trailing junk. Seems a decent trade-off ;)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,226
Members
46,815
Latest member
treekmostly22

Latest Threads

Top