Skip to content

layer.open方式加载kindeditor无法编辑的问题 #2

Description

@super-bo

如存在上述问题,请将初始化方法放到layer.open的success回调方法中执行,代码如下:
layer.open({
type: 1,
content: $('#add-news'),
success: function(layero, index){
//先销毁再初始化
KindEditor.ready(function(K) {
K.remove('#descripe3')
})
initEditor3({el: "#descripe3"});
}
});

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions