@ckeditor/ckeditor5-image 35.0.1 → 35.2.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.
@@ -1 +1 @@
1
- !function(i){const e=i.et=i.et||{};e.dictionary=Object.assign(e.dictionary||{},{"Break text":"Murra teksti","Caption for image: %0":"Pildi pealkiri: %0","Caption for the image":"Pildi pealkiri","Centered image":"Keskele joondatud pilt","Change image text alternative":"Muuda pildi asenduskirjeldust","Enter image caption":"Sisesta pildi pealkiri","Full size image":"Täissuuruses pilt","Image resize list":"Pildi suuruse muutmise loend","Image toolbar":"Piltide tööriistariba","image widget":"pildi vidin","In line":"Joone sees",Insert:"Sisesta","Insert image":"Siseta pilt","Insert image via URL":"Sisesta pilt läbi URL-i","Left aligned image":"Vasakule joondatud pilt",Original:"Algne","Resize image":"Muuda pildi suurust","Resize image to %0":"Muuda pilt suurusesse %0","Resize image to the original size":"Muuda pilt algsuurusesse","Right aligned image":"Paremale joondatud pilt","Side image":"Pilt küljel","Text alternative":"Asenduskirjeldus",Update:"Uuenda","Update image URL":"Uuenda pildi URL-i","Upload failed":"Üleslaadimine ebaõnnestus","Wrap text":"Murra teksti ridu"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
1
+ !function(i){const e=i.et=i.et||{};e.dictionary=Object.assign(e.dictionary||{},{"Break text":"Murra teksti","Caption for image: %0":"Pildi pealkiri: %0","Caption for the image":"Pildi pealkiri","Centered image":"Keskele joondatud pilt","Change image text alternative":"Muuda pildi asenduskirjeldust","Enter image caption":"Sisesta pildi pealkiri","Full size image":"Täissuuruses pilt","Image resize list":"Pildi suuruse muutmise loend","Image toolbar":"Piltide tööriistariba","image widget":"pildi vidin","In line":"Joone sees",Insert:"Sisesta","Insert image":"Sisesta pilt","Insert image via URL":"Sisesta pilt läbi URL-i","Left aligned image":"Vasakule joondatud pilt",Original:"Algne","Resize image":"Muuda pildi suurust","Resize image to %0":"Muuda pilt suurusesse %0","Resize image to the original size":"Muuda pilt algsuurusesse","Right aligned image":"Paremale joondatud pilt","Side image":"Pilt küljel","Text alternative":"Asenduskirjeldus",Update:"Uuenda","Update image URL":"Uuenda pildi URL-i","Upload failed":"Üleslaadimine ebaõnnestus","Wrap text":"Murra teksti ridu"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -1 +1 @@
1
- !function(a){const e=a.gl=a.gl||{};e.dictionary=Object.assign(e.dictionary||{},{"Break text":"Romper o texto","Caption for image: %0":"","Caption for the image":"","Centered image":"Imaxe centrada horizontalmente","Change image text alternative":"Cambiar o texto alternativo da imaxe","Enter image caption":"Introduza o título da imaxe","Full size image":"Imaxe a tamaño completo","Image resize list":"Lista de tamaños de imaxe","Image toolbar":"Barra de ferramentas de imaxe","image widget":"Trebello de imaxe","In line":"En liña",Insert:"Inserir","Insert image":"Inserir imaxe","Insert image via URL":"Inserir imaxe a través de URL","Left aligned image":"Imaxe aliñada á esquerda",Original:"Orixinal","Resize image":"Redimensionar a imaxe","Resize image to %0":"Redimensionar a imaxe ao %0","Resize image to the original size":"Aplicar o tamaño orixinal da imaxe","Right aligned image":"Imaxe aliñada á dereita","Side image":"Lado da imaxe","Text alternative":"Texto alternativo",Update:"Actualizar","Update image URL":"Actualizar o URL da imaxe","Upload failed":"Fallou o envío","Wrap text":"Envolver o texto"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
1
+ !function(a){const e=a.gl=a.gl||{};e.dictionary=Object.assign(e.dictionary||{},{"Break text":"Romper o texto","Caption for image: %0":"Lenda da imaxe: %0","Caption for the image":"Lenda da imaxe","Centered image":"Imaxe centrada horizontalmente","Change image text alternative":"Cambiar o texto alternativo da imaxe","Enter image caption":"Introduza o título da imaxe","Full size image":"Imaxe a tamaño completo","Image resize list":"Lista de tamaños de imaxe","Image toolbar":"Barra de ferramentas de imaxe","image widget":"Trebello de imaxe","In line":"En liña",Insert:"Inserir","Insert image":"Inserir imaxe","Insert image via URL":"Inserir imaxe a través de URL","Left aligned image":"Imaxe aliñada á esquerda",Original:"Orixinal","Resize image":"Redimensionar a imaxe","Resize image to %0":"Redimensionar a imaxe ao %0","Resize image to the original size":"Aplicar o tamaño orixinal da imaxe","Right aligned image":"Imaxe aliñada á dereita","Side image":"Lado da imaxe","Text alternative":"Texto alternativo",Update:"Actualizar","Update image URL":"Actualizar o URL da imaxe","Upload failed":"Fallou o envío","Wrap text":"Envolver o texto"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(e){const i=e.tt=e.tt||{};i.dictionary=Object.assign(i.dictionary||{},{"Break text":"","Caption for image: %0":"","Caption for the image":"","Centered image":"","Change image text alternative":"","Enter image caption":"","Full size image":"","Image resize list":"","Image toolbar":"","image widget":"","In line":"",Insert:"","Insert image":"","Insert image via URL":"","Left aligned image":"",Original:"","Resize image":"","Resize image to %0":"","Resize image to the original size":"","Right aligned image":"","Side image":"","Text alternative":"",Update:"Яңарт","Update image URL":"","Upload failed":"","Wrap text":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -66,7 +66,7 @@ msgstr "Sisesta pildi pealkiri"
66
66
 
67
67
  msgctxt "The label for the insert image toolbar button."
68
68
  msgid "Insert image"
69
- msgstr "Siseta pilt"
69
+ msgstr "Sisesta pilt"
70
70
 
71
71
  msgctxt "The title of the notification displayed when upload fails."
72
72
  msgid "Upload failed"
@@ -114,8 +114,8 @@ msgstr "Actualizar o URL da imaxe"
114
114
 
115
115
  msgctxt "Text used by screen readers do describe an image when the image has no text alternative."
116
116
  msgid "Caption for the image"
117
- msgstr ""
117
+ msgstr "Lenda da imaxe"
118
118
 
119
119
  msgctxt "Text used by screen readers do describe an image when there is a text alternative available, e.g. 'Caption for image: this is a description of the image.'"
120
120
  msgid "Caption for image: %0"
121
- msgstr ""
121
+ msgstr "Lenda da imaxe: %0"
@@ -0,0 +1,121 @@
1
+ # Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
2
+ #
3
+ # !!! IMPORTANT !!!
4
+ #
5
+ # Before you edit this file, please keep in mind that contributing to the project
6
+ # translations is possible ONLY via the Transifex online service.
7
+ #
8
+ # To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
9
+ #
10
+ # To learn more, check out the official contributor's guide:
11
+ # https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
12
+ #
13
+ msgid ""
14
+ msgstr ""
15
+ "Language-Team: Tatar (https://www.transifex.com/ckeditor/teams/11143/tt/)\n"
16
+ "Language: tt\n"
17
+ "Plural-Forms: nplurals=1; plural=0;\n"
18
+
19
+ msgctxt "The label for the image widget."
20
+ msgid "image widget"
21
+ msgstr ""
22
+
23
+ msgctxt "The label for the image style button that wraps text around the image."
24
+ msgid "Wrap text"
25
+ msgstr ""
26
+
27
+ msgctxt "The label for the image style button that breaks the text around the image."
28
+ msgid "Break text"
29
+ msgstr ""
30
+
31
+ msgctxt "The label for the image style button that places the image inside the line of text."
32
+ msgid "In line"
33
+ msgstr ""
34
+
35
+ msgctxt "The label for the Side image option."
36
+ msgid "Side image"
37
+ msgstr ""
38
+
39
+ msgctxt "The label for the Full size image option."
40
+ msgid "Full size image"
41
+ msgstr ""
42
+
43
+ msgctxt "The label for the Left aligned image option."
44
+ msgid "Left aligned image"
45
+ msgstr ""
46
+
47
+ msgctxt "The label for the Centered image option."
48
+ msgid "Centered image"
49
+ msgstr ""
50
+
51
+ msgctxt "The label for the Right aligned image option."
52
+ msgid "Right aligned image"
53
+ msgstr ""
54
+
55
+ msgctxt "The label for the Change image text alternative button."
56
+ msgid "Change image text alternative"
57
+ msgstr ""
58
+
59
+ msgctxt "The label for the image text alternative input."
60
+ msgid "Text alternative"
61
+ msgstr ""
62
+
63
+ msgctxt "The placeholder text for the image caption displayed when the caption is empty."
64
+ msgid "Enter image caption"
65
+ msgstr ""
66
+
67
+ msgctxt "The label for the insert image toolbar button."
68
+ msgid "Insert image"
69
+ msgstr ""
70
+
71
+ msgctxt "The title of the notification displayed when upload fails."
72
+ msgid "Upload failed"
73
+ msgstr ""
74
+
75
+ msgctxt "The label used by assistive technologies describing an image toolbar attached to an image widget."
76
+ msgid "Image toolbar"
77
+ msgstr ""
78
+
79
+ msgctxt "The label used for the dropdown in the image toolbar containing defined resize options."
80
+ msgid "Resize image"
81
+ msgstr ""
82
+
83
+ msgctxt "The label used for the standalone resize options buttons in the image toolbar."
84
+ msgid "Resize image to %0"
85
+ msgstr ""
86
+
87
+ msgctxt "The accessibility label of the standalone image resize reset option button in the image toolbar for screen readers."
88
+ msgid "Resize image to the original size"
89
+ msgstr ""
90
+
91
+ msgctxt "The default label for the resize option that resets the size of the image."
92
+ msgid "Original"
93
+ msgstr ""
94
+
95
+ msgctxt "The accessibility label of the image resize dropdown for screen readers."
96
+ msgid "Image resize list"
97
+ msgstr ""
98
+
99
+ msgctxt "The label of the form submit button if the image source URL input has no value."
100
+ msgid "Insert"
101
+ msgstr ""
102
+
103
+ msgctxt "The label of the form submit button if the image source URL input has a value."
104
+ msgid "Update"
105
+ msgstr "Яңарт"
106
+
107
+ msgctxt "The input label for the Insert image via URL form."
108
+ msgid "Insert image via URL"
109
+ msgstr ""
110
+
111
+ msgctxt "The input label for the Insert image via URL form for a pre-existing image."
112
+ msgid "Update image URL"
113
+ msgstr ""
114
+
115
+ msgctxt "Text used by screen readers do describe an image when the image has no text alternative."
116
+ msgid "Caption for the image"
117
+ msgstr ""
118
+
119
+ msgctxt "Text used by screen readers do describe an image when there is a text alternative available, e.g. 'Caption for image: this is a description of the image.'"
120
+ msgid "Caption for image: %0"
121
+ msgstr ""
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-image",
3
- "version": "35.0.1",
3
+ "version": "35.2.0",
4
4
  "description": "Image feature for CKEditor 5.",
5
5
  "keywords": [
6
6
  "ckeditor",
@@ -12,40 +12,40 @@
12
12
  ],
13
13
  "main": "src/index.js",
14
14
  "dependencies": {
15
- "@ckeditor/ckeditor5-ui": "^35.0.1",
16
- "ckeditor5": "^35.0.1",
15
+ "@ckeditor/ckeditor5-ui": "^35.2.0",
16
+ "ckeditor5": "^35.2.0",
17
17
  "lodash-es": "^4.17.15"
18
18
  },
19
19
  "devDependencies": {
20
- "@ckeditor/ckeditor5-adapter-ckfinder": "^35.0.1",
21
- "@ckeditor/ckeditor5-autoformat": "^35.0.1",
22
- "@ckeditor/ckeditor5-basic-styles": "^35.0.1",
23
- "@ckeditor/ckeditor5-block-quote": "^35.0.1",
24
- "@ckeditor/ckeditor5-ckfinder": "^35.0.1",
25
- "@ckeditor/ckeditor5-clipboard": "^35.0.1",
26
- "@ckeditor/ckeditor5-cloud-services": "^35.0.1",
27
- "@ckeditor/ckeditor5-core": "^35.0.1",
28
- "@ckeditor/ckeditor5-dev-utils": "^30.0.0",
29
- "@ckeditor/ckeditor5-easy-image": "^35.0.1",
30
- "@ckeditor/ckeditor5-editor-classic": "^35.0.1",
31
- "@ckeditor/ckeditor5-engine": "^35.0.1",
32
- "@ckeditor/ckeditor5-enter": "^35.0.1",
33
- "@ckeditor/ckeditor5-essentials": "^35.0.1",
34
- "@ckeditor/ckeditor5-heading": "^35.0.1",
35
- "@ckeditor/ckeditor5-html-embed": "^35.0.1",
36
- "@ckeditor/ckeditor5-indent": "^35.0.1",
37
- "@ckeditor/ckeditor5-link": "^35.0.1",
38
- "@ckeditor/ckeditor5-list": "^35.0.1",
39
- "@ckeditor/ckeditor5-media-embed": "^35.0.1",
40
- "@ckeditor/ckeditor5-paragraph": "^35.0.1",
41
- "@ckeditor/ckeditor5-table": "^35.0.1",
42
- "@ckeditor/ckeditor5-theme-lark": "^35.0.1",
43
- "@ckeditor/ckeditor5-typing": "^35.0.1",
44
- "@ckeditor/ckeditor5-undo": "^35.0.1",
45
- "@ckeditor/ckeditor5-upload": "^35.0.1",
46
- "@ckeditor/ckeditor5-utils": "^35.0.1",
47
- "@ckeditor/ckeditor5-watchdog": "^35.0.1",
48
- "@ckeditor/ckeditor5-widget": "^35.0.1",
20
+ "@ckeditor/ckeditor5-adapter-ckfinder": "^35.2.0",
21
+ "@ckeditor/ckeditor5-autoformat": "^35.2.0",
22
+ "@ckeditor/ckeditor5-basic-styles": "^35.2.0",
23
+ "@ckeditor/ckeditor5-block-quote": "^35.2.0",
24
+ "@ckeditor/ckeditor5-ckfinder": "^35.2.0",
25
+ "@ckeditor/ckeditor5-clipboard": "^35.2.0",
26
+ "@ckeditor/ckeditor5-cloud-services": "^35.2.0",
27
+ "@ckeditor/ckeditor5-core": "^35.2.0",
28
+ "@ckeditor/ckeditor5-dev-utils": "^31.0.0",
29
+ "@ckeditor/ckeditor5-easy-image": "^35.2.0",
30
+ "@ckeditor/ckeditor5-editor-classic": "^35.2.0",
31
+ "@ckeditor/ckeditor5-engine": "^35.2.0",
32
+ "@ckeditor/ckeditor5-enter": "^35.2.0",
33
+ "@ckeditor/ckeditor5-essentials": "^35.2.0",
34
+ "@ckeditor/ckeditor5-heading": "^35.2.0",
35
+ "@ckeditor/ckeditor5-html-embed": "^35.2.0",
36
+ "@ckeditor/ckeditor5-indent": "^35.2.0",
37
+ "@ckeditor/ckeditor5-link": "^35.2.0",
38
+ "@ckeditor/ckeditor5-list": "^35.2.0",
39
+ "@ckeditor/ckeditor5-media-embed": "^35.2.0",
40
+ "@ckeditor/ckeditor5-paragraph": "^35.2.0",
41
+ "@ckeditor/ckeditor5-table": "^35.2.0",
42
+ "@ckeditor/ckeditor5-theme-lark": "^35.2.0",
43
+ "@ckeditor/ckeditor5-typing": "^35.2.0",
44
+ "@ckeditor/ckeditor5-undo": "^35.2.0",
45
+ "@ckeditor/ckeditor5-upload": "^35.2.0",
46
+ "@ckeditor/ckeditor5-utils": "^35.2.0",
47
+ "@ckeditor/ckeditor5-watchdog": "^35.2.0",
48
+ "@ckeditor/ckeditor5-widget": "^35.2.0",
49
49
  "webpack": "^5.58.1",
50
50
  "webpack-cli": "^4.9.0"
51
51
  },
@@ -68,6 +68,8 @@ export default class ImageCaptionUI extends Plugin {
68
68
  writer.addClass( 'image__caption_highlighted', figcaptionElement );
69
69
  } );
70
70
  }
71
+
72
+ editor.editing.view.focus();
71
73
  } );
72
74
 
73
75
  return view;
@@ -122,7 +122,7 @@ export default class ImageInsertUI extends Plugin {
122
122
 
123
123
  // Defer the children injection to improve initial performance.
124
124
  // See https://github.com/ckeditor/ckeditor5/pull/8019#discussion_r484069652.
125
- dropdownView.buttonView.once( 'open', () => {
125
+ dropdownView.once( 'change:isOpen', () => {
126
126
  panelView.children.add( imageInsertView );
127
127
  } );
128
128
 
@@ -74,6 +74,7 @@ export default class ImageTextAlternativeUI extends Plugin {
74
74
  } );
75
75
 
76
76
  view.bind( 'isEnabled' ).to( command, 'isEnabled' );
77
+ view.bind( 'isOn' ).to( command, 'value', value => !!value );
77
78
 
78
79
  this.listenTo( view, 'execute', () => {
79
80
  this._showForm();
@@ -59,6 +59,8 @@ export default class ImageUploadUI extends Plugin {
59
59
 
60
60
  if ( imagesToUpload.length ) {
61
61
  editor.execute( 'uploadImage', { file: imagesToUpload } );
62
+
63
+ editor.editing.view.focus();
62
64
  }
63
65
  } );
64
66