Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uncaught TypeError: tinymce.create is not a function #91

Open
tahira-ztabs opened this issue May 30, 2023 · 2 comments
Open

Uncaught TypeError: tinymce.create is not a function #91

tahira-ztabs opened this issue May 30, 2023 · 2 comments

Comments

@tahira-ztabs
Copy link

I got this error "Uncaught TypeError: tinymce.create is not a function" in plugin.min.js.

Code Snippet:
tinymce.init({ selector: '#task-comment.tinymce-editor', toolbar_mode: 'floating', height: 300, toolbar: 'undo redo | fontfamily fontsize | bold italic backcolor forecolor | styles | bullist numlist outdent indent | removeformat | alignment | link | autolink | emoticons', toolbar_groups: { alignment: { icon: 'align-left', items: 'alignleft aligncenter alignright alignjustify' } }, branding: false, statusbar: false, promotion: false, menubar: false, plugins: 'lists link autolink emoticons mention', setup: function(editor) { editor.on('change', function() { tinymce.triggerSave(); }); }, mentions: { source: [ { name: 'Tyra Porcelli' }, { name: 'Brigid Reddish' }, { name: 'Ashely Buckler' }, { name: 'Teddy Whelan' } ] }, });
Environment Details:
Browser: Chrome - Version 113.0.5672.126
TinyMCE version: "^6.4.2"

Additional Information:
The issue persists even when trying the same code in the "tinymce-mention" library's runkit environment, which can be accessed using the following URL: https://npm.runkit.com/tinymce-mention

Any help is appreciated.

@saosangmo
Copy link

I get the same error with tinymce6.

@CollapsedMetal
Copy link

Fixed the project to work with tinymce 6.x
Checkout my PR #96

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

No branches or pull requests

3 participants