Added MediaEmbed to CKEditor
This commit is contained in:
parent
aa8597512f
commit
385631bf32
1 changed files with 5 additions and 1 deletions
|
|
@ -77,6 +77,7 @@ globalThis.CKEditorConfig = {
|
||||||
CKEditor5.indent.Indent,
|
CKEditor5.indent.Indent,
|
||||||
CKEditor5.link.Link,
|
CKEditor5.link.Link,
|
||||||
CKEditor5.list.List,
|
CKEditor5.list.List,
|
||||||
|
CKEditor5.mediaEmbed.MediaEmbed,
|
||||||
CKEditor5.paragraph.Paragraph,
|
CKEditor5.paragraph.Paragraph,
|
||||||
CKEditor5.pasteFromOffice.PasteFromOffice,
|
CKEditor5.pasteFromOffice.PasteFromOffice,
|
||||||
CKEditor5.sourceEditing.SourceEditing,
|
CKEditor5.sourceEditing.SourceEditing,
|
||||||
|
|
@ -103,13 +104,16 @@ globalThis.CKEditorConfig = {
|
||||||
// ignorei18n: true,
|
// ignorei18n: true,
|
||||||
// ui:'he',
|
// ui:'he',
|
||||||
// content:'he'
|
// content:'he'
|
||||||
|
},
|
||||||
|
mediaEmbed: {
|
||||||
|
previewsInData: true
|
||||||
},
|
},
|
||||||
toolbar: [
|
toolbar: [
|
||||||
'heading',
|
'heading',
|
||||||
'|',
|
'|',
|
||||||
'bold', 'italic', 'link', 'bulletedList', 'numberedList',
|
'bold', 'italic', 'link', 'bulletedList', 'numberedList',
|
||||||
'|',
|
'|',
|
||||||
'uploadImage', 'strapiMediaLib', 'insertTable',
|
'uploadImage', 'strapiMediaLib', 'insertTable','mediaEmbed',
|
||||||
'|',
|
'|',
|
||||||
'blockQuote',
|
'blockQuote',
|
||||||
'sourceEditing',
|
'sourceEditing',
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue