var editor = ace.edit("editorID");
var customPosition = {
row: 0,
column: 0
};
var text = "This text has been dinamically inserted";
editor.session.insert(customPosition , text);
如果它专门发生在inacho/bootstrap-markdown-editor,那么解决方案:
var editor = ace.edit($('#editorID').parent().find('.md-editor')[0]);
editor.setValue("Text", 1);
如果有人有这个问题,这里是解决方案:
如果它专门发生在
inacho/bootstrap-markdown-editor
,那么解决方案: