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 { Plugin } from 'ckeditor5';
import {MarkdownGfmDataProcessor} from '@ckeditor/ckeditor5-markdown-gfm'; import {MarkdownGfmDataProcessor} from 'ckeditor5';
const ALLOWED_TAGS = [ const ALLOWED_TAGS = [
//Common elements //Common elements
@ -34,7 +34,6 @@ const ALLOWED_TAGS = [
//Block elements //Block elements
'span', 'span',
'p',
'img', 'img',

View file

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

View file

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

View file

@ -35,7 +35,6 @@
"@algolia/autocomplete-theme-classic": "^1.17.0", "@algolia/autocomplete-theme-classic": "^1.17.0",
"@ckeditor/ckeditor5-dev-translations": "^43.0.1", "@ckeditor/ckeditor5-dev-translations": "^43.0.1",
"@ckeditor/ckeditor5-dev-utils": "^43.0.1", "@ckeditor/ckeditor5-dev-utils": "^43.0.1",
"@ckeditor/ckeditor5-markdown-gfm": "^46.0.0",
"@jbtronics/bs-treeview": "^1.0.1", "@jbtronics/bs-treeview": "^1.0.1",
"@part-db/html5-qrcode": "^3.1.0", "@part-db/html5-qrcode": "^3.1.0",
"@zxcvbn-ts/core": "^3.0.2", "@zxcvbn-ts/core": "^3.0.2",

View file

@ -1341,7 +1341,7 @@
"@ckeditor/ckeditor5-utils" "46.0.0" "@ckeditor/ckeditor5-utils" "46.0.0"
ckeditor5 "46.0.0" ckeditor5 "46.0.0"
"@ckeditor/ckeditor5-markdown-gfm@46.0.0", "@ckeditor/ckeditor5-markdown-gfm@^46.0.0": "@ckeditor/ckeditor5-markdown-gfm@46.0.0":
version "46.0.0" version "46.0.0"
resolved "https://registry.yarnpkg.com/@ckeditor/ckeditor5-markdown-gfm/-/ckeditor5-markdown-gfm-46.0.0.tgz#8374793da3aedbd3ec42bd85793dc4d6f53ca4df" resolved "https://registry.yarnpkg.com/@ckeditor/ckeditor5-markdown-gfm/-/ckeditor5-markdown-gfm-46.0.0.tgz#8374793da3aedbd3ec42bd85793dc4d6f53ca4df"
integrity sha512-uDHTS+VrmUY/bZWDQv/9nOOSMnfLOymAmvQ/oTNPlIZQXxprDU1cH221TxOZpvE0u1SHC3Spomt38Ea6yqzGZw== integrity sha512-uDHTS+VrmUY/bZWDQv/9nOOSMnfLOymAmvQ/oTNPlIZQXxprDU1cH221TxOZpvE0u1SHC3Spomt38Ea6yqzGZw==