Unable to implement ckeditor5 premium feature in aurelia based application
Reproduction steps
installed npm install ckeditor5 and npm install ckeditor5-premium-features
Addded
Imported import { ClassicEditor, AccessibilityHelp, Autosave, Bold, CloudServices, Essentials, Italic, Paragraph, SelectAll, Undo } from 'ckeditor5'; import { ImportWord } from 'ckeditor5-premium-features';
import 'ckeditor5/ckeditor5.css'; import 'ckeditor5-premium-features/ckeditor5-premium-features.css';
toolbar: { items: ['undo', 'redo', '|', 'importWord', 'selectAll', '|', 'bold', 'italic', '|', 'accessibilityHelp'], shouldNotGroupWhenFull: false }, plugins: [AccessibilityHelp, Autosave, Bold, CloudServices, Essentials, ImportWord, Italic, Paragraph, SelectAll, Undo] };
ClassicEditor.create(document.querySelector('#editor'), editorConfig);
Current behavior
Failed to load resource: the server responded with a status of 404 (Not Found) src/aurelia-bootstrapper.js
Refused to execute script from src/aurelia-bootstrapper.js because its MIME type ('') is not executable, and strict MIME type checking is enabled.
Uncaught Error: Script error for "aurelia-bootstrapper" https://requirejs.org/docs/errors.html#scripterror at makeError (require.js:168:1) at HTMLScriptElement.onScriptError (require.js:1738:1)
Expected behavior
Should show ckeditor5 on page
Definition of Done
- Please leave this field for us. We will fill it during the backlog refinement session.
Relevant debug data
Uncaught Error: Script error for "aurelia-bootstrapper"
https://requirejs.org/docs/errors.html#scripterror
at makeError (require.js:168:1)
at HTMLScriptElement.onScriptError (require.js:1738:1)
Other details
Uncaught Error: Script error for "aurelia-bootstrapper" https://requirejs.org/docs/errors.html#scripterror at makeError (require.js:168:1) at HTMLScriptElement.onScriptError (require.js:1738:1)
User agent
chrome
This error message is not related to CKEditor but to the Aurelia itself
Failed to load resource: the server responded with a status of 404 (Not Found) src/aurelia-bootstrapper.js
Refused to execute script from src/aurelia-bootstrapper.js because its MIME type ('') is not executable, and strict MIME type checking is enabled.
Looks like your asset is not available (404).
I able to implement ckeditor5 without premium feature but after installation of premium feature it is showing above error.
There has been no activity on this issue for the past year. We've marked it as stale and will close it in 30 days. We understand it may still be relevant, so if you're interested in the solution, leave a comment or reaction under this issue.
We've closed your issue due to inactivity. We understand that the issue may still be relevant. If so, feel free to open a new one (and link this issue to it).