$dataContainer =
[line 377]
can be used to stick in any data.
maybe you don't see a reason for it, but i do.
Tags:
$dataType = 'whtml'
[line 132]
the data type of the data that gets edited.
one of: whtml (wysiwyg html, default) html (only html edit is possible, no wysiwyg) xhtml xml text screentype
Tags:
$editareaOnPaste = 5
[line 163]
what should be done on a paste operation, what kind of pasts are accepted?
a user can really fuck up html code by pasting parts of websites, word documents and the like. if your users are not familiar with html, you should not leave the default.
pasting can be done in different ways, not only with the
- paste button, but also
- ctrl-v
- shift-insert
- right mouse, paste (contect menu
the options:
- = no pasting allowed, just ignore it silently.
- = no pasting allowed, alert such a message on paste.
- = allow paste of plain text, remove tags silently.
- = allow paste of plain text, remove tags, alert such a message.
- = if tags are pasted, ask the user if he wants to keep them or have them removed.
- = just paste what's pasted, don't do anything, allow everything.
or alternatively, you can set a function to this var which will then be called, and you can handle it yourself. return a text to paste, or return bool false to paste nothing. alert the user yourself if you want.
Tags:
$formFieldName =
[line 203]
if the style is set to 'inline' or 'floating' (not 'toolbar') then you can use a (hidden) form field which will be updated with the editors content (whenever the editor loses the focus). if you want that feature, specify a field name here. otherwise just leave it unset.
Tags:
$inHtmlMode = false
[line 185]
if style is not set to 'toolbar' then our editor area is used for both, wysiwyg and html editing. if we're in html mode, we need to do some things differently, so we need to know.
you as a coder don't need to do anything with it.
Tags:
$outrendered = false
[line 308]
tells if we're already rendered to the browser.
Tags:
$registerCustom1Caption = 'Custom 1'
[line 278]
caption for the register "custom 1", if used.
Tags:
$registerCustom1Content = array()
[line 270]
content for the register "custom 1", if used.
Tags:
$specialCharsSelectorUrl = '/_bsJavascript/components/wysiwyg/specialCharsSelector.html'
[line 322]
set this to bool false if you don't want to use the special-char selector.
Tags:
$style = 'inline'
[line 175]
how the wysiwyg editor should be displayed.
'inline' => as fixed field, non-moveable. (default) 'floating' => as box, moveable 'toolbar' => toolbar only, the editable part is directly in the page. toolbar is moveable.
Tags:
$tabWysiwygGroup = 2
[line 358]
$tabWysiwygGroup = 2
[line 357]
$tabWysiwygGroup = 2
[line 355]
$tabWysiwygGroup = 2
[line 354]
$tabWysiwygGroup = 2
[line 359]
$tabWysiwygGroup = 2
[line 356]
$tabWysiwygGroup = 2
[line 362]
$tabWysiwygGroup = 2
[line 366]
$tabWysiwygGroup = 2
[line 367]
$tabWysiwygGroup = 2
[line 364]
$tabWysiwygGroup = 2
[line 363]
$tabWysiwygGroup = 2
[line 361]
$tabWysiwygGroup = array()
[line 353]
if the wysiwyg tab is used then this defines what buttons are used and how.
Tags:
$tabWysiwygGroup = 2
[line 360]
$tabWysiwygGroup = 2
[line 365]
$toolbarDoc =
[line 286]
a reference to the toolbar document. gets set after the toolbar got loaded.
Tags:
$toolbarElm =
[line 294]
a reference to the toolbar element. gets set after the toolbar got loaded.
Tags:
$toolbarShowButtonClose = true
[line 399]
show the close button in the toolbar?
Tags:
$toolbarShowButtonSave = false
[line 392]
show the save button in the toolbar?
Tags:
$toolbarShowButtonUndo = false
[line 385]
show the undo button in the toolbar?
Tags:
$useRegisterCustom1 = false
[line 213]
all the useRegister* vars can be set to bool false, bool true or string 'auto'.
auto means show it or not based on the dataType.
Tags:
$useRegisterEasy = 'auto'
[line 229]
all the useRegister* vars can be set to bool false, bool true or string 'auto'.
auto means show it or not based on the dataType.
Tags:
$useRegisterEditlive = false
[line 245]
if the editlive tab should be used or not. only makes sense if it's installed.
note: in bs4.3 this has been renamed from useEditlive to useRegisterEditlive.
Tags:
$useRegisterHtml = 'auto'
[line 253]
all the useRegister* vars can be set to bool false, bool true or string 'auto'.
auto means show it or not based on the dataType.
Tags:
$useRegisterPlus = 'auto'
[line 237]
all the useRegister* vars can be set to bool false, bool true or string 'auto'.
auto means show it or not based on the dataType.
Tags:
$useRegisterScreentype = 'auto'
[line 261]
all the useRegister* vars can be set to bool false, bool true or string 'auto'.
auto means show it or not based on the dataType.
Tags:
$useRegisterText = 'auto'
[line 221]
all the useRegister* vars can be set to bool false, bool true or string 'auto'.
auto means show it or not based on the dataType.
Tags:
$useTabWysiwyg =
[line 344]
if not set then auto-behavior will be used.
Tags:
$wysiwygElm =
[line 301]
a reference to the wysiwyg element (div). gets set after the toolbar got loaded.
Tags:
$_objectName = objectName
[line 1064]