Closed MichaelFromin closed 7 years ago
I know that I can add ui-tinymce to a project via a script tag:
<script type="text/javascript" src="app/bower_components/angular-ui-tinymce/src/tinymce.js"></script>
...does this directive allow me to use ES2015 style imports instead? Something like:
import 'angular-ui/dist/tinymce';
I don't see anything in the readme on this approach so just curious if its possible.
Hi, - short answer yes!
import angularTinyMce from 'angular-ui-tinymce';
Thanks for the upstream work :D
I know that I can add ui-tinymce to a project via a script tag:
<script type="text/javascript" src="app/bower_components/angular-ui-tinymce/src/tinymce.js"></script>
...does this directive allow me to use ES2015 style imports instead? Something like:
import 'angular-ui/dist/tinymce';
I don't see anything in the readme on this approach so just curious if its possible.