tinymce-rails icon indicating copy to clipboard operation
tinymce-rails copied to clipboard

Does not work with Propshaft / cssbundling-rails,?

Open anko20094 opened this issue 1 year ago • 4 comments

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

anko20094 avatar Jun 17 '23 19:06 anko20094

You have public example to share?

Faq avatar Jun 18 '23 14:06 Faq

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

anko20094 avatar Jun 18 '23 14:06 anko20094

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

anko20094 avatar Jun 19 '23 06:06 anko20094

Propshaft has been added in #315. If you are able to test it out and share your experience, that would be great.

spohlenz avatar Jul 10 '24 07:07 spohlenz