Skip to content

Commit

Permalink
Merge pull request #127 from marcobax/master
Browse files Browse the repository at this point in the history
feat: support ImageInsert
  • Loading branch information
mostafaznv committed May 1, 2024
2 parents e10d756 + e11b0f6 commit 2fc02bf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions config/nova-ckeditor.php
Original file line number Diff line number Diff line change
Expand Up @@ -476,6 +476,8 @@
'resizeImage:50',
'resizeImage:75',
'resizeImage:original',
'|',
'insertImage',
],

'styles' => [
Expand Down
2 changes: 2 additions & 0 deletions resources/js/ckeditor/ckeditor.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ import MediaEmbed from '@ckeditor/ckeditor5-media-embed/src/mediaembed'
import HtmlEmbed from '@ckeditor/ckeditor5-html-embed/src/htmlembed'
import ImageTextAlternative from '@ckeditor/ckeditor5-image/src/imagetextalternative'
import {LinkImage} from '@ckeditor/ckeditor5-link'
import { ImageInsert } from '@ckeditor/ckeditor5-image'

// Intend
import Indent from '@ckeditor/ckeditor5-indent/src/indent';
Expand Down Expand Up @@ -127,6 +128,7 @@ export default class CkEditor extends ClassicEditorBase {
ImageCaption,
ImageResize,
LinkImage,
ImageInsert,
ImageToolbar,
ImageTextAlternative,
MediaEmbed,
Expand Down

0 comments on commit 2fc02bf

Please sign in to comment.