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

tinymce fonts are not loading correctly

Open RedaBenh opened this issue 2 years ago • 4 comments

Hi, I get the tinymce working on my rails 7.0.4 application, but the menu icons did not show correctly : image

In my chrome console, i notice that the skin.min.css is loading fonts from /fonts/tinymce.woff (instead of /assets/fonts/tinymce.woff) image

Any suggestion of how to fix this ?

RedaBenh avatar Nov 28 '22 10:11 RedaBenh

You didnt provide even tinymce-rails version. How you got to this? migrated from older tinymce-rails version? sprockets+dart sass? Can you share your project?

But looks, your fonts not loaded in asset pipeline. Similar issue was https://github.com/spohlenz/tinymce-rails/issues/155#issuecomment-1169983058

Faq avatar Nov 28 '22 11:11 Faq

Hi, i'm currently playing with Soludis, i found this plugin https://github.com/solidusio-contrib/solidus_editor witch use tinymce-rails After running bundle install the dependencies was resolved to : tinymce-rails (4.9.11) image

Other details from gemfile: ruby "2.7.3" gem "rails", "~> 7.0.4"

Thanks

RedaBenh avatar Nov 28 '22 12:11 RedaBenh

try enter 5.0.4 here https://github.com/solidusio-contrib/solidus_editor/blob/master/solidus_editor.gemspec#L35 and bundle install or just bundle update tinymce-rails

Faq avatar Nov 28 '22 18:11 Faq

I went to the same issue, after updating to 5.0.4 on rails 5.2 I got this font issue: image

Any ideas in how to fix?

jean-felipe-corp avatar May 23 '23 20:05 jean-felipe-corp