-
Notifications
You must be signed in to change notification settings - Fork 258
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
Rails 7 with Importmaps - TinyMCERails is not defined #306
Comments
Working app with tinyMCE on Rails 7 and importmap rails_tinyMCE |
That was really helpful, that has helped scope the issue to Propshaft. I'll close this as a duplicate of #303 |
Hey @phil-6 Did you get this working with Propshaft? What solution did you find? |
@latecia94 no, sadly not. We moved to use EditorJS instead as we felt it was a better all-round solution |
Propshaft has been added in #315. If you are able to test it out and share your experience, that would be great. |
We have tried a LOT of options to try and get the tinymce-rails gem working with Rails 7 and Importmaps, almost every approach leads to
Uncaught ReferenceError: TinyMCERails is not defined
from wherever we call<%= tinymce %>
The approaches we have tried:
tinymce_assets
helper in application head etc.import "tinymce"
to our application.jsThe text was updated successfully, but these errors were encountered: