ember-cli-tinymce icon indicating copy to clipboard operation
ember-cli-tinymce copied to clipboard

Feature Request: load tinymce from assets..

Open bluscreen opened this issue 7 years ago • 9 comments

Hi marucjmar

I would very much prefer to load the tinymce locally instead of cdn.tinymce.com Do you think you can integrate this feature?

Cheers Daniel

bluscreen avatar Feb 08 '18 21:02 bluscreen

Hi @bluscreen

Good idea 👍
Tomorrow I'll take care of it

marucjmar avatar Feb 09 '18 12:02 marucjmar

Hi marucjmar

any progress on this? otherwise I guess I'll have to manually install tinymce via node :face_with_head_bandage:

bluscreen avatar Feb 27 '18 16:02 bluscreen

in case youre still interested, i got an approach running now using npm and ember browserify. its still quite brittle but it works..

bluscreen avatar Mar 25 '18 12:03 bluscreen

I'm working on it. You can see my progress on branch load-from-assets. In dev environment work correctly, but not when build production app.

marucjmar avatar Mar 26 '18 07:03 marucjmar

Hi thats probably due to minification and or fingerprinting. You can disable this in ember cli build config. Cheers Daniel

Marcin Lazar [email protected] schrieb am Mo., 26. März 2018, 09:32:

I'm working on it. You can see my progress on branch load-from-assets. In dev environment work correctly, but not when build production app.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/marucjmar/ember-cli-tinymce/issues/24#issuecomment-376072389, or mute the thread https://github.com/notifications/unsubscribe-auth/AFPtJZcmbnsSUxgmqtd_FOKj4hzXTkJVks5tiJmmgaJpZM4R_BF1 .

bluscreen avatar Mar 26 '18 10:03 bluscreen

++ also waiting for this

ziali088 avatar Aug 13 '18 17:08 ziali088

Hi @marucjmar,

Could you roll this out? ember-cli-tinymce is always using tinymce version 4.4 for me and that has a bug with image attachments that's affecting me and is fixed in later versions (link to issue).

Thanks for the contribution!

ziali088 avatar Aug 16 '18 17:08 ziali088

@ziali088 can you show your environment.js config? this solution does not help?

  ENV = {
  ...
   tinyMCE: {
      load: true,
      version: 4.5
    }
}

marucjmar avatar Aug 16 '18 17:08 marucjmar

Yes updating the config does fix it, but my concern was more of a now buggy version being the default :)

ziali088 avatar Aug 16 '18 20:08 ziali088