Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+3 votes
689 views
in Plugins by
edited by

I want to add some configurations for pbckcode

I add this in confi.js file in ckeditor's folder :

   config.pbckcode = {
         cls : '',
         highlighter : 'PRETTIFY',
         modes :  [ ['HTML', 'html'],['C++', 'c++'], ['CSS', 'css'], ['PHP', 'php'], ['JS', 'javascript'] ]
 }

 

But it doesn't work .

I also tried adding this in ckeditor's option in adming page :

extraPlugins:'eqneditor,pbckcode',
config.pbckcode = { [ ['HTML', 'html'],['C++', 'c++'], ['CSS', 'css'], ['PHP', 'php'], ['JS', 'javascript'] ] },
toolbarCanCollapse:false,
removePlugins:'elementspath',
resize_enabled:false,
autogrow:false,
entities:false

 

What is the proper way of adding configuration in ckeditor 4.3 ?!

Q2A version: 1.6.3

Please log in or register to answer this question.

...