Opened 15 years ago

Closed 13 years ago

#705 closed defect (invalid)

css gets striped on submit

Reported by: cblackburn@… Owned by: gogo
Priority: normal Milestone:
Component: Xinha Core Version: trunk
Severity: normal Keywords: css inline embedded


We can load inline (embedded) css using style tags into the editor. However, when submitting the form, the css gets removed.

The embedded css does get sent if I go into TEXT mode and paste it in first. However, when the user submits the form and it reloads, the css is still there and displays properly but it is no longer shown in TEXT mode and is not sent on next submit.


  • Switch to TEXT mode
  • Paste in some html with embedded CSS at the top using style tags
  • Submit the form (sends an html email)
  • Editor page is reloaded with same contents including embedded css
  • however now TEXT mode does not show the css text and upon another submit the css is not sent to the server (only the html gets sent)

Any ideas on what I can do to fix my problem?


Change History (1)

comment:1 Changed 13 years ago by ray

  • Resolution set to invalid
  • Status changed from new to closed

style tags are not allowed in the body. use

xinha_config.fullPage = true;

and you will keep your styles...

Note: See TracTickets for help on using tickets.