Class Horde_Editor_Ckeditor
The Horde_Editor_Ckeditor:: class provides a WYSIWYG editor for use
in the Horde Framework.
Copyright 2009-2012 Horde LLC (http://www.horde.org/)
See the enclosed file COPYING for license information (LGPL). If you
did not receive this file, see http://www.horde.org/licenses/lgpl21.
-
Horde_Editor
-
Horde_Editor_Ckeditor
Methods summary
public
|
#
initialize( array $params = array() )
Parameters
- $params
- The following configuration parameters:
<pre><span class="php-quote">'basic'</span> - (boolean) Load <span class="php-quote">"basic"</span> editor (a small javascript stub that
will download the full code on demand)?
<span class="php-quote">'config'</span> - (mixed) <span class="php-keyword1">If</span> an <span class="php-keyword1">array</span>, the javascript config <span class="php-keyword2">hash</span> used to
indiciate the config <span class="php-keyword1">for</span> this editor instance. <span class="php-keyword1">If</span> a string,
will be used directly <span class="php-keyword1">as</span> the javascript config name to <span class="php-keyword1">use</span>
when loading (must exist elsewhere in page).
<span class="php-quote">'id'</span> - (string) The ID of the text area to turn into an editor. <span class="php-keyword1">If</span>
<span class="php-keyword1">empty</span>, won<span class="php-quote">'t automatically load the editor.
'</span>no_notify<span class="php-quote">' - (boolean) Don'</span>t output JS code automatically. Code will
instead be stored <span class="php-keyword1">for</span> access via getJS().</pre>
Overrides
|
public
boolean
|
#
supportedByBrowser( )
Does the current browser support this driver.
Does the current browser support this driver.
Returns
boolean True if the browser supports the editor.
Overrides
|