diff options
| author | Xavier Morel <xmo@openerp.com> | 2013-07-30 11:43:20 +0200 |
|---|---|---|
| committer | Xavier Morel <xmo@openerp.com> | 2013-07-30 11:43:20 +0200 |
| commit | 2a0dc6af7a40b1fbb2a4ac99e69055f48add0810 (patch) | |
| tree | 66038ad23a24ca5f9151ba75825f34d3601cab32 /addons/website/static/src | |
| parent | 8370ba6adce278d1c8caa755f772673820f02db9 (diff) | |
[ADD] quote, text justification, list indent/outdent
todo: really need contextual conditions on buttons
bzr revid: xmo@openerp.com-20130730094320-n352j55bo7bs3ubj
Diffstat (limited to 'addons/website/static/src')
| -rw-r--r-- | addons/website/static/src/js/website.js | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/addons/website/static/src/js/website.js b/addons/website/static/src/js/website.js index 02ea41d0fa5..de484a6ea31 100644 --- a/addons/website/static/src/js/website.js +++ b/addons/website/static/src/js/website.js @@ -215,9 +215,12 @@ instance.website.RTE = instance.web.Widget.extend({ [Command, "\uf12c", 'subscript'], [Command, "\uf0c1", 'link'], [Command, "\uf127", 'unlink'], + [Command, "\uf10d", 'blockquote'], [Group, "\uf0ca", [ [Command, "\uf0ca", 'bulletedlist'], - [Command, "\uf0cb", 'numberedlist'] + [Command, "\uf0cb", 'numberedlist'], + [Command, "\uf03b", 'outdent'], + [Command, "\uf03c", 'indent'] ]], [Group, _lt("Heading"), [ [Style, _lt('H1'), { element: 'h1' }], @@ -226,6 +229,12 @@ instance.website.RTE = instance.web.Widget.extend({ [Style, _lt('H4'), { element: 'h4', }], [Style, _lt('H5'), { element: 'h5', }], [Style, _lt('H6'), { element: 'h6', }] + ]], + [Group, "\uf039", [ + [Command, "\uf039", 'justifyblock'], + [Command, "\uf036", 'justifyleft'], + [Command, "\uf038", 'justifyright'], + [Command, "\uf037", 'justifycenter'] ]] ], // editor.ui.items -> possible commands &al |
