contentco / quill-emoji

Quill module toolbar extension for emoji
275 stars 165 forks source link

Invalid regular expression: /+/: Nothing to repeat #94

Closed StrongLucky closed 4 years ago

StrongLucky commented 4 years ago

I get this error:

Invalid regular expression: /+/: Nothing to repeat

the const emojiList is defined

My code:

    var qconf = {
        modules: {
            toolbar: {
                container: [
                    [{ header: [3, 4, false] }],
                    ['image','bold', 'italic', 'underline'],
                    ['emoji']
                ],
                handlers: {
                    'emoji': function () {}
                }
            },
            "emoji-toolbar":  true
        },

        placeholder: '...',
        theme: 'snow',

    };
StrongLucky commented 4 years ago

Found the problem - minify goes wrong. Sorry for the issue