<richtexttoolbar>

JavaScript: lz.richtexttoolbar
extends <view> » <node> » lz.Eventable »
richtexttoolbar A class that acts as the parent controller for the individual format tools [gregor 11.15.05]

Attributes

Name (CSS property) Type (tag) Type (js) Default Category
editor expression any null read/write
  The reference to the richtexteditor associated with this toolbar.

Methods

matcheditorformat()
richtexttoolbar.matcheditorformat(ignore);
Update the GUI to match the format specified in the editor's currentformat
Parameter Name Type Description
ignore    

matchformat()
richtexttoolbar.matchformat(spec : textformat);
Update the GUI to match the format passed in
Parameter Name Type Description
spec textformat TextFormat object

registerTool()
richtexttoolbar.registerTool(myref, myfmt);
add tool into the richtexttoolbar's tools array .
Parameter Name Type Description
myref    
myfmt    

reset()
richtexttoolbar.reset();
Reset the state of the richtexttoolbar's tools.

Methods inherited from lz.Eventable

destroy, setAttribute

Events

Events inherited from <node>

onconstruct, ondata, oninit

Events inherited from lz.Eventable

ondestroy