fix inline editor demo
This commit is contained in:
parent
264923e4df
commit
b57f2e2ae3
1 changed files with 3 additions and 3 deletions
|
|
@ -53,16 +53,16 @@ require("ace/commands/default_commands").commands.push({
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
var rowCount = 10;
|
var rowCount = 10;
|
||||||
var w = {
|
var w = {
|
||||||
row: row,
|
row: row,
|
||||||
// rowCount: rowCount,
|
// rowCount: rowCount,
|
||||||
fixedWidth: true,
|
fixedWidth: true,
|
||||||
el: dom.createElement("div"),
|
el: dom.createElement("div"),
|
||||||
editor: editor
|
editor: inlineEditor
|
||||||
};
|
};
|
||||||
var el = w.el;
|
var el = w.el;
|
||||||
el.appendChild(inlineEditor.container);
|
el.appendChild(inlineEditor.container);
|
||||||
|
|
||||||
if (!editor.session.widgetManager) {
|
if (!editor.session.widgetManager) {
|
||||||
editor.session.widgetManager = new LineWidgets(editor.session);
|
editor.session.widgetManager = new LineWidgets(editor.session);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue