I'm want use tinyMCE
editor in my project, I followed by this docs
this is official documentation of integrating tinyMCE
in Angular 2
, but this approach is not good for me, because ng build --prod
command generated scripts.js
file in root folder. When user visit my site, that file would be delivered to the user while that user would never use tinyMCE
s editor.
How can load
.js
files ofTinyMCE
in certain component?
They somehow add script tag in their code... But I want to use different approach.
~ apologies for grammatical mistakes :-|