forked from fanruan/fineui
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
518 B
21 lines
518 B
Demo.RichEditor = BI.inherit(BI.Widget, { |
|
props: { |
|
baseCls: "demo-rich-editor" |
|
}, |
|
render: function () { |
|
var editor = BI.createWidget({ |
|
type: "bi.rich_editor", |
|
cls: "mvc-border", |
|
width: 600, |
|
height: 400 |
|
}); |
|
BI.createWidget({ |
|
type: "bi.vertical", |
|
element: this, |
|
hgap: 30, |
|
vgap: 20, |
|
items: [editor] |
|
}) |
|
} |
|
}); |
|
BI.shortcut("demo.rich_editor", Demo.RichEditor); |