Fixed CKEDITOR

This commit is contained in:
Jan Böhmer 2025-08-03 20:00:36 +02:00
parent 74fef78120
commit e87720a838
5 changed files with 4 additions and 5 deletions

View file

@ -18,7 +18,7 @@
*/
import { Plugin } from 'ckeditor5';
import {MarkdownGfmDataProcessor} from '@ckeditor/ckeditor5-markdown-gfm';
import {MarkdownGfmDataProcessor} from 'ckeditor5';
const ALLOWED_TAGS = [
//Common elements
@ -34,7 +34,6 @@ const ALLOWED_TAGS = [
//Block elements
'span',
'p',
'img',

View file

@ -18,7 +18,7 @@
*/
import {Plugin} from 'ckeditor5';
import {MarkdownGfmDataProcessor} from '@ckeditor/ckeditor5-markdown-gfm';
import {MarkdownGfmDataProcessor} from 'ckeditor5';
const ALLOWED_TAGS = [
//Common elements

View file

@ -25,6 +25,7 @@ import { default as HTMLLabelEditor } from "../../ckeditor/html_label";
import {EditorWatchdog} from 'ckeditor5';
import "ckeditor5/ckeditor5.css";;
import "../../css/components/ckeditor.css";
/* stimulusFetch: 'lazy' */