How does the vue-quill-editor custom toolbar method get the current editor object?

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();
                                    };
                                }
                            }
                        }
                    }
                }
            }
        }
    }
Mar.18,2021

add ref, to vue-quill-editor to quote through ref


method is wrong, and then other implementation ideas are adopted

Menu