diff -r 5e7a0fedabdf -r 877f952ae2bd web/lib/Zend/Dojo/View/Helper/Editor.php --- a/web/lib/Zend/Dojo/View/Helper/Editor.php Thu Mar 21 17:31:31 2013 +0100 +++ b/web/lib/Zend/Dojo/View/Helper/Editor.php Thu Mar 21 19:50:53 2013 +0100 @@ -15,9 +15,9 @@ * @category Zend * @package Zend_Dojo * @subpackage View - * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com) + * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) * @license http://framework.zend.com/license/new-bsd New BSD License - * @version $Id: Editor.php 20116 2010-01-07 14:18:34Z matthew $ + * @version $Id: Editor.php 24593 2012-01-05 20:35:02Z matthew $ */ /** Zend_Dojo_View_Helper_Dijit */ @@ -32,7 +32,7 @@ * @uses Zend_Dojo_View_Helper_Textarea * @package Zend_Dojo * @subpackage View - * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com) + * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) * @license http://framework.zend.com/license/new-bsd New BSD License */ class Zend_Dojo_View_Helper_Editor extends Zend_Dojo_View_Helper_Dijit @@ -57,14 +57,21 @@ 'fontSize' => 'FontChoice', 'formatBlock' => 'FontChoice', 'foreColor' => 'TextColor', - 'hiliteColor' => 'TextColor' + 'hiliteColor' => 'TextColor', + 'enterKeyHandling' => 'EnterKeyHandling', + 'fullScreen' => 'FullScreen', + 'newPage' => 'NewPage', + 'print' => 'Print', + 'tabIndent' => 'TabIndent', + 'toggleDir' => 'ToggleDir', + 'viewSource' => 'ViewSource' ); /** * JSON-encoded parameters * @var array */ - protected $_jsonParams = array('captureEvents', 'events', 'plugins'); + protected $_jsonParams = array('captureEvents', 'events', 'plugins', 'extraPlugins'); /** * dijit.Editor @@ -83,8 +90,8 @@ } } - // Previous versions allowed specifying "degrade" to allow using a - // textarea instead of a div -- but this is insecure. Removing the + // Previous versions allowed specifying "degrade" to allow using a + // textarea instead of a div -- but this is insecure. Removing the // parameter if set to prevent its injection in the dijit. if (isset($params['degrade'])) { unset($params['degrade']); @@ -114,17 +121,18 @@ $attribs = $this->_prepareDijit($attribs, $params, 'textarea'); - $html = '_htmlAttribs($hiddenAttribs) . $this->getClosingBracket(); - $html .= '