javascript - CKEditor: Ignoring its config.js -


i have fresh installation of ckeditor 4.7.1. following tutorial on creating plugin, did , modified config.js file enable it. won't enable. had posted separate question that, during that, discovered @ least part of problem config.js being totally ignored. example, here's current config.js:

ckeditor.editorconfig = function( config ) { config.language = 'en'; config.uicolor = '#ffffee'; config.width = '100%'; config.height = 500; config.toolbarcancollapse = true;    config.extraplugins = 'timestamp'; config.allowedcontent = true; };   

and none of settings anything. if put them in .replace code:

var editor = ckeditor.replace('pageckeditor', {     language: 'en',     width: '100%',     height: '500',     extraplugins: 'timestamp',     toolbarcancollapse: true,     uicolor: '#ffffee' });  ckfinder.setupckeditor( editor, '/includes/ckfinder/' ); 

...they work fine. if remove settings .replace code, show default values editor window, indicating config.js being ignored.

i'm using full version of ckeditor, having same problem standard 1 (hence why tried different version).

i have tried on both local dev machine -- mac running apache 2.4, , windows server running iis , results same. tried loading config.js on own (after ckeditor.js) made no difference, removed it.

i've run out of things try... input appreciated!


Comments

Popular posts from this blog

Ansible warning on jinja2 braces on when -

Parsing a protocol message from Go by Java -

node.js - Node js - Trying to send POST request, but it is not loading javascript content -