quill icon indicating copy to clipboard operation
quill copied to clipboard

Quill inside shadow dom ignores passed options

Open HaloElite opened this issue 1 year ago • 1 comments

  • Using Vue 3 custom element (shadow dom)
  • Quill 1.3.7

Adding options to Quill inside a shadow dom is not working. The editor is being displayed and works in default mode. But keybindings are being ignored. Tho they are listed under quillEditor.keyboard.bindings .

Custom binding is shown: image

    var options = {
        theme: 'snow',
        modules: {
            history: {
                delay: 500,
                userOnly: true
            },
            clipboard: {
                matchers: [['BR', lineBreakMatcher]]
            },
            keyboard: {
                bindings: bindings
            }
        }
    };
    quillEditor = new Quill(editor.value, options);

HaloElite avatar Mar 01 '24 10:03 HaloElite

Please try v2.0.0-rc.4 Please share a reproducible example.

benbro avatar Mar 26 '24 00:03 benbro