17488 Posts in 4473 Topics by 1978 members
|Go to End|
21 June 2007 at 8:44pm
where this.datems.Content contains html code such as: <h1>Some Header</h1>.
When I test this within an untouched copy of tinymce outside of the silverstripe cms I have no problems. It translates over beautifully. But when I run this within the silverstripe cms I get jumpled messes: primarily that it encodes my brackets so that I see the source code in the wysiwyg view. When I view the source of it I see something like <p>&lt;h1&gt;Some Text&lt;/h1. Obviously the html is being rewritten.
My question is is what does _setHTML expect so that my code comes unscathed out the other side (ie: not having all the bracket characters of my HTML tags all construed).
25 June 2007 at 4:18pm
I have been able to unescape html characters for the tinyMCE, though it was a bit of a hack of the silverstripe system. I still have strange things happening like bolding of text visually being bolded but not 'sticking' when viewing the tinyMCE source code and when saving back out.
What I need to do is simple:
I am up against the gun on this project and would really appreciate a response as soon as possible.
1 August 2008 at 2:41pm
Hi, having the same problem... I don't see any responses yet did you find a solution? Thanks
|Go to Top|