changing the items in codeviewToolbars config does not work

Last post 04-14-2011, 7:10 PM by cosmonaut. 1 replies.
Sort Posts: Previous Next
  •  04-14-2011, 7:01 PM 67171

    changing the items in codeviewToolbars config does not work

    <configuration>
      <codeviewToolbars>
        <item type="g_start" />
        <item type="image" name="Print" />
        <item type="g_end" />
      </codeviewToolbars> 
     
     
    ALL items still appear in HTML/codeview mode, regardless of what items are removed from the <codeviewToolbars> config section.
  •  04-14-2011, 7:10 PM 67172 in reply to 67171

    Re: changing the items in codeviewToolbars config does not work

    evidently you can set it when you invoke the editor, hopefully you don't have a ton of different editors to strongarm... just list the items you want to appear.
    example:
     
    $editor = new CuteEditor();
    $editor->CodeViewTemplateItemList = "Print,Cut,Copy,Paste,ToFullPage,FromFullPage"; 
     
     // removed Save,Find,SelectAll
View as RSS news feed in XML