2008年9月24日星期三

[fw-mvc] Dojo Editor

Hi everyone !

I have this error when I add an Editor element in a Zend_Dojo_Form :

"Plugin by name Editor was not found in the registry."

Adding :
          // POST CONTENT       
        $this->addElement('editor', 'content',
                array(
                    'plugins'            => array('undo', '|', 'bold', 'italic'),
                    'editActionInterval' => 2,
                    'focusOnLoad'        => true,
                    'height'             => '250px',
                    'inheritWidth'       => true,
                    'styleSheets'        => array('/js/custom/editor.css'),
                ));

Well, since I'd really like to use this magic editor if anyone has input on this one ;-)
Z.
--
Interested in php & zend framework ?
http://myzendframeworkexperience.blogspot.com/





Appelez vos amis de PC à PC -- C'EST GRATUIT Téléchargez Messenger, c'est gratuit !

没有评论: