2008年9月24日星期三

Re: [fw-mvc] Dojo Editor

-- Zladivliba Voskuy <nospampam@hotmail.fr> wrote
(on Wednesday, 24 September 2008, 06:13 PM +0200):
> 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 ;-)

Editor only exists in the trunk, not in a stable release. If you're not
using current trunk, you don't have it.

--
Matthew Weier O'Phinney
Software Architect | matthew@zend.com
Zend Framework | http://framework.zend.com/

没有评论: