spohlenz / tinymce-rails

Integration of TinyMCE with the Rails asset pipeline
Other
813 stars 256 forks source link

Does not work with Propshaft / cssbundling-rails,? #303

Open anko20094 opened 1 year ago

anko20094 commented 1 year ago

On my project there are such technologies: rails 7, propshaft, cssbundling-rails, jsbundling-rails etc...

And using this instruction from this gem on my project - tinymce can't intialize Error in browser console: new:5 Uncaught ReferenceError: TinyMCERails is not defined It's for app/views/admin/posts/_form.html.slim -> = tinymce

Faq commented 1 year ago

You have public example to share?

anko20094 commented 1 year ago

@Faq unfortunately, I don't. I can add you to collaborators(already)

anko20094 commented 1 year ago

Probably I understood. As I can see it won't work with propshaft(as almost each gem what almost not supported for JS). But through yarn it will works