Skip to content
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

plugins not working after generating build #51

Open
NikhilRadadiya opened this issue Oct 27, 2017 · 1 comment
Open

plugins not working after generating build #51

NikhilRadadiya opened this issue Oct 27, 2017 · 1 comment

Comments

@NikhilRadadiya
Copy link

NikhilRadadiya commented Oct 27, 2017

I've added config options in app.module.ts

TinymceModule.withConfig({      
      plugins: ['link', 'paste', 'table','textcolor'],
      auto_focus: false
    })

but after ng build I'm putting it under http://example.com/mysite/myproject/#/users/create
but it shows error in console and in editor textcolor not working

Failed to load plugin: textcolor from url /assets/tinymce/plugins/textcolor/plugin.js

I've textcolor folder and plugin.js inside it in my assets folder like
assets/tinymce/plugins/textcolor/plugin.js

What m I missing?

@Bl4ckPix3l
Copy link

I had the same problem. I solved it by install npm install tinymce --save and import the plugins like import 'tinymce/plugins/emoticons/plugin.js';

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants