I want to customize the function of the toolbar, but how do I get the objects of the current editor in handlers?
export default {
data () {
return {
content: "",
editorOption: {
modules: {
toolbar: {
container: [
["link", "image", "video"]
],
handlers: {
image: function () {
//
const range = this.getSelection();
};
}
}
}
}
}
}
}
}