Hello,
Is it possible to replace the <p> and <br /> tags in the HTML view of CKEditor as newlines? Like in Wordpress with TinyMCE.
Example HTML
<p>test</p>
<p>test2<br/>test3</p>
Would become in HTML view:
test
test2
test3
Is it possible to replace the <p> and <br /> tags in the HTML view of CKEditor as newlines? Like in Wordpress with TinyMCE.
Example HTML
<p>test</p>
<p>test2<br/>test3</p>
Would become in HTML view:
test
test2
test3
Re: More userfriendly HTML view
Documentation Manager, CKSource
See CKEditor 5 docs, CKEditor 4 docs, CKEditor 3 docs, CKFinder 3 docs, CKFinder 2 docs for help.
Visit the new CKEditor SDK for samples showcasing editor features to try out and download!
Re: More userfriendly HTML view
A more userfriendly view would be.. the WYSIWYG view?
Re: More userfriendly HTML view
Are you familiar with the Wordpress HTML view? For readability it replaces <p> with 2 newlines. This makes the HTML look much cleaner for people with few HTML knowledge. Example;
http://demo.opensourcecms.com/wordpress ... F&reauth=1
admin / demo123
Re: More userfriendly HTML view
You could create a plugin that filters the data like the BBCode plugin does:
http://nightly.ckeditor.com/latest/cked ... bcode.html
But I think that when people switches to source view, the least of their worries are the <p> and <br>s. If they can't set those right there's no hope that they can do anything correctly with the rest of tags.