Skip to content
This repository has been archived by the owner on Jul 27, 2023. It is now read-only.

[BUG] Uncaught TypeError: rawToolbar.replace is not a function #49

Open
gpashis opened this issue Jun 6, 2019 · 1 comment
Open

[BUG] Uncaught TypeError: rawToolbar.replace is not a function #49

gpashis opened this issue Jun 6, 2019 · 1 comment

Comments

@gpashis
Copy link

gpashis commented Jun 6, 2019

I am getting an issue "Uncaught TypeError: rawToolbar.replace is not a function" from theme.js (Version: 5.0.7). This is only reproducible when we load on mobile environment. Desktop environment works fine.

Uncaught TypeError: rawToolbar.replace is not a function
at extract$1 (theme.js:10428)
at identify (theme.js:10438)
at Object.detect$4 [as detect] (theme.js:10536)
at Editor. (theme.js:14296)
at EventDispatcher.fire (tinymce.js:25608)
at Editor.fire (tinymce.js:25714)
at initEditor (tinymce.js:23786)
at tinymce.js:23900
at tinymce.js:4479
at tinymce.js:4136

@PeterRock
Copy link

    mobile: {
        theme: 'mobile',
        toolbar: ['bold', 'italic'],
    },

Add config can fix it temporary

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants