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

makeTinyMCEEditable is not defined #30

Open
oddjob23 opened this issue Aug 5, 2020 · 1 comment
Open

makeTinyMCEEditable is not defined #30

oddjob23 opened this issue Aug 5, 2020 · 1 comment

Comments

@oddjob23
Copy link

oddjob23 commented Aug 5, 2020

I am trying to add TinyMCE in Wagtail Project and it's failing so far on this error message: "makeTinyMCEEditable is not defined".

I did copy the changes required to make it compatible with Django and Wagtail > 2.0 and I have created separate directory "wagtailtinymce" which holds modified wagtail_hooks.py and rich_text.py. Also, I have there a static folder with wagtailtinymce that holds JS file tinymce-editor.js. I am trying to use it with RichTextField and here is my settings.py.

WAGTAILADMIN_RICH_TEXT_EDITORS = {
'default': {
'WIDGET': 'wagtailtinymce.rich_text.TinyMCERichTextArea'
},
}

Editor is not showing up on the page but the text field does show up. I hope this was enough information

Wagtail version: 2.9
Django: 3.0.7
Python: 3.8

@xavitorne
Copy link

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

2 participants