Hello Community!
I'm loving this WYSIWYG, and its easy instalation and configuration, however there is a finer point of HTML formatting i would like some help in resoloving please.
When adding an image to the page from the file browser it automatically gets wrapped in "<p>" tags.
eg:
I don't want this to happen, i would like the image to be outside of paragraph formatting. is there a config setting i can use to disable this automatic tagging please?
Many thanks
Tom
I'm loving this WYSIWYG, and its easy instalation and configuration, however there is a finer point of HTML formatting i would like some help in resoloving please.
When adding an image to the page from the file browser it automatically gets wrapped in "<p>" tags.
eg:
<p><img width="158" height="78" align="right" src="userfiles/image/Test/photo.jpg" alt="" /></p>
I don't want this to happen, i would like the image to be outside of paragraph formatting. is there a config setting i can use to disable this automatic tagging please?
Many thanks
Tom
Re: Embed image without it being wrapped in "p" tags
You may opt to set EnterMode='br', so you will have no block elements appended, but also some semantically incorrect content.
Frederico Knabben
CKEditor Project Lead and CKSource Owner
--
Follow us on: Twitter | Facebook | Google+ | LinkedIn