|
|
|
@ -64,6 +64,18 @@
|
|
|
|
|
return content; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
var selectLast = function (instance) { |
|
|
|
|
if (instance == null) { |
|
|
|
|
return; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
var target = instance.selElm() |
|
|
|
|
|
|
|
|
|
if (target) { |
|
|
|
|
instance.selected({target}); |
|
|
|
|
} |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
var dimensionIds = getDimensionIds(params); |
|
|
|
|
|
|
|
|
|
if (initParams) { |
|
|
|
@ -110,6 +122,8 @@
|
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
selectLast(rich_editor.editor.instance); |
|
|
|
|
|
|
|
|
|
Pool.refresh = function () { |
|
|
|
|
var content = Pool.data.getContent(); |
|
|
|
|
var isAuto = Pool.data.isAuto(); |
|
|
|
@ -130,6 +144,8 @@
|
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
rich_editor.setFocus(); |
|
|
|
|
|
|
|
|
|
selectLast(rich_editor.editor.instance); |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
Pool.addField = function () { |
|
|
|
|