andrew-xcomms
-
1/19/2009 3:40:05 AM
RE:Inline controls problem with FCKEditor
Hi Helena,
Thanks for your reply. I think the problem occurs when an inline control is to be inserted on it's own line in the text area for example
------------------------ Inside Textarea ---------------------------
Some content in a paragraph in a paragraph in a paragraph in a paragraph in a paragraph in a paragraph in a paragraph in a paragraph. %%control:AudioPlayer?%% Some more content in a paragraph in a paragraph in a paragraph in a paragraph in a paragraph in a paragraph in a paragraph.
------------------------ Inside Textarea ---------------------------
Ideally in the rendered page, the above should produce markup like:
<p>Some content in...</p> <div id="audioPlayer"> ...blah... </div> <p>Some more content...</p>
However it will produce markup like:
<p>Some content in...</p> <p><div id="audioPlayer"> ...blah... </div></p> <p>Some more content...</p>
This is not necessarily an issue in FCKEditor when not used with Kentico, as all content on a single line is wrapped in HTML when you hit the ENTER key.
I realise this may be an obscure problem, however it makes the Inline Controls feature of limited use for me as many of our sites require strict XHTML validation.
Thanks for your help, Andrew
|