Reputation: 372
Is it possible to customize CKEditor
content rendering?
Instead of rendering text as combination of p
, span
tags, we want to render in our customer format.
Is this possible through using CKEditor
? If yes, please let me know.
Upvotes: 0
Views: 980
Reputation: 38092
Yes it's possible, there are several solutions:
config.contentsCss = '/css/global.css';
http://docs.ckeditor.com/#!/api/CKEDITOR.filter-property-enterMode
See the documentation : http://docs.ckeditor.com/#!/guide/dev_styles
Upvotes: 3
Reputation: 15895
Yes. This is possible. The existing implementation that you can refer to is the official BBCode plugin.
Upvotes: 0