@ckeditor/ckeditor5-image 40.1.0 → 41.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +25 -25
- package/LICENSE.md +1 -1
- package/build/image.js +3 -3
- package/build/translations/ar.js +1 -1
- package/build/translations/ast.js +1 -1
- package/build/translations/az.js +1 -1
- package/build/translations/bg.js +1 -1
- package/build/translations/bn.js +1 -1
- package/build/translations/bs.js +1 -1
- package/build/translations/ca.js +1 -1
- package/build/translations/cs.js +1 -1
- package/build/translations/da.js +1 -1
- package/build/translations/de-ch.js +1 -1
- package/build/translations/de.js +1 -1
- package/build/translations/el.js +1 -1
- package/build/translations/en-au.js +1 -1
- package/build/translations/en-gb.js +1 -1
- package/build/translations/eo.js +1 -1
- package/build/translations/es.js +1 -1
- package/build/translations/et.js +1 -1
- package/build/translations/eu.js +1 -1
- package/build/translations/fa.js +1 -1
- package/build/translations/fi.js +1 -1
- package/build/translations/fr.js +1 -1
- package/build/translations/gl.js +1 -1
- package/build/translations/he.js +1 -1
- package/build/translations/hi.js +1 -1
- package/build/translations/hr.js +1 -1
- package/build/translations/hu.js +1 -1
- package/build/translations/id.js +1 -1
- package/build/translations/it.js +1 -1
- package/build/translations/ja.js +1 -1
- package/build/translations/jv.js +1 -1
- package/build/translations/km.js +1 -1
- package/build/translations/kn.js +1 -1
- package/build/translations/ko.js +1 -1
- package/build/translations/ku.js +1 -1
- package/build/translations/lt.js +1 -1
- package/build/translations/lv.js +1 -1
- package/build/translations/ms.js +1 -1
- package/build/translations/nb.js +1 -1
- package/build/translations/ne.js +1 -1
- package/build/translations/nl.js +1 -1
- package/build/translations/no.js +1 -1
- package/build/translations/pl.js +1 -1
- package/build/translations/pt-br.js +1 -1
- package/build/translations/pt.js +1 -1
- package/build/translations/ro.js +1 -1
- package/build/translations/ru.js +1 -1
- package/build/translations/si.js +1 -1
- package/build/translations/sk.js +1 -1
- package/build/translations/sq.js +1 -1
- package/build/translations/sr-latn.js +1 -1
- package/build/translations/sr.js +1 -1
- package/build/translations/sv.js +1 -1
- package/build/translations/th.js +1 -1
- package/build/translations/tk.js +1 -1
- package/build/translations/tr.js +1 -1
- package/build/translations/tt.js +1 -1
- package/build/translations/ug.js +1 -1
- package/build/translations/uk.js +1 -1
- package/build/translations/ur.js +1 -1
- package/build/translations/uz.js +1 -1
- package/build/translations/vi.js +1 -1
- package/build/translations/zh-cn.js +1 -1
- package/build/translations/zh.js +1 -1
- package/ckeditor5-metadata.json +3 -3
- package/lang/contexts.json +5 -0
- package/lang/translations/ar.po +21 -1
- package/lang/translations/ast.po +21 -1
- package/lang/translations/az.po +21 -1
- package/lang/translations/bg.po +21 -1
- package/lang/translations/bn.po +21 -1
- package/lang/translations/bs.po +21 -1
- package/lang/translations/ca.po +21 -1
- package/lang/translations/cs.po +21 -1
- package/lang/translations/da.po +21 -1
- package/lang/translations/de-ch.po +21 -1
- package/lang/translations/de.po +21 -1
- package/lang/translations/el.po +21 -1
- package/lang/translations/en-au.po +21 -1
- package/lang/translations/en-gb.po +21 -1
- package/lang/translations/en.po +21 -1
- package/lang/translations/eo.po +21 -1
- package/lang/translations/es.po +21 -1
- package/lang/translations/et.po +21 -1
- package/lang/translations/eu.po +21 -1
- package/lang/translations/fa.po +21 -1
- package/lang/translations/fi.po +21 -1
- package/lang/translations/fr.po +21 -1
- package/lang/translations/gl.po +21 -1
- package/lang/translations/he.po +21 -1
- package/lang/translations/hi.po +21 -1
- package/lang/translations/hr.po +21 -1
- package/lang/translations/hu.po +21 -1
- package/lang/translations/id.po +21 -1
- package/lang/translations/it.po +21 -1
- package/lang/translations/ja.po +21 -1
- package/lang/translations/jv.po +21 -1
- package/lang/translations/km.po +21 -1
- package/lang/translations/kn.po +21 -1
- package/lang/translations/ko.po +21 -1
- package/lang/translations/ku.po +21 -1
- package/lang/translations/lt.po +21 -1
- package/lang/translations/lv.po +21 -1
- package/lang/translations/ms.po +21 -1
- package/lang/translations/nb.po +21 -1
- package/lang/translations/ne.po +21 -1
- package/lang/translations/nl.po +21 -1
- package/lang/translations/no.po +21 -1
- package/lang/translations/pl.po +21 -1
- package/lang/translations/pt-br.po +21 -1
- package/lang/translations/pt.po +21 -1
- package/lang/translations/ro.po +21 -1
- package/lang/translations/ru.po +21 -1
- package/lang/translations/si.po +21 -1
- package/lang/translations/sk.po +21 -1
- package/lang/translations/sq.po +21 -1
- package/lang/translations/sr-latn.po +21 -1
- package/lang/translations/sr.po +21 -1
- package/lang/translations/sv.po +21 -1
- package/lang/translations/th.po +21 -1
- package/lang/translations/tk.po +21 -1
- package/lang/translations/tr.po +21 -1
- package/lang/translations/tt.po +21 -1
- package/lang/translations/ug.po +22 -2
- package/lang/translations/uk.po +21 -1
- package/lang/translations/ur.po +21 -1
- package/lang/translations/uz.po +21 -1
- package/lang/translations/vi.po +21 -1
- package/lang/translations/zh-cn.po +21 -1
- package/lang/translations/zh.po +21 -1
- package/package.json +4 -3
- package/src/augmentation.d.ts +1 -1
- package/src/augmentation.js +1 -1
- package/src/autoimage.d.ts +6 -6
- package/src/autoimage.js +8 -8
- package/src/image/converters.d.ts +3 -3
- package/src/image/converters.js +2 -2
- package/src/image/imageblockediting.d.ts +7 -7
- package/src/image/imageblockediting.js +11 -11
- package/src/image/imageediting.d.ts +3 -3
- package/src/image/imageediting.js +6 -6
- package/src/image/imageinlineediting.d.ts +7 -7
- package/src/image/imageinlineediting.js +11 -11
- package/src/image/imageloadobserver.d.ts +2 -2
- package/src/image/imageloadobserver.js +2 -2
- package/src/image/imageplaceholder.d.ts +3 -3
- package/src/image/imageplaceholder.js +4 -4
- package/src/image/imagetypecommand.d.ts +3 -3
- package/src/image/imagetypecommand.js +2 -2
- package/src/image/insertimagecommand.d.ts +3 -3
- package/src/image/insertimagecommand.js +3 -3
- package/src/image/replaceimagesourcecommand.d.ts +3 -3
- package/src/image/replaceimagesourcecommand.js +2 -2
- package/src/image/ui/utils.d.ts +3 -3
- package/src/image/ui/utils.js +2 -2
- package/src/image/utils.d.ts +3 -3
- package/src/image/utils.js +2 -2
- package/src/image.d.ts +4 -4
- package/src/image.js +4 -4
- package/src/imageblock.d.ts +7 -6
- package/src/imageblock.js +7 -6
- package/src/imagecaption/imagecaptionediting.d.ts +5 -5
- package/src/imagecaption/imagecaptionediting.js +7 -7
- package/src/imagecaption/imagecaptionui.d.ts +3 -3
- package/src/imagecaption/imagecaptionui.js +4 -4
- package/src/imagecaption/imagecaptionutils.d.ts +4 -4
- package/src/imagecaption/imagecaptionutils.js +3 -3
- package/src/imagecaption/toggleimagecaptioncommand.d.ts +2 -2
- package/src/imagecaption/toggleimagecaptioncommand.js +3 -3
- package/src/imagecaption.d.ts +4 -4
- package/src/imagecaption.js +4 -4
- package/src/imageconfig.d.ts +10 -14
- package/src/imageconfig.js +1 -1
- package/src/imageinline.d.ts +7 -6
- package/src/imageinline.js +7 -6
- package/src/imageinsert/imageinsertui.d.ts +39 -11
- package/src/imageinsert/imageinsertui.js +127 -94
- package/src/imageinsert/imageinsertviaurlui.d.ts +44 -0
- package/src/imageinsert/imageinsertviaurlui.js +122 -0
- package/src/imageinsert/ui/imageinsertformview.d.ts +56 -0
- package/src/imageinsert/ui/imageinsertformview.js +112 -0
- package/src/imageinsert/ui/imageinserturlview.d.ts +107 -0
- package/src/imageinsert/ui/imageinserturlview.js +156 -0
- package/src/imageinsert.d.ts +5 -5
- package/src/imageinsert.js +5 -5
- package/src/imageinsertviaurl.d.ts +5 -4
- package/src/imageinsertviaurl.js +5 -4
- package/src/imageresize/imageresizebuttons.d.ts +3 -3
- package/src/imageresize/imageresizebuttons.js +6 -6
- package/src/imageresize/imageresizeediting.d.ts +3 -3
- package/src/imageresize/imageresizeediting.js +5 -5
- package/src/imageresize/imageresizehandles.d.ts +4 -4
- package/src/imageresize/imageresizehandles.js +5 -5
- package/src/imageresize/resizeimagecommand.d.ts +2 -2
- package/src/imageresize/resizeimagecommand.js +2 -2
- package/src/imageresize.d.ts +5 -5
- package/src/imageresize.js +5 -5
- package/src/imagesizeattributes.d.ts +3 -3
- package/src/imagesizeattributes.js +4 -4
- package/src/imagestyle/converters.d.ts +4 -4
- package/src/imagestyle/converters.js +2 -2
- package/src/imagestyle/imagestylecommand.d.ts +4 -4
- package/src/imagestyle/imagestylecommand.js +2 -2
- package/src/imagestyle/imagestyleediting.d.ts +4 -4
- package/src/imagestyle/imagestyleediting.js +6 -6
- package/src/imagestyle/imagestyleui.d.ts +3 -3
- package/src/imagestyle/imagestyleui.js +5 -5
- package/src/imagestyle/utils.d.ts +3 -3
- package/src/imagestyle/utils.js +3 -3
- package/src/imagestyle.d.ts +4 -4
- package/src/imagestyle.js +4 -4
- package/src/imagetextalternative/imagetextalternativecommand.d.ts +2 -2
- package/src/imagetextalternative/imagetextalternativecommand.js +2 -2
- package/src/imagetextalternative/imagetextalternativeediting.d.ts +3 -3
- package/src/imagetextalternative/imagetextalternativeediting.js +4 -4
- package/src/imagetextalternative/imagetextalternativeui.d.ts +3 -3
- package/src/imagetextalternative/imagetextalternativeui.js +5 -5
- package/src/imagetextalternative/ui/textalternativeformview.d.ts +22 -4
- package/src/imagetextalternative/ui/textalternativeformview.js +4 -4
- package/src/imagetextalternative.d.ts +4 -4
- package/src/imagetextalternative.js +4 -4
- package/src/imagetoolbar.d.ts +4 -4
- package/src/imagetoolbar.js +4 -4
- package/src/imageupload/imageuploadediting.d.ts +7 -7
- package/src/imageupload/imageuploadediting.js +11 -11
- package/src/imageupload/imageuploadprogress.d.ts +2 -2
- package/src/imageupload/imageuploadprogress.js +3 -3
- package/src/imageupload/imageuploadui.d.ts +2 -2
- package/src/imageupload/imageuploadui.js +34 -10
- package/src/imageupload/uploadimagecommand.d.ts +3 -3
- package/src/imageupload/uploadimagecommand.js +4 -4
- package/src/imageupload/utils.d.ts +3 -3
- package/src/imageupload/utils.js +2 -2
- package/src/imageupload.d.ts +5 -5
- package/src/imageupload.js +5 -5
- package/src/imageutils.d.ts +3 -3
- package/src/imageutils.js +5 -5
- package/src/index.d.ts +42 -42
- package/src/index.js +33 -33
- package/src/pictureediting.d.ts +4 -4
- package/src/pictureediting.js +5 -5
- package/theme/image.css +1 -1
- package/theme/imagecaption.css +1 -1
- package/theme/imageinsert.css +6 -18
- package/theme/imageplaceholder.css +1 -1
- package/theme/imageresize.css +1 -1
- package/theme/imagestyle.css +1 -1
- package/theme/imageuploadicon.css +1 -1
- package/theme/imageuploadloader.css +1 -1
- package/theme/imageuploadprogress.css +1 -1
- package/theme/textalternativeform.css +1 -1
- package/src/imageinsert/ui/imageinsertformrowview.d.ts +0 -61
- package/src/imageinsert/ui/imageinsertformrowview.js +0 -54
- package/src/imageinsert/ui/imageinsertpanelview.d.ts +0 -106
- package/src/imageinsert/ui/imageinsertpanelview.js +0 -161
- package/src/imageinsert/utils.d.ts +0 -25
- package/src/imageinsert/utils.js +0 -58
- package/theme/imageinsertformrowview.css +0 -36
package/lang/translations/tt.po
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Copyright (c) 2003-
|
|
1
|
+
# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
2
2
|
#
|
|
3
3
|
# !!! IMPORTANT !!!
|
|
4
4
|
#
|
|
@@ -69,6 +69,26 @@ msgctxt "The label for the insert image toolbar button."
|
|
|
69
69
|
msgid "Insert image"
|
|
70
70
|
msgstr ""
|
|
71
71
|
|
|
72
|
+
msgctxt "The label for the replace image toolbar button."
|
|
73
|
+
msgid "Replace image"
|
|
74
|
+
msgstr ""
|
|
75
|
+
|
|
76
|
+
msgctxt "The label for the upload image from computer toolbar button with visible label in insert image dropdown."
|
|
77
|
+
msgid "Upload from computer"
|
|
78
|
+
msgstr ""
|
|
79
|
+
|
|
80
|
+
msgctxt "The label for the replace image by upload from computer toolbar button with visible label in insert image dropdown."
|
|
81
|
+
msgid "Replace from computer"
|
|
82
|
+
msgstr ""
|
|
83
|
+
|
|
84
|
+
msgctxt "The label for the upload image from computer toolbar button."
|
|
85
|
+
msgid "Upload image from computer"
|
|
86
|
+
msgstr ""
|
|
87
|
+
|
|
88
|
+
msgctxt "The label for the replace image by upload from computer toolbar button."
|
|
89
|
+
msgid "Replace image from computer"
|
|
90
|
+
msgstr ""
|
|
91
|
+
|
|
72
92
|
msgctxt "The title of the notification displayed when upload fails."
|
|
73
93
|
msgid "Upload failed"
|
|
74
94
|
msgstr ""
|
package/lang/translations/ug.po
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Copyright (c) 2003-
|
|
1
|
+
# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
2
2
|
#
|
|
3
3
|
# !!! IMPORTANT !!!
|
|
4
4
|
#
|
|
@@ -69,6 +69,26 @@ msgctxt "The label for the insert image toolbar button."
|
|
|
69
69
|
msgid "Insert image"
|
|
70
70
|
msgstr "رەسىم قىستۇرۇش"
|
|
71
71
|
|
|
72
|
+
msgctxt "The label for the replace image toolbar button."
|
|
73
|
+
msgid "Replace image"
|
|
74
|
+
msgstr ""
|
|
75
|
+
|
|
76
|
+
msgctxt "The label for the upload image from computer toolbar button with visible label in insert image dropdown."
|
|
77
|
+
msgid "Upload from computer"
|
|
78
|
+
msgstr ""
|
|
79
|
+
|
|
80
|
+
msgctxt "The label for the replace image by upload from computer toolbar button with visible label in insert image dropdown."
|
|
81
|
+
msgid "Replace from computer"
|
|
82
|
+
msgstr ""
|
|
83
|
+
|
|
84
|
+
msgctxt "The label for the upload image from computer toolbar button."
|
|
85
|
+
msgid "Upload image from computer"
|
|
86
|
+
msgstr ""
|
|
87
|
+
|
|
88
|
+
msgctxt "The label for the replace image by upload from computer toolbar button."
|
|
89
|
+
msgid "Replace image from computer"
|
|
90
|
+
msgstr ""
|
|
91
|
+
|
|
72
92
|
msgctxt "The title of the notification displayed when upload fails."
|
|
73
93
|
msgid "Upload failed"
|
|
74
94
|
msgstr "چىقىرىش مەغلۇپ بولدى"
|
|
@@ -99,7 +119,7 @@ msgstr ""
|
|
|
99
119
|
|
|
100
120
|
msgctxt "The label of the form submit button if the image source URL input has no value."
|
|
101
121
|
msgid "Insert"
|
|
102
|
-
msgstr ""
|
|
122
|
+
msgstr "قىستۇر"
|
|
103
123
|
|
|
104
124
|
msgctxt "The label of the form submit button if the image source URL input has a value."
|
|
105
125
|
msgid "Update"
|
package/lang/translations/uk.po
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Copyright (c) 2003-
|
|
1
|
+
# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
2
2
|
#
|
|
3
3
|
# !!! IMPORTANT !!!
|
|
4
4
|
#
|
|
@@ -69,6 +69,26 @@ msgctxt "The label for the insert image toolbar button."
|
|
|
69
69
|
msgid "Insert image"
|
|
70
70
|
msgstr "Вставити зображення"
|
|
71
71
|
|
|
72
|
+
msgctxt "The label for the replace image toolbar button."
|
|
73
|
+
msgid "Replace image"
|
|
74
|
+
msgstr "Замінити зображення"
|
|
75
|
+
|
|
76
|
+
msgctxt "The label for the upload image from computer toolbar button with visible label in insert image dropdown."
|
|
77
|
+
msgid "Upload from computer"
|
|
78
|
+
msgstr "Завантажити з комп'ютера"
|
|
79
|
+
|
|
80
|
+
msgctxt "The label for the replace image by upload from computer toolbar button with visible label in insert image dropdown."
|
|
81
|
+
msgid "Replace from computer"
|
|
82
|
+
msgstr "Замінити з комп'ютера"
|
|
83
|
+
|
|
84
|
+
msgctxt "The label for the upload image from computer toolbar button."
|
|
85
|
+
msgid "Upload image from computer"
|
|
86
|
+
msgstr "Завантажити зображення з комп'ютера"
|
|
87
|
+
|
|
88
|
+
msgctxt "The label for the replace image by upload from computer toolbar button."
|
|
89
|
+
msgid "Replace image from computer"
|
|
90
|
+
msgstr "Замінити зображення з комп'ютера"
|
|
91
|
+
|
|
72
92
|
msgctxt "The title of the notification displayed when upload fails."
|
|
73
93
|
msgid "Upload failed"
|
|
74
94
|
msgstr "Завантаження не вдалось"
|
package/lang/translations/ur.po
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Copyright (c) 2003-
|
|
1
|
+
# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
2
2
|
#
|
|
3
3
|
# !!! IMPORTANT !!!
|
|
4
4
|
#
|
|
@@ -69,6 +69,26 @@ msgctxt "The label for the insert image toolbar button."
|
|
|
69
69
|
msgid "Insert image"
|
|
70
70
|
msgstr ""
|
|
71
71
|
|
|
72
|
+
msgctxt "The label for the replace image toolbar button."
|
|
73
|
+
msgid "Replace image"
|
|
74
|
+
msgstr ""
|
|
75
|
+
|
|
76
|
+
msgctxt "The label for the upload image from computer toolbar button with visible label in insert image dropdown."
|
|
77
|
+
msgid "Upload from computer"
|
|
78
|
+
msgstr ""
|
|
79
|
+
|
|
80
|
+
msgctxt "The label for the replace image by upload from computer toolbar button with visible label in insert image dropdown."
|
|
81
|
+
msgid "Replace from computer"
|
|
82
|
+
msgstr ""
|
|
83
|
+
|
|
84
|
+
msgctxt "The label for the upload image from computer toolbar button."
|
|
85
|
+
msgid "Upload image from computer"
|
|
86
|
+
msgstr ""
|
|
87
|
+
|
|
88
|
+
msgctxt "The label for the replace image by upload from computer toolbar button."
|
|
89
|
+
msgid "Replace image from computer"
|
|
90
|
+
msgstr ""
|
|
91
|
+
|
|
72
92
|
msgctxt "The title of the notification displayed when upload fails."
|
|
73
93
|
msgid "Upload failed"
|
|
74
94
|
msgstr ""
|
package/lang/translations/uz.po
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Copyright (c) 2003-
|
|
1
|
+
# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
2
2
|
#
|
|
3
3
|
# !!! IMPORTANT !!!
|
|
4
4
|
#
|
|
@@ -69,6 +69,26 @@ msgctxt "The label for the insert image toolbar button."
|
|
|
69
69
|
msgid "Insert image"
|
|
70
70
|
msgstr "Rasm kiritish"
|
|
71
71
|
|
|
72
|
+
msgctxt "The label for the replace image toolbar button."
|
|
73
|
+
msgid "Replace image"
|
|
74
|
+
msgstr ""
|
|
75
|
+
|
|
76
|
+
msgctxt "The label for the upload image from computer toolbar button with visible label in insert image dropdown."
|
|
77
|
+
msgid "Upload from computer"
|
|
78
|
+
msgstr ""
|
|
79
|
+
|
|
80
|
+
msgctxt "The label for the replace image by upload from computer toolbar button with visible label in insert image dropdown."
|
|
81
|
+
msgid "Replace from computer"
|
|
82
|
+
msgstr ""
|
|
83
|
+
|
|
84
|
+
msgctxt "The label for the upload image from computer toolbar button."
|
|
85
|
+
msgid "Upload image from computer"
|
|
86
|
+
msgstr ""
|
|
87
|
+
|
|
88
|
+
msgctxt "The label for the replace image by upload from computer toolbar button."
|
|
89
|
+
msgid "Replace image from computer"
|
|
90
|
+
msgstr ""
|
|
91
|
+
|
|
72
92
|
msgctxt "The title of the notification displayed when upload fails."
|
|
73
93
|
msgid "Upload failed"
|
|
74
94
|
msgstr "Yuklab olinmadi"
|
package/lang/translations/vi.po
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Copyright (c) 2003-
|
|
1
|
+
# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
2
2
|
#
|
|
3
3
|
# !!! IMPORTANT !!!
|
|
4
4
|
#
|
|
@@ -69,6 +69,26 @@ msgctxt "The label for the insert image toolbar button."
|
|
|
69
69
|
msgid "Insert image"
|
|
70
70
|
msgstr "Chèn ảnh"
|
|
71
71
|
|
|
72
|
+
msgctxt "The label for the replace image toolbar button."
|
|
73
|
+
msgid "Replace image"
|
|
74
|
+
msgstr "Thay thế hình ảnh"
|
|
75
|
+
|
|
76
|
+
msgctxt "The label for the upload image from computer toolbar button with visible label in insert image dropdown."
|
|
77
|
+
msgid "Upload from computer"
|
|
78
|
+
msgstr "Tải lên từ máy tính"
|
|
79
|
+
|
|
80
|
+
msgctxt "The label for the replace image by upload from computer toolbar button with visible label in insert image dropdown."
|
|
81
|
+
msgid "Replace from computer"
|
|
82
|
+
msgstr "Thay thế từ máy tính"
|
|
83
|
+
|
|
84
|
+
msgctxt "The label for the upload image from computer toolbar button."
|
|
85
|
+
msgid "Upload image from computer"
|
|
86
|
+
msgstr "Tải hình ảnh lên từ máy tính"
|
|
87
|
+
|
|
88
|
+
msgctxt "The label for the replace image by upload from computer toolbar button."
|
|
89
|
+
msgid "Replace image from computer"
|
|
90
|
+
msgstr "Thay thế hình ảnh từ máy tính"
|
|
91
|
+
|
|
72
92
|
msgctxt "The title of the notification displayed when upload fails."
|
|
73
93
|
msgid "Upload failed"
|
|
74
94
|
msgstr "Tải thất bại"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Copyright (c) 2003-
|
|
1
|
+
# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
2
2
|
#
|
|
3
3
|
# !!! IMPORTANT !!!
|
|
4
4
|
#
|
|
@@ -69,6 +69,26 @@ msgctxt "The label for the insert image toolbar button."
|
|
|
69
69
|
msgid "Insert image"
|
|
70
70
|
msgstr "插入图像"
|
|
71
71
|
|
|
72
|
+
msgctxt "The label for the replace image toolbar button."
|
|
73
|
+
msgid "Replace image"
|
|
74
|
+
msgstr "替换图片"
|
|
75
|
+
|
|
76
|
+
msgctxt "The label for the upload image from computer toolbar button with visible label in insert image dropdown."
|
|
77
|
+
msgid "Upload from computer"
|
|
78
|
+
msgstr "从电脑上传"
|
|
79
|
+
|
|
80
|
+
msgctxt "The label for the replace image by upload from computer toolbar button with visible label in insert image dropdown."
|
|
81
|
+
msgid "Replace from computer"
|
|
82
|
+
msgstr "从电脑替换"
|
|
83
|
+
|
|
84
|
+
msgctxt "The label for the upload image from computer toolbar button."
|
|
85
|
+
msgid "Upload image from computer"
|
|
86
|
+
msgstr "从电脑上传图片"
|
|
87
|
+
|
|
88
|
+
msgctxt "The label for the replace image by upload from computer toolbar button."
|
|
89
|
+
msgid "Replace image from computer"
|
|
90
|
+
msgstr "从电脑替换图片"
|
|
91
|
+
|
|
72
92
|
msgctxt "The title of the notification displayed when upload fails."
|
|
73
93
|
msgid "Upload failed"
|
|
74
94
|
msgstr "上传失败"
|
package/lang/translations/zh.po
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Copyright (c) 2003-
|
|
1
|
+
# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
2
2
|
#
|
|
3
3
|
# !!! IMPORTANT !!!
|
|
4
4
|
#
|
|
@@ -69,6 +69,26 @@ msgctxt "The label for the insert image toolbar button."
|
|
|
69
69
|
msgid "Insert image"
|
|
70
70
|
msgstr "插入圖片"
|
|
71
71
|
|
|
72
|
+
msgctxt "The label for the replace image toolbar button."
|
|
73
|
+
msgid "Replace image"
|
|
74
|
+
msgstr "替換圖片"
|
|
75
|
+
|
|
76
|
+
msgctxt "The label for the upload image from computer toolbar button with visible label in insert image dropdown."
|
|
77
|
+
msgid "Upload from computer"
|
|
78
|
+
msgstr "從電腦上傳"
|
|
79
|
+
|
|
80
|
+
msgctxt "The label for the replace image by upload from computer toolbar button with visible label in insert image dropdown."
|
|
81
|
+
msgid "Replace from computer"
|
|
82
|
+
msgstr "從電腦替換"
|
|
83
|
+
|
|
84
|
+
msgctxt "The label for the upload image from computer toolbar button."
|
|
85
|
+
msgid "Upload image from computer"
|
|
86
|
+
msgstr "從電腦上傳圖片"
|
|
87
|
+
|
|
88
|
+
msgctxt "The label for the replace image by upload from computer toolbar button."
|
|
89
|
+
msgid "Replace image from computer"
|
|
90
|
+
msgstr "從電腦替換圖片"
|
|
91
|
+
|
|
72
92
|
msgctxt "The title of the notification displayed when upload fails."
|
|
73
93
|
msgid "Upload failed"
|
|
74
94
|
msgstr "上傳失敗"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-image",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "41.0.0",
|
|
4
4
|
"description": "Image feature for CKEditor 5.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ckeditor",
|
|
@@ -10,10 +10,11 @@
|
|
|
10
10
|
"ckeditor5-plugin",
|
|
11
11
|
"ckeditor5-dll"
|
|
12
12
|
],
|
|
13
|
+
"type": "module",
|
|
13
14
|
"main": "src/index.js",
|
|
14
15
|
"dependencies": {
|
|
15
|
-
"@ckeditor/ckeditor5-ui": "
|
|
16
|
-
"ckeditor5": "
|
|
16
|
+
"@ckeditor/ckeditor5-ui": "41.0.0",
|
|
17
|
+
"ckeditor5": "41.0.0",
|
|
17
18
|
"lodash-es": "4.17.21"
|
|
18
19
|
},
|
|
19
20
|
"author": "CKSource (http://cksource.com/)",
|
package/src/augmentation.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
import type { ImageConfig, AutoImage, Image, ImageBlock, ImageCaption, ImageInline, ImageInsert, ImageInsertViaUrl, ImageResize, ImageStyle, ImageTextAlternative, ImageToolbar, ImageUpload, ImageUtils, ImageBlockEditing, ImageEditing, ImageCaptionEditing, ImageCaptionUI, ImageCaptionUtils, ImageInsertUI, ImageResizeEditing, ImageSizeAttributes, ImageStyleEditing, ImageStyleUI, ImageTextAlternativeEditing, ImageTextAlternativeUI, ImageUploadEditing, ImageUploadProgress, ImageUploadUI, ImageTypeCommand, InsertImageCommand, ReplaceImageSourceCommand, ToggleImageCaptionCommand, ResizeImageCommand, ImageStyleCommand, ImageTextAlternativeCommand, UploadImageCommand } from '.';
|
package/src/augmentation.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
export {};
|
package/src/autoimage.d.ts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module image/autoimage
|
|
7
7
|
*/
|
|
8
|
-
import { Plugin, type Editor } from 'ckeditor5/src/core';
|
|
9
|
-
import { Clipboard } from 'ckeditor5/src/clipboard';
|
|
10
|
-
import { Undo } from 'ckeditor5/src/undo';
|
|
11
|
-
import { Delete } from 'ckeditor5/src/typing';
|
|
12
|
-
import ImageUtils from './imageutils';
|
|
8
|
+
import { Plugin, type Editor } from 'ckeditor5/src/core.js';
|
|
9
|
+
import { Clipboard } from 'ckeditor5/src/clipboard.js';
|
|
10
|
+
import { Undo } from 'ckeditor5/src/undo.js';
|
|
11
|
+
import { Delete } from 'ckeditor5/src/typing.js';
|
|
12
|
+
import ImageUtils from './imageutils.js';
|
|
13
13
|
/**
|
|
14
14
|
* The auto-image plugin. It recognizes image links in the pasted content and embeds
|
|
15
15
|
* them shortly after they are injected into the document.
|
package/src/autoimage.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module image/autoimage
|
|
7
7
|
*/
|
|
8
|
-
import { Plugin } from 'ckeditor5/src/core';
|
|
9
|
-
import { Clipboard } from 'ckeditor5/src/clipboard';
|
|
10
|
-
import { LivePosition, LiveRange } from 'ckeditor5/src/engine';
|
|
11
|
-
import { Undo } from 'ckeditor5/src/undo';
|
|
12
|
-
import { Delete } from 'ckeditor5/src/typing';
|
|
13
|
-
import { global } from 'ckeditor5/src/utils';
|
|
14
|
-
import ImageUtils from './imageutils';
|
|
8
|
+
import { Plugin } from 'ckeditor5/src/core.js';
|
|
9
|
+
import { Clipboard } from 'ckeditor5/src/clipboard.js';
|
|
10
|
+
import { LivePosition, LiveRange } from 'ckeditor5/src/engine.js';
|
|
11
|
+
import { Undo } from 'ckeditor5/src/undo.js';
|
|
12
|
+
import { Delete } from 'ckeditor5/src/typing.js';
|
|
13
|
+
import { global } from 'ckeditor5/src/utils.js';
|
|
14
|
+
import ImageUtils from './imageutils.js';
|
|
15
15
|
// Implements the pattern: http(s)://(www.)example.com/path/to/resource.ext?query=params&maybe=too.
|
|
16
16
|
const IMAGE_URL_REGEXP = new RegExp(String(/^(http(s)?:\/\/)?[\w-]+\.[\w.~:/[\]@!$&'()*+,;=%-]+/.source +
|
|
17
17
|
/\.(jpg|jpeg|png|gif|ico|webp|JPG|JPEG|PNG|GIF|ICO|WEBP)/.source +
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module image/image/converters
|
|
7
7
|
*/
|
|
8
|
-
import type { DowncastDispatcher, UpcastDispatcher } from 'ckeditor5/src/engine';
|
|
9
|
-
import type ImageUtils from '../imageutils';
|
|
8
|
+
import type { DowncastDispatcher, UpcastDispatcher } from 'ckeditor5/src/engine.js';
|
|
9
|
+
import type ImageUtils from '../imageutils.js';
|
|
10
10
|
/**
|
|
11
11
|
* Returns a function that converts the image view representation:
|
|
12
12
|
*
|
package/src/image/converters.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
|
-
import { first } from 'ckeditor5/src/utils';
|
|
5
|
+
import { first } from 'ckeditor5/src/utils.js';
|
|
6
6
|
/**
|
|
7
7
|
* Returns a function that converts the image view representation:
|
|
8
8
|
*
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module image/image/imageblockediting
|
|
7
7
|
*/
|
|
8
|
-
import { Plugin } from 'ckeditor5/src/core';
|
|
9
|
-
import { ClipboardPipeline } from 'ckeditor5/src/clipboard';
|
|
10
|
-
import ImageEditing from './imageediting';
|
|
11
|
-
import ImageSizeAttributes from '../imagesizeattributes';
|
|
12
|
-
import ImageUtils from '../imageutils';
|
|
13
|
-
import ImagePlaceholder from './imageplaceholder';
|
|
8
|
+
import { Plugin } from 'ckeditor5/src/core.js';
|
|
9
|
+
import { ClipboardPipeline } from 'ckeditor5/src/clipboard.js';
|
|
10
|
+
import ImageEditing from './imageediting.js';
|
|
11
|
+
import ImageSizeAttributes from '../imagesizeattributes.js';
|
|
12
|
+
import ImageUtils from '../imageutils.js';
|
|
13
|
+
import ImagePlaceholder from './imageplaceholder.js';
|
|
14
14
|
/**
|
|
15
15
|
* The image block plugin.
|
|
16
16
|
*
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module image/image/imageblockediting
|
|
7
7
|
*/
|
|
8
|
-
import { Plugin } from 'ckeditor5/src/core';
|
|
9
|
-
import { ClipboardPipeline } from 'ckeditor5/src/clipboard';
|
|
10
|
-
import { UpcastWriter } from 'ckeditor5/src/engine';
|
|
11
|
-
import { downcastImageAttribute, downcastSrcsetAttribute, upcastImageFigure } from './converters';
|
|
12
|
-
import ImageEditing from './imageediting';
|
|
13
|
-
import ImageSizeAttributes from '../imagesizeattributes';
|
|
14
|
-
import ImageTypeCommand from './imagetypecommand';
|
|
15
|
-
import ImageUtils from '../imageutils';
|
|
16
|
-
import { getImgViewElementMatcher, createBlockImageViewElement, determineImageTypeForInsertionAtSelection } from './utils';
|
|
17
|
-
import ImagePlaceholder from './imageplaceholder';
|
|
8
|
+
import { Plugin } from 'ckeditor5/src/core.js';
|
|
9
|
+
import { ClipboardPipeline } from 'ckeditor5/src/clipboard.js';
|
|
10
|
+
import { UpcastWriter } from 'ckeditor5/src/engine.js';
|
|
11
|
+
import { downcastImageAttribute, downcastSrcsetAttribute, upcastImageFigure } from './converters.js';
|
|
12
|
+
import ImageEditing from './imageediting.js';
|
|
13
|
+
import ImageSizeAttributes from '../imagesizeattributes.js';
|
|
14
|
+
import ImageTypeCommand from './imagetypecommand.js';
|
|
15
|
+
import ImageUtils from '../imageutils.js';
|
|
16
|
+
import { getImgViewElementMatcher, createBlockImageViewElement, determineImageTypeForInsertionAtSelection } from './utils.js';
|
|
17
|
+
import ImagePlaceholder from './imageplaceholder.js';
|
|
18
18
|
/**
|
|
19
19
|
* The image block plugin.
|
|
20
20
|
*
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module image/image/imageediting
|
|
7
7
|
*/
|
|
8
|
-
import { Plugin } from 'ckeditor5/src/core';
|
|
9
|
-
import ImageUtils from '../imageutils';
|
|
8
|
+
import { Plugin } from 'ckeditor5/src/core.js';
|
|
9
|
+
import ImageUtils from '../imageutils.js';
|
|
10
10
|
/**
|
|
11
11
|
* The image engine plugin. This module loads common code shared between
|
|
12
12
|
* {@link module:image/image/imageinlineediting~ImageInlineEditing} and
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module image/image/imageediting
|
|
7
7
|
*/
|
|
8
|
-
import { Plugin } from 'ckeditor5/src/core';
|
|
9
|
-
import ImageLoadObserver from './imageloadobserver';
|
|
10
|
-
import InsertImageCommand from './insertimagecommand';
|
|
11
|
-
import ReplaceImageSourceCommand from './replaceimagesourcecommand';
|
|
12
|
-
import ImageUtils from '../imageutils';
|
|
8
|
+
import { Plugin } from 'ckeditor5/src/core.js';
|
|
9
|
+
import ImageLoadObserver from './imageloadobserver.js';
|
|
10
|
+
import InsertImageCommand from './insertimagecommand.js';
|
|
11
|
+
import ReplaceImageSourceCommand from './replaceimagesourcecommand.js';
|
|
12
|
+
import ImageUtils from '../imageutils.js';
|
|
13
13
|
/**
|
|
14
14
|
* The image engine plugin. This module loads common code shared between
|
|
15
15
|
* {@link module:image/image/imageinlineediting~ImageInlineEditing} and
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module image/image/imageinlineediting
|
|
7
7
|
*/
|
|
8
|
-
import { Plugin } from 'ckeditor5/src/core';
|
|
9
|
-
import { ClipboardPipeline } from 'ckeditor5/src/clipboard';
|
|
10
|
-
import ImageEditing from './imageediting';
|
|
11
|
-
import ImageSizeAttributes from '../imagesizeattributes';
|
|
12
|
-
import ImageUtils from '../imageutils';
|
|
13
|
-
import ImagePlaceholder from './imageplaceholder';
|
|
8
|
+
import { Plugin } from 'ckeditor5/src/core.js';
|
|
9
|
+
import { ClipboardPipeline } from 'ckeditor5/src/clipboard.js';
|
|
10
|
+
import ImageEditing from './imageediting.js';
|
|
11
|
+
import ImageSizeAttributes from '../imagesizeattributes.js';
|
|
12
|
+
import ImageUtils from '../imageutils.js';
|
|
13
|
+
import ImagePlaceholder from './imageplaceholder.js';
|
|
14
14
|
/**
|
|
15
15
|
* The image inline plugin.
|
|
16
16
|
*
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module image/image/imageinlineediting
|
|
7
7
|
*/
|
|
8
|
-
import { Plugin } from 'ckeditor5/src/core';
|
|
9
|
-
import { ClipboardPipeline } from 'ckeditor5/src/clipboard';
|
|
10
|
-
import { UpcastWriter } from 'ckeditor5/src/engine';
|
|
11
|
-
import { downcastImageAttribute, downcastSrcsetAttribute } from './converters';
|
|
12
|
-
import ImageEditing from './imageediting';
|
|
13
|
-
import ImageSizeAttributes from '../imagesizeattributes';
|
|
14
|
-
import ImageTypeCommand from './imagetypecommand';
|
|
15
|
-
import ImageUtils from '../imageutils';
|
|
16
|
-
import { getImgViewElementMatcher, createInlineImageViewElement, determineImageTypeForInsertionAtSelection } from './utils';
|
|
17
|
-
import ImagePlaceholder from './imageplaceholder';
|
|
8
|
+
import { Plugin } from 'ckeditor5/src/core.js';
|
|
9
|
+
import { ClipboardPipeline } from 'ckeditor5/src/clipboard.js';
|
|
10
|
+
import { UpcastWriter } from 'ckeditor5/src/engine.js';
|
|
11
|
+
import { downcastImageAttribute, downcastSrcsetAttribute } from './converters.js';
|
|
12
|
+
import ImageEditing from './imageediting.js';
|
|
13
|
+
import ImageSizeAttributes from '../imagesizeattributes.js';
|
|
14
|
+
import ImageTypeCommand from './imagetypecommand.js';
|
|
15
|
+
import ImageUtils from '../imageutils.js';
|
|
16
|
+
import { getImgViewElementMatcher, createInlineImageViewElement, determineImageTypeForInsertionAtSelection } from './utils.js';
|
|
17
|
+
import ImagePlaceholder from './imageplaceholder.js';
|
|
18
18
|
/**
|
|
19
19
|
* The image inline plugin.
|
|
20
20
|
*
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module image/image/imageloadobserver
|
|
7
7
|
*/
|
|
8
|
-
import { Observer } from 'ckeditor5/src/engine';
|
|
8
|
+
import { Observer } from 'ckeditor5/src/engine.js';
|
|
9
9
|
/**
|
|
10
10
|
* Observes all new images added to the {@link module:engine/view/document~Document},
|
|
11
11
|
* fires {@link module:engine/view/document~Document#event:imageLoaded} and
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module image/image/imageloadobserver
|
|
7
7
|
*/
|
|
8
|
-
import { Observer } from 'ckeditor5/src/engine';
|
|
8
|
+
import { Observer } from 'ckeditor5/src/engine.js';
|
|
9
9
|
/**
|
|
10
10
|
* Observes all new images added to the {@link module:engine/view/document~Document},
|
|
11
11
|
* fires {@link module:engine/view/document~Document#event:imageLoaded} and
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module image/image/imageplaceholder
|
|
7
7
|
*/
|
|
8
|
-
import { Plugin } from 'ckeditor5/src/core';
|
|
9
|
-
import ImageUtils from '../imageutils';
|
|
8
|
+
import { Plugin } from 'ckeditor5/src/core.js';
|
|
9
|
+
import ImageUtils from '../imageutils.js';
|
|
10
10
|
import '../../theme/imageplaceholder.css';
|
|
11
11
|
/**
|
|
12
12
|
* Adds support for image placeholder that is automatically removed when the image is loaded.
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module image/image/imageplaceholder
|
|
7
7
|
*/
|
|
8
|
-
import { Plugin } from 'ckeditor5/src/core';
|
|
9
|
-
import ImageUtils from '../imageutils';
|
|
10
|
-
import ImageLoadObserver from './imageloadobserver';
|
|
8
|
+
import { Plugin } from 'ckeditor5/src/core.js';
|
|
9
|
+
import ImageUtils from '../imageutils.js';
|
|
10
|
+
import ImageLoadObserver from './imageloadobserver.js';
|
|
11
11
|
import '../../theme/imageplaceholder.css';
|
|
12
12
|
/**
|
|
13
13
|
* Adds support for image placeholder that is automatically removed when the image is loaded.
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module image/image/imagetypecommand
|
|
7
7
|
*/
|
|
8
|
-
import type { Element } from 'ckeditor5/src/engine';
|
|
9
|
-
import { Command, type Editor } from 'ckeditor5/src/core';
|
|
8
|
+
import type { Element } from 'ckeditor5/src/engine.js';
|
|
9
|
+
import { Command, type Editor } from 'ckeditor5/src/core.js';
|
|
10
10
|
/**
|
|
11
11
|
* The image type command. It changes the type of a selected image, depending on the configuration.
|
|
12
12
|
*/
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
|
-
import { Command } from 'ckeditor5/src/core';
|
|
5
|
+
import { Command } from 'ckeditor5/src/core.js';
|
|
6
6
|
/**
|
|
7
7
|
* The image type command. It changes the type of a selected image, depending on the configuration.
|
|
8
8
|
*/
|