UNA
Loading...
Searching...
No Matches
BxBaseEditorQuill Class Reference
Inheritance diagram for BxBaseEditorQuill:
BxDolEditor BxDolFactory iBxDolFactoryObject BxTemplEditorQuill

Public Member Functions

 __construct ($aObject, $oTemplate)
 
 attachEditor ($sSelector, $iViewMode=BX_EDITOR_STANDARD, $bDynamicMode=false, $aAttrs=[])
 
- Public Member Functions inherited from BxDolEditor
 getObjectName ()
 
 setCustomConf ($s)
 
 setCustomPlugins ($sPlugins)
 
 setCustomToolbarButtons ($sButtons)
 
 getWidth ($iViewMode)
 
 getSkins ($bFullInfo=false)
 
 setSkin ($sSkin)
 
 attachEditor ($sSelector, $iViewMode, $bDynamicMode=false)
 

Protected Member Functions

 _addJsCss ($bDynamicMode=false, $sInitEditor='')
 
 _getJsCss ($bUseUrlsForJs=false)
 
- Protected Member Functions inherited from BxDolEditor
 __construct ($aObject)
 
 _addJsCss ($bDynamicMode=false)
 
 _replaceMarkers ($s, $a)
 

Protected Attributes

 $_oTemplate
 
 $_bJsCssAdded = false
 
- Protected Attributes inherited from BxDolEditor
 $_sObject
 
 $_aObject
 
 $_sConfCustom = ''
 
 $_sButtonsCustom = false
 
 $_sPluginsCustom = false
 
 $_sSkin
 
 $_aSkins
 

Static Protected Attributes

static $CONF_COMMON
 
static $CONF_STANDARD = ""
 
static $CONF_MINI = ""
 
static $CONF_FULL = ""
 

Additional Inherited Members

- Static Public Member Functions inherited from BxDolEditor
static getObjectInstance ($sObject=false, $oTemplate=false)
 
- Static Public Member Functions inherited from iBxDolFactoryObject
static getObjectInstance ($sObject)
 

Detailed Description

Quill editor representation.

See also
BxDolEditor

Member Function Documentation

◆ _addJsCss()

BxBaseEditorQuill::_addJsCss ( $bDynamicMode = false,
$sInitEditor = '' )
protected

Add css/js files which are needed for editor display and functionality.

◆ attachEditor()

BxBaseEditorQuill::attachEditor ( $sSelector,
$iViewMode = BX_EDITOR_STANDARD,
$bDynamicMode = false,
$aAttrs = [] )

Attach editor to HTML element, in most cases - textarea.

Parameters
$sSelector- jQuery selector to attach editor to.
$iViewMode- editor view mode: BX_EDITOR_STANDARD, BX_EDITOR_MINI, BX_EDITOR_FULL
$bDynamicMode- is AJAX mode or not, the HTML with editor area is loaded dynamically.

Member Data Documentation

◆ $CONF_COMMON

BxBaseEditorQuill::$CONF_COMMON
staticprotected
Initial value:
= "
var oParams = {
skin: '{bx_var_skin}',
name: '{bx_var_editor_name}',
selector: '{bx_var_selector}',
css_class: '{bx_var_css_additional_class}',
toolbar: {toolbar},
root_url: '{bx_url_root}',
query_params: {bx_var_query_params},
insert_as_plain_text: {insert_as_plain_text},
empty_tags: {empty_tags},
allowed_tags: {allowed_tags}
}
{bx_var_editor_name} = bx_editor_init({bx_var_editor_name}, oParams);"

Common initialization params

◆ $CONF_FULL

BxBaseEditorQuill::$CONF_FULL = ""
staticprotected

Full view initialization params

◆ $CONF_MINI

BxBaseEditorQuill::$CONF_MINI = ""
staticprotected

Minimal view initialization params

◆ $CONF_STANDARD

BxBaseEditorQuill::$CONF_STANDARD = ""
staticprotected

Standard view initialization params


The documentation for this class was generated from the following file: