| 1234567891011121314151617181920212223242526272829303132 |
- manager.registerUI('justify', function(wdeditor, name) {
- var btn = new EditorManager.RadioGroup({
- wdeditor: wdeditor,
- name: name,
- command: name,
- buttons: {
- left: {
- type: "checkbox",
- name: "left",
- text: '',
- title:'居左',
- className: 'icon-justifyLeft'
- },
- center: {
- type: "checkbox",
- name: "center",
- text: '',
- title:'居中',
- className: 'icon-justifyCenter'
- },
- right: {
- type: "checkbox",
- name: "right",
- text: '',
- title:'居右',
- className: 'icon-justifyRight'
- }
- }
-
- });
- return btn;
- });
|