Skip to content

Commit e87720a

Browse files
committed
Fixed CKEDITOR
1 parent 74fef78 commit e87720a

File tree

5 files changed

+4
-5
lines changed

5 files changed

+4
-5
lines changed

assets/ckeditor/plugins/extendedMarkdown.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
*/
1919

2020
import { Plugin } from 'ckeditor5';
21-
import {MarkdownGfmDataProcessor} from '@ckeditor/ckeditor5-markdown-gfm';
21+
import {MarkdownGfmDataProcessor} from 'ckeditor5';
2222

2323
const ALLOWED_TAGS = [
2424
//Common elements
@@ -34,7 +34,6 @@ const ALLOWED_TAGS = [
3434

3535
//Block elements
3636
'span',
37-
'p',
3837
'img',
3938

4039

assets/ckeditor/plugins/extendedMarkdownInline.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
*/
1919

2020
import {Plugin} from 'ckeditor5';
21-
import {MarkdownGfmDataProcessor} from '@ckeditor/ckeditor5-markdown-gfm';
21+
import {MarkdownGfmDataProcessor} from 'ckeditor5';
2222

2323
const ALLOWED_TAGS = [
2424
//Common elements

assets/controllers/elements/ckeditor_controller.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ import { default as HTMLLabelEditor } from "../../ckeditor/html_label";
2525

2626
import {EditorWatchdog} from 'ckeditor5';
2727

28+
import "ckeditor5/ckeditor5.css";;
2829
import "../../css/components/ckeditor.css";
2930

3031
/* stimulusFetch: 'lazy' */

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@
3535
"@algolia/autocomplete-theme-classic": "^1.17.0",
3636
"@ckeditor/ckeditor5-dev-translations": "^43.0.1",
3737
"@ckeditor/ckeditor5-dev-utils": "^43.0.1",
38-
"@ckeditor/ckeditor5-markdown-gfm": "^46.0.0",
3938
"@jbtronics/bs-treeview": "^1.0.1",
4039
"@part-db/html5-qrcode": "^3.1.0",
4140
"@zxcvbn-ts/core": "^3.0.2",

yarn.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1341,7 +1341,7 @@
13411341
"@ckeditor/ckeditor5-utils" "46.0.0"
13421342
ckeditor5 "46.0.0"
13431343

1344-
"@ckeditor/[email protected]", "@ckeditor/ckeditor5-markdown-gfm@^46.0.0":
1344+
"@ckeditor/[email protected]":
13451345
version "46.0.0"
13461346
resolved "https://registry.yarnpkg.com/@ckeditor/ckeditor5-markdown-gfm/-/ckeditor5-markdown-gfm-46.0.0.tgz#8374793da3aedbd3ec42bd85793dc4d6f53ca4df"
13471347
integrity sha512-uDHTS+VrmUY/bZWDQv/9nOOSMnfLOymAmvQ/oTNPlIZQXxprDU1cH221TxOZpvE0u1SHC3Spomt38Ea6yqzGZw==

0 commit comments

Comments
 (0)