new ComposerStyleToolbar(composer)
The style toolbar for composer.
Parameters:
Name | Type | Description |
---|---|---|
composer |
Kekule.Editor.Composer | Parent composer. |
Properties:
Name | Type | Description |
---|---|---|
composer |
Kekule.Editor.Composer | Parent composer. |
fontName |
String | Font name setted in toolbar. |
fontSize |
Number | Font size setted in toolbar, in px. |
textAlign |
Int | Text align setted in toolbar. |
components |
Array | Array of component names that shows in tool bar. |
Extends
- Kekule.Widget.Toolbar
Methods
-
updateState()
-
Update toolbar and child widget outlook and other settings according to editor's state.