Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Archive /

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

raw html field


Reply


3 Posts   2092 Views

Avatar
Gnx

3 Posts

9 November 2007 at 1:37pm

So I noticed this topic had been discussed a bit earlier, but I'm still a bit unclear on a few things.

The thing I want to achieve is a html editor in the cms, where I could input raw html code without the system changing it.
As it is, even ids get cleaned up from the code, which makes css-styling hard.

Now I tried tinkering the tinymce's config allowing inline styles and even disabling html cleanup, but this seems to have no effect? So my question is when and where is the html filtered?

Avatar
Sigurd

Forum Moderator, 628 Posts

9 November 2007 at 4:42pm

gnx, if no one answers your question in a bit, weekly IRC chats with the core developers, as they all make time to answer questions like this, and can quickly scan code and take you through issues :)

http://www.silverstripe.com/irc/

Avatar
dio5

Community Member, 501 Posts

9 November 2007 at 10:42pm

When in TinyMCE, you click on the 'HTML'-button, then you can enter raw html. As far as I can tell it lets me add ids (I just tried with a p-tag and that worked.)

Maybe it depends on which tag you use, deprecated or not?