ckeditor5 icon indicating copy to clipboard operation
ckeditor5 copied to clipboard

Unable to implement ckeditor5 premium feature in aurelia based application

Open brijendraAON opened this issue 1 year ago • 2 comments

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

brijendraAON avatar Aug 07 '24 13:08 brijendraAON

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).

Witoso avatar Aug 07 '24 14:08 Witoso

I able to implement ckeditor5 without premium feature but after installation of premium feature it is showing above error.

brijendraAON avatar Aug 08 '24 04:08 brijendraAON

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.

CKEditorBot avatar Sep 19 '25 23:09 CKEditorBot

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).

CKEditorBot avatar Oct 20 '25 23:10 CKEditorBot