The plugin is working well when executed using npm run dev.
Now, I have to use the plugin in my web app.
My web app is a simple one, not using node nor NPM as a packaging tool. It's a simple html and js files.
So, I imported CKEditor using CDN (UMD build) and now I need to use my plugin build as well.
What are the steps to be able to use my plugin inside my web app?
When I run npm build in my plugin, it generates a .js file which is ~1MB, probably because it contains CKEditor the dependencies. Do I have to put this .js file inside a script tag in my html file?
Hello,
I wrote a plugin based on this step by step tutorial: https://ckeditor.com/docs/ckeditor5/latest/framework/tutorials/widgets/implementing-an-inline-widget.html
The plugin is working well when executed using npm run dev.
Now, I have to use the plugin in my web app. My web app is a simple one, not using node nor NPM as a packaging tool. It's a simple html and js files.
So, I imported CKEditor using CDN (UMD build) and now I need to use my plugin build as well.
What are the steps to be able to use my plugin inside my web app? When I run npm build in my plugin, it generates a .js file which is ~1MB, probably because it contains CKEditor the dependencies. Do I have to put this .js file inside a script tag in my html file?
Thank you.