插入网络图片的回调事件

const E = window.wangEditor
const editor = new E('#div1')

// 插入网络图片的回调
editor.config.linkImgCallback = function (src) {
    console.log('图片 src ', src)
}

editor.create()
Copyright © wangEditor (2020 - present) all right reserved,powered by GitbookFile Modify: 2020-12-02 02:40:20

results matching ""

    No results matching ""