0 Replies Latest reply on Apr 4, 2012 3:38 PM by oniram

    custom rich:editor

    oniram

      I Have an rich:editor in RF 4.1:

       <rich:editor value="#{mybeanBB.pojo.addictionalInformation}"           toolbar="CustomToolbar" skin="office2003">
                                                        <f:facet name="config">
                                                                toolbar_CustomToolbar:
                                                                [
                                                                { name: 'styles', items : [ 'Format' ] }
                                                                ]
                                            </f:facet>
                                              </rich:editor>
      

       

       

      I would like to remove items from 'Format' menu.

       

       

      The default config of CKeditor is

      config.format_tags = 'p;h2;h3;h4;h5;h6;pre;address;div'
      

      I would like to change to

      config.format_tags = 'h1;h2;h3;'
      

       

       

      What better way to do this ?