diff options
author | Mihai Varga <mihai.varga@collabora.com> | 2015-09-15 11:52:55 +0300 |
---|---|---|
committer | Mihai Varga <mihai.varga@collabora.com> | 2015-09-15 11:52:55 +0300 |
commit | bc72dcc32959e856a6e5eff6d318a9294b5a29a9 (patch) | |
tree | f76cba3d9905e16b7563d2bdb77f66d0afa19d94 /loleaflet/README | |
parent | fc96bad0dec84ae0c4b45e8f5573bcaccf4cf7e1 (diff) |
loleaflet: renamed unoCmd to commandName
Diffstat (limited to 'loleaflet/README')
-rw-r--r-- | loleaflet/README | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/loleaflet/README b/loleaflet/README index 7fb7291e8..dade690f4 100644 --- a/loleaflet/README +++ b/loleaflet/README @@ -81,12 +81,12 @@ Edit, view, readOnly: Buttons like Bold, Italic, Strike through etc. - API: - map.toggleCommandState('Bold' | 'Italic' | 'Underline' | 'Strikeout' | + map.toggleCommandState('.uno:' + 'Bold' | 'Italic' | 'Underline' | 'Strikeout' | 'LeftPara' | 'CenterPara' | 'RightPara' | 'JustifyPara' | 'IncrementIndent' | 'DecrementIndent' - events: map.on('commandstatechanged', function (e) {}) where: - + e.unoCmd == 'Bold' | 'Italic' etc. + + e.commandName == '.uno:' + 'Bold' | 'Italic' | 'StyleApply' | 'CharFontName' | 'FontHeight' etc. + e.state = 'true' | 'false' + e.state = fontName | fontSize | styleName |