5 Replies Latest reply on Oct 1, 2009 6:42 AM by Ilya Shaikovsky

    rich:editor help!!!

    Armen Arzumanyan Newbie

      Hi, I use rich:editor and have config file

      theme="advanced"
      plugins="insertdatetime, save, paste"
      theme_advanced_buttons1 : "bold,italic,underline,strikethrough,separator,justifyleft,justifycenter,justifyright,justifyfull,separator,styleselect,formatselect,fontselect,fontsizeselect"
      theme_advanced_buttons2 : "cut,copy,paste,pastetext,pasteword,separator,search,replace,separator,bullist,numlist,separator,outdent,indent,blockquote,separator,undo,redo,separator,link,unlink,anchor,image,cleanup,code,separator,insertdate,inserttime,preview,separator,forecolor,backcolor"
      theme_advanced_toolbar_location : "top"
      theme_advanced_toolbar_align : "left"
      


      I could not set default font and font size. How can I do it? Please help me.
      I do not know how can I configure it for using default font like tahoma, and font size 12.


       <rich:editor autoResize="true"
       title="#{msgs.enterSubject}" required="true" value="#{CategoriesBean.subject}" configuration="#{RichEditorController.currentConfiguration}"
       width="360" height="80">
      
       </rich:editor>