My service is built and it is sending the config variable to my js file: [[ SpellChecker , - , Undo , Redo , - , Bold , Italic , Underline , NumberedList , BulletedList ]]
以上是我的script。
var config = "<?= stripslashes($_REQUEST[ config ]) ?>";
I can alert out the config just fine:
console.log(config)
does send back the correct data...
然而,我却在我的 con中犯了一个错误:
v is undefined [Break On This Error] var u=n.toolbox.toolbars,v=n.config.to...aximize , ShowBlocks , - , About ]];
If I comment out the config:
/CKEDITOR.config.toolbar = config;
一切工作都很出色,但组合确实存在。