[CKEditor] Custom Styles

Forge Component
Published on 12 Apr (12 days ago) by Carlos Henriques
21 votes
Published on 12 Apr (12 days ago) by Carlos Henriques

Did anyone succeed in adding custom style classes without changing the style.js file?

I've tried the CKEditor.config and CKEditor.editorConfig without success. 

Best regards

I'm having the same issue

This link suggests to change the config.js file:



To allow style tag (<style type="text/css">...</style>):

config.extraAllowedContent = 'style';


But I'm looking to just use the Config input parameter to allow the style tag in the HTML.

Because I don't want to change the JavaScript resource files.

Any suggestions?

Kind regards,


Hi all,

Did you clear cached files from browser before test it?