Issue #3095Opened October 26, 2020by marcepoblet1 reactions

BUG: RichTextEditor is not oppening in IE11.

Question

When in the Canvas, I double click on some text to open the RichTextEditor in IE11, it throws me an error and does not open. In all other browsers it works. Attached a vide in the pptx and the code:

Code SnippetTEXT
[Presentation2.pptx](https://github.com/artf/grapesjs/files/5438803/Presentation2.pptx)

        richTextEditor.add('insertHtml', {
            icon: '<select class="placeholders-select">' +
                    options()
                + '</select>',
                // Bind the 'result' on 'change' listener
            event: 'change',
            result: (rte, action) => rte.exec('insertHtml', action.btn.firstChild.value),
            update: (rte, action) => {
                const value = rte.doc.queryCommandValue(action.name)
                if (value != 'false') { // value is a string
                    action.btn.firstChild.value = value
                }
            },
        })

Answers (2)

fq-selbachNovember 9, 20201 reactions

I'm surprised that you could even open it in IE11 since there is so much ES6 code and heavy template usage that isn't supported at all by IE11. I'd suggest to get rid of IE11 or at least build your templates/pages/widgets in a modern browser. If you are lucky you will at least be able use them in IE11 after export.

devuniverseDecember 2, 20200 reactions

IE ... #shivers

Related Questions and Answers

Continue research with similar issue discussions.

Paid Plugins That Match This Issue

Curated by issue keywords and label relevance to help you ship faster.

View all plugins

Loading paid plugin recommendations...

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.