Hi everyone. I'm trying to use the php5 library and have run into a problem trying to set up a custom toolbar. Code:
What this gets me is an editor with no icons in its toolbar at all. I know that the first setting ('Small') has correct syntax, because when I replace 'Small' with 'Basic' I get the default basic toolbar. What am I doing wrong here?
$cke1 = new CKEditor(); $cke1->returnOutput = true; $cke1->config['toolbar'] = 'Small'; $cke1->config['toolbar_Small'] = "[ ['Bold','Italic','Underline'] ]"; ... $cke1->editor('foo',$default)
What this gets me is an editor with no icons in its toolbar at all. I know that the first setting ('Small') has correct syntax, because when I replace 'Small' with 'Basic' I get the default basic toolbar. What am I doing wrong here?