Skip to content

Commit 3df8372

Browse files
authored
Merge pull request #154 from mostafaznv/dev
feat: add the ability to configure CKEditor’s built-in image uploader items
2 parents ac1e69d + c465ec7 commit 3df8372

File tree

3 files changed

+16
-1
lines changed

3 files changed

+16
-1
lines changed

config/nova-ckeditor.php

+8
Original file line numberDiff line numberDiff line change
@@ -429,6 +429,14 @@
429429
],
430430

431431
'image' => [
432+
'insert' => [
433+
'integrations' => [
434+
'upload',
435+
'assetManager',
436+
'url'
437+
],
438+
],
439+
432440
'upload' => [
433441
'types' => ['gif', 'png', 'jpg', 'jpeg', 'webp']
434442
],

dist/js/field.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

resources/js/ckeditor/config/image.js

+7
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,13 @@
33
*/
44
export default {
55
image: {
6+
insert: {
7+
integrations: [
8+
'upload',
9+
'assetManager',
10+
'url'
11+
]
12+
},
613
upload: {
714
types: ['gif', 'png', 'jpg', 'jpeg', 'webp']
815
},

0 commit comments

Comments
 (0)