/**
  * Constructor.
  *
  * Available options:
  *
  *  * theme:  The Tiny MCE theme
  *  * width:  Width
  *  * height: Height
  *  * config: The javascript configuration
  *
  * @param array $options     An array of options
  * @param array $attributes  An array of default HTML attributes
  *
  * @see sfWidgetForm
  */
 protected function configure($options = array(), $attributes = array())
 {
     parent::configure($options, $attributes);
     $this->setOption('theme', 'advanced');
     //$this->setOption('theme', 'simple');
     $this->setOption('config', 'language: "ja"');
 }
 protected function configure($options = array(), $attributes = array())
 {
   parent::configure($options, $attributes);
   $this->addOption('config',
           'plugins : "preview, syntaxhl, preelementfix",
           theme_advanced_buttons1 : "bold,italic,underline,undo,redo,link,unlink,forecolor,styleselect,removeformat,cleanup,code,syntaxhl",
           theme_advanced_buttons2 : "pagebreak,|,preview",
           theme_advanced_buttons3 : "",
           theme_advanced_disable  : "anchor,cleanup,help",
           extended_valid_elements : "textarea[cols|rows|disabled|name|readonly|class]",
           remove_linebreaks       : false"'
         );
 }
 protected function configure($options = array(), $attributes = array())
 {
   parent::configure($options, $attributes);
   $this->addOption('config',
           'plugins : "emotions, preview, advimage, advlink, pagebreak, syntaxhl, preelementfix",
           theme_advanced_buttons1 : "bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,|,bullist,numlist,|,outdent,indent,blockquote,|,undo,redo,|,emotions",
           theme_advanced_buttons2 : "undo,redo,link,unlink,image,code,syntaxhl,pagebreak,preview",
           theme_advanced_buttons3 : "",
           theme_advanced_disable  : "anchor,cleanup,help",
           extended_valid_elements : "textarea[cols|rows|disabled|name|readonly|class]",
           remove_linebreaks       : false,
           remove_script_host      : false,
           relative_urls           : false,
           file_browser_callback   : "sfAssetsLibrary.fileBrowserCallBack"'
         );
 }
 /**
  * (non-PHPdoc)
  * @see sfWidgetFormTextareaTinyMCE::configure()
  */
 protected function configure($options = array(), $attributes = array())
 {
     parent::configure();
     $this->setOption("config", "theme_advanced_buttons1: 'bold,italic,underline,strikethrough,|,link,unlink,|,bullist,numlist,|,formatselect,fontsizeselect',\n\t\t\t\t\t\t\ttheme_advanced_statusbar_location: 'none'");
 }