[ADD] quote, text justification, list indent/outdent

todo: really need contextual conditions on buttons

bzr revid: xmo@openerp.com-20130730094320-n352j55bo7bs3ubj
This commit is contained in:
Xavier Morel
2013-07-30 11:43:20 +02:00
parent 8370ba6adc
commit 2a0dc6af7a
+10 -1
View File
@@ -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