@ckeditor/ckeditor5-table 33.0.0 → 34.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.
- package/LICENSE.md +2 -2
- package/README.md +2 -1
- package/build/table.js +1 -1
- package/build/translations/en-au.js +1 -1
- package/build/translations/hr.js +1 -1
- package/build/translations/lv.js +1 -1
- package/build/translations/pt.js +1 -0
- package/build/translations/sk.js +1 -1
- package/build/translations/ur.js +1 -0
- package/build/translations/zh-cn.js +1 -1
- package/ckeditor5-metadata.json +19 -0
- package/lang/translations/en-au.po +3 -3
- package/lang/translations/es.po +1 -1
- package/lang/translations/fr.po +1 -1
- package/lang/translations/hr.po +3 -3
- package/lang/translations/it.po +1 -1
- package/lang/translations/lv.po +40 -40
- package/lang/translations/pt-br.po +1 -1
- package/lang/translations/pt.po +261 -0
- package/lang/translations/sk.po +3 -3
- package/lang/translations/ur.po +261 -0
- package/lang/translations/zh-cn.po +3 -3
- package/package.json +26 -23
- package/src/commands/inserttablecommand.js +1 -5
- package/src/index.js +3 -0
- package/src/tablecolumnresize/constants.js +32 -0
- package/src/tablecolumnresize/converters.js +126 -0
- package/src/tablecolumnresize/tablecolumnresizeediting.js +758 -0
- package/src/tablecolumnresize/utils.js +367 -0
- package/src/tablecolumnresize.js +36 -0
- package/src/tableediting.js +3 -5
- package/src/tablekeyboard.js +68 -66
- package/theme/tablecolumnresize.css +59 -0
- package/build/table.js.map +0 -1
|
@@ -0,0 +1,261 @@
|
|
|
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: Portuguese (https://www.transifex.com/ckeditor/teams/11143/pt/)\n"
|
|
16
|
+
"Language: pt\n"
|
|
17
|
+
"Plural-Forms: nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n"
|
|
18
|
+
|
|
19
|
+
msgctxt "Label for the insert table toolbar button."
|
|
20
|
+
msgid "Insert table"
|
|
21
|
+
msgstr ""
|
|
22
|
+
|
|
23
|
+
msgctxt "Label for the set/unset table header column button."
|
|
24
|
+
msgid "Header column"
|
|
25
|
+
msgstr ""
|
|
26
|
+
|
|
27
|
+
msgctxt "Label for the insert table column to the left of the current one button."
|
|
28
|
+
msgid "Insert column left"
|
|
29
|
+
msgstr ""
|
|
30
|
+
|
|
31
|
+
msgctxt "Label for the insert table column to the right of the current one button."
|
|
32
|
+
msgid "Insert column right"
|
|
33
|
+
msgstr ""
|
|
34
|
+
|
|
35
|
+
msgctxt "Label for the delete table column button."
|
|
36
|
+
msgid "Delete column"
|
|
37
|
+
msgstr ""
|
|
38
|
+
|
|
39
|
+
msgctxt "Label for the select the entire table column button."
|
|
40
|
+
msgid "Select column"
|
|
41
|
+
msgstr ""
|
|
42
|
+
|
|
43
|
+
msgctxt "Label for the table column dropdown button."
|
|
44
|
+
msgid "Column"
|
|
45
|
+
msgstr "Coluna"
|
|
46
|
+
|
|
47
|
+
msgctxt "Label for the set/unset table header row button."
|
|
48
|
+
msgid "Header row"
|
|
49
|
+
msgstr ""
|
|
50
|
+
|
|
51
|
+
msgctxt "Label for the insert row below button."
|
|
52
|
+
msgid "Insert row below"
|
|
53
|
+
msgstr ""
|
|
54
|
+
|
|
55
|
+
msgctxt "Label for the insert row above button."
|
|
56
|
+
msgid "Insert row above"
|
|
57
|
+
msgstr ""
|
|
58
|
+
|
|
59
|
+
msgctxt "Label for the delete table row button."
|
|
60
|
+
msgid "Delete row"
|
|
61
|
+
msgstr ""
|
|
62
|
+
|
|
63
|
+
msgctxt "Label for the select the entire table row button."
|
|
64
|
+
msgid "Select row"
|
|
65
|
+
msgstr ""
|
|
66
|
+
|
|
67
|
+
msgctxt "Label for the table row dropdown button."
|
|
68
|
+
msgid "Row"
|
|
69
|
+
msgstr ""
|
|
70
|
+
|
|
71
|
+
msgctxt "Label for the merge table cell up button."
|
|
72
|
+
msgid "Merge cell up"
|
|
73
|
+
msgstr ""
|
|
74
|
+
|
|
75
|
+
msgctxt "Label for the merge table cell right button."
|
|
76
|
+
msgid "Merge cell right"
|
|
77
|
+
msgstr ""
|
|
78
|
+
|
|
79
|
+
msgctxt "Label for the merge table cell down button."
|
|
80
|
+
msgid "Merge cell down"
|
|
81
|
+
msgstr ""
|
|
82
|
+
|
|
83
|
+
msgctxt "Label for the merge table cell left button."
|
|
84
|
+
msgid "Merge cell left"
|
|
85
|
+
msgstr ""
|
|
86
|
+
|
|
87
|
+
msgctxt "Label for the split table cell vertically button."
|
|
88
|
+
msgid "Split cell vertically"
|
|
89
|
+
msgstr ""
|
|
90
|
+
|
|
91
|
+
msgctxt "Label for the split table cell horizontally button."
|
|
92
|
+
msgid "Split cell horizontally"
|
|
93
|
+
msgstr ""
|
|
94
|
+
|
|
95
|
+
msgctxt "Label for the merge table cells button."
|
|
96
|
+
msgid "Merge cells"
|
|
97
|
+
msgstr "Fundir células"
|
|
98
|
+
|
|
99
|
+
msgctxt "The label used by assistive technologies describing a table toolbar attached to a table widget."
|
|
100
|
+
msgid "Table toolbar"
|
|
101
|
+
msgstr ""
|
|
102
|
+
|
|
103
|
+
msgctxt "The label describing the form allowing to specify the properties of a selected table."
|
|
104
|
+
msgid "Table properties"
|
|
105
|
+
msgstr ""
|
|
106
|
+
|
|
107
|
+
msgctxt "The label describing the form allowing to specify the properties of a selected table cell."
|
|
108
|
+
msgid "Cell properties"
|
|
109
|
+
msgstr ""
|
|
110
|
+
|
|
111
|
+
msgctxt "The label describing a group of border–related form fields (border style, color, etc.)."
|
|
112
|
+
msgid "Border"
|
|
113
|
+
msgstr ""
|
|
114
|
+
|
|
115
|
+
msgctxt "The label for the dropdown that allows configuring the border style of a table or a table cell."
|
|
116
|
+
msgid "Style"
|
|
117
|
+
msgstr ""
|
|
118
|
+
|
|
119
|
+
msgctxt "The label for the input that allows configuring the width of a table or a table cell or the width of a border."
|
|
120
|
+
msgid "Width"
|
|
121
|
+
msgstr ""
|
|
122
|
+
|
|
123
|
+
msgctxt "The label for the input that allows configuring the height of a table or a table cell."
|
|
124
|
+
msgid "Height"
|
|
125
|
+
msgstr ""
|
|
126
|
+
|
|
127
|
+
msgctxt "The label for the input that allows configuring the border color of a table or a table cell."
|
|
128
|
+
msgid "Color"
|
|
129
|
+
msgstr ""
|
|
130
|
+
|
|
131
|
+
msgctxt "The label for the input that allows configuring the background color of a table or a table cell."
|
|
132
|
+
msgid "Background"
|
|
133
|
+
msgstr ""
|
|
134
|
+
|
|
135
|
+
msgctxt "The label for the input that allows configuring the padding of a table cell."
|
|
136
|
+
msgid "Padding"
|
|
137
|
+
msgstr ""
|
|
138
|
+
|
|
139
|
+
msgctxt "The label describing a group of form fields that allows setting dimensions of a table or a table cell."
|
|
140
|
+
msgid "Dimensions"
|
|
141
|
+
msgstr ""
|
|
142
|
+
|
|
143
|
+
msgctxt "The label for the group of toolbars that allows configuring the text alignment in a table cell."
|
|
144
|
+
msgid "Table cell text alignment"
|
|
145
|
+
msgstr ""
|
|
146
|
+
|
|
147
|
+
msgctxt "The label for the toolbar that allows configuring the alignment of a table."
|
|
148
|
+
msgid "Alignment"
|
|
149
|
+
msgstr ""
|
|
150
|
+
|
|
151
|
+
msgctxt "The label used by assistive technologies describing a toolbar that allows configuring the horizontal text alignment in a table cell."
|
|
152
|
+
msgid "Horizontal text alignment toolbar"
|
|
153
|
+
msgstr ""
|
|
154
|
+
|
|
155
|
+
msgctxt "The label used by assistive technologies describing a toolbar that allows configuring the vertical text alignment in a table cell."
|
|
156
|
+
msgid "Vertical text alignment toolbar"
|
|
157
|
+
msgstr ""
|
|
158
|
+
|
|
159
|
+
msgctxt "The label used by assistive technologies describing a toolbar that allows configuring the alignment of a table."
|
|
160
|
+
msgid "Table alignment toolbar"
|
|
161
|
+
msgstr ""
|
|
162
|
+
|
|
163
|
+
msgctxt "The label for the border style dropdown when no style is applied to a table or a table cell."
|
|
164
|
+
msgid "None"
|
|
165
|
+
msgstr ""
|
|
166
|
+
|
|
167
|
+
msgctxt "The label for the border style dropdown when the solid border is applied to a table or a table cell."
|
|
168
|
+
msgid "Solid"
|
|
169
|
+
msgstr ""
|
|
170
|
+
|
|
171
|
+
msgctxt "The label for the border style dropdown when the dotted border is applied to a table or a table cell."
|
|
172
|
+
msgid "Dotted"
|
|
173
|
+
msgstr ""
|
|
174
|
+
|
|
175
|
+
msgctxt "The label for the border style dropdown when the dashed border is applied to a table or a table cell."
|
|
176
|
+
msgid "Dashed"
|
|
177
|
+
msgstr ""
|
|
178
|
+
|
|
179
|
+
msgctxt "The label for the border style dropdown when the double border is applied to a table or a table cell."
|
|
180
|
+
msgid "Double"
|
|
181
|
+
msgstr ""
|
|
182
|
+
|
|
183
|
+
msgctxt "The label for the border style dropdown when the groove border is applied to a table or a table cell."
|
|
184
|
+
msgid "Groove"
|
|
185
|
+
msgstr ""
|
|
186
|
+
|
|
187
|
+
msgctxt "The label for the border style dropdown when the ridge border is applied to a table or a table cell."
|
|
188
|
+
msgid "Ridge"
|
|
189
|
+
msgstr ""
|
|
190
|
+
|
|
191
|
+
msgctxt "The label for the border style dropdown when the inset border is applied to a table or a table cell."
|
|
192
|
+
msgid "Inset"
|
|
193
|
+
msgstr ""
|
|
194
|
+
|
|
195
|
+
msgctxt "The label for the border style dropdown when the outset border is applied to a table or a table cell."
|
|
196
|
+
msgid "Outset"
|
|
197
|
+
msgstr ""
|
|
198
|
+
|
|
199
|
+
msgctxt "The label used by assistive technologies describing a button that aligns the table cell text to the left."
|
|
200
|
+
msgid "Align cell text to the left"
|
|
201
|
+
msgstr ""
|
|
202
|
+
|
|
203
|
+
msgctxt "The label used by assistive technologies describing a button that aligns the table cell text to the center."
|
|
204
|
+
msgid "Align cell text to the center"
|
|
205
|
+
msgstr ""
|
|
206
|
+
|
|
207
|
+
msgctxt "The label used by assistive technologies describing a button that aligns the table cell text to the right."
|
|
208
|
+
msgid "Align cell text to the right"
|
|
209
|
+
msgstr ""
|
|
210
|
+
|
|
211
|
+
msgctxt "The label used by assistive technologies describing a button that justifies the table cell text."
|
|
212
|
+
msgid "Justify cell text"
|
|
213
|
+
msgstr ""
|
|
214
|
+
|
|
215
|
+
msgctxt "The label used by assistive technologies describing a button that aligns the table cell text to the top."
|
|
216
|
+
msgid "Align cell text to the top"
|
|
217
|
+
msgstr ""
|
|
218
|
+
|
|
219
|
+
msgctxt "The label used by assistive technologies describing a button that aligns the table cell text to the middle."
|
|
220
|
+
msgid "Align cell text to the middle"
|
|
221
|
+
msgstr ""
|
|
222
|
+
|
|
223
|
+
msgctxt "The label used by assistive technologies describing a button that aligns the table cell text to the bottom."
|
|
224
|
+
msgid "Align cell text to the bottom"
|
|
225
|
+
msgstr ""
|
|
226
|
+
|
|
227
|
+
msgctxt "The label used by assistive technologies describing a button that aligns the table to the left."
|
|
228
|
+
msgid "Align table to the left"
|
|
229
|
+
msgstr ""
|
|
230
|
+
|
|
231
|
+
msgctxt "The label used by assistive technologies describing a button that centers the table."
|
|
232
|
+
msgid "Center table"
|
|
233
|
+
msgstr ""
|
|
234
|
+
|
|
235
|
+
msgctxt "The label used by assistive technologies describing a button that aligns the table to the right."
|
|
236
|
+
msgid "Align table to the right"
|
|
237
|
+
msgstr ""
|
|
238
|
+
|
|
239
|
+
msgctxt "The localized error string that can be displayed next to color (background, border) fields that have an invalid value"
|
|
240
|
+
msgid "The color is invalid. Try \"#FF0000\" or \"rgb(255,0,0)\" or \"red\"."
|
|
241
|
+
msgstr ""
|
|
242
|
+
|
|
243
|
+
msgctxt "The localized error string that can be displayed next to length (padding, border width) fields that have an invalid value."
|
|
244
|
+
msgid "The value is invalid. Try \"10px\" or \"2em\" or simply \"2\"."
|
|
245
|
+
msgstr ""
|
|
246
|
+
|
|
247
|
+
msgctxt "The label used by assistive technologies describing a button that opens a color picker, where user can choose a configured color for a certain properties (eg.: background color, color, border-color etc.)."
|
|
248
|
+
msgid "Color picker"
|
|
249
|
+
msgstr ""
|
|
250
|
+
|
|
251
|
+
msgctxt "The button label for the table toolbar hiding caption attached to the table."
|
|
252
|
+
msgid "Toggle caption off"
|
|
253
|
+
msgstr ""
|
|
254
|
+
|
|
255
|
+
msgctxt "The button label for the table toolbar showing caption attached to the table."
|
|
256
|
+
msgid "Toggle caption on"
|
|
257
|
+
msgstr ""
|
|
258
|
+
|
|
259
|
+
msgctxt "The placeholder text for the table caption displayed when the caption is empty."
|
|
260
|
+
msgid "Enter table caption"
|
|
261
|
+
msgstr ""
|
package/lang/translations/sk.po
CHANGED
|
@@ -250,12 +250,12 @@ msgstr "Vybrať farbu"
|
|
|
250
250
|
|
|
251
251
|
msgctxt "The button label for the table toolbar hiding caption attached to the table."
|
|
252
252
|
msgid "Toggle caption off"
|
|
253
|
-
msgstr ""
|
|
253
|
+
msgstr "Vypnúť titulok"
|
|
254
254
|
|
|
255
255
|
msgctxt "The button label for the table toolbar showing caption attached to the table."
|
|
256
256
|
msgid "Toggle caption on"
|
|
257
|
-
msgstr ""
|
|
257
|
+
msgstr "Zapnúť titulok"
|
|
258
258
|
|
|
259
259
|
msgctxt "The placeholder text for the table caption displayed when the caption is empty."
|
|
260
260
|
msgid "Enter table caption"
|
|
261
|
-
msgstr ""
|
|
261
|
+
msgstr "Zadajte popis tabuľky"
|
|
@@ -0,0 +1,261 @@
|
|
|
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: Urdu (https://www.transifex.com/ckeditor/teams/11143/ur/)\n"
|
|
16
|
+
"Language: ur\n"
|
|
17
|
+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
|
18
|
+
|
|
19
|
+
msgctxt "Label for the insert table toolbar button."
|
|
20
|
+
msgid "Insert table"
|
|
21
|
+
msgstr "جدول داخل کریں"
|
|
22
|
+
|
|
23
|
+
msgctxt "Label for the set/unset table header column button."
|
|
24
|
+
msgid "Header column"
|
|
25
|
+
msgstr "سر ستون"
|
|
26
|
+
|
|
27
|
+
msgctxt "Label for the insert table column to the left of the current one button."
|
|
28
|
+
msgid "Insert column left"
|
|
29
|
+
msgstr ""
|
|
30
|
+
|
|
31
|
+
msgctxt "Label for the insert table column to the right of the current one button."
|
|
32
|
+
msgid "Insert column right"
|
|
33
|
+
msgstr ""
|
|
34
|
+
|
|
35
|
+
msgctxt "Label for the delete table column button."
|
|
36
|
+
msgid "Delete column"
|
|
37
|
+
msgstr "ستون حذف کریں"
|
|
38
|
+
|
|
39
|
+
msgctxt "Label for the select the entire table column button."
|
|
40
|
+
msgid "Select column"
|
|
41
|
+
msgstr ""
|
|
42
|
+
|
|
43
|
+
msgctxt "Label for the table column dropdown button."
|
|
44
|
+
msgid "Column"
|
|
45
|
+
msgstr "ستون"
|
|
46
|
+
|
|
47
|
+
msgctxt "Label for the set/unset table header row button."
|
|
48
|
+
msgid "Header row"
|
|
49
|
+
msgstr "سر قطار"
|
|
50
|
+
|
|
51
|
+
msgctxt "Label for the insert row below button."
|
|
52
|
+
msgid "Insert row below"
|
|
53
|
+
msgstr "قطار زیریں نصب کریں"
|
|
54
|
+
|
|
55
|
+
msgctxt "Label for the insert row above button."
|
|
56
|
+
msgid "Insert row above"
|
|
57
|
+
msgstr "قطار بالا نصب کریں"
|
|
58
|
+
|
|
59
|
+
msgctxt "Label for the delete table row button."
|
|
60
|
+
msgid "Delete row"
|
|
61
|
+
msgstr "قطار حذف کریں"
|
|
62
|
+
|
|
63
|
+
msgctxt "Label for the select the entire table row button."
|
|
64
|
+
msgid "Select row"
|
|
65
|
+
msgstr ""
|
|
66
|
+
|
|
67
|
+
msgctxt "Label for the table row dropdown button."
|
|
68
|
+
msgid "Row"
|
|
69
|
+
msgstr "قطار"
|
|
70
|
+
|
|
71
|
+
msgctxt "Label for the merge table cell up button."
|
|
72
|
+
msgid "Merge cell up"
|
|
73
|
+
msgstr "سیل اوپر یکجا کریں"
|
|
74
|
+
|
|
75
|
+
msgctxt "Label for the merge table cell right button."
|
|
76
|
+
msgid "Merge cell right"
|
|
77
|
+
msgstr "سیل دائیں طرف یکجا کریں"
|
|
78
|
+
|
|
79
|
+
msgctxt "Label for the merge table cell down button."
|
|
80
|
+
msgid "Merge cell down"
|
|
81
|
+
msgstr "سیل نچلی طرف یکجا کریں"
|
|
82
|
+
|
|
83
|
+
msgctxt "Label for the merge table cell left button."
|
|
84
|
+
msgid "Merge cell left"
|
|
85
|
+
msgstr "سیل بائیں طرف یکجا کریں"
|
|
86
|
+
|
|
87
|
+
msgctxt "Label for the split table cell vertically button."
|
|
88
|
+
msgid "Split cell vertically"
|
|
89
|
+
msgstr "سیل کی عمودی تقسیم"
|
|
90
|
+
|
|
91
|
+
msgctxt "Label for the split table cell horizontally button."
|
|
92
|
+
msgid "Split cell horizontally"
|
|
93
|
+
msgstr "سیل کی افقی تقسیم"
|
|
94
|
+
|
|
95
|
+
msgctxt "Label for the merge table cells button."
|
|
96
|
+
msgid "Merge cells"
|
|
97
|
+
msgstr "سیل یکجا کریں"
|
|
98
|
+
|
|
99
|
+
msgctxt "The label used by assistive technologies describing a table toolbar attached to a table widget."
|
|
100
|
+
msgid "Table toolbar"
|
|
101
|
+
msgstr "آلہ جات برائے جدول"
|
|
102
|
+
|
|
103
|
+
msgctxt "The label describing the form allowing to specify the properties of a selected table."
|
|
104
|
+
msgid "Table properties"
|
|
105
|
+
msgstr ""
|
|
106
|
+
|
|
107
|
+
msgctxt "The label describing the form allowing to specify the properties of a selected table cell."
|
|
108
|
+
msgid "Cell properties"
|
|
109
|
+
msgstr ""
|
|
110
|
+
|
|
111
|
+
msgctxt "The label describing a group of border–related form fields (border style, color, etc.)."
|
|
112
|
+
msgid "Border"
|
|
113
|
+
msgstr ""
|
|
114
|
+
|
|
115
|
+
msgctxt "The label for the dropdown that allows configuring the border style of a table or a table cell."
|
|
116
|
+
msgid "Style"
|
|
117
|
+
msgstr ""
|
|
118
|
+
|
|
119
|
+
msgctxt "The label for the input that allows configuring the width of a table or a table cell or the width of a border."
|
|
120
|
+
msgid "Width"
|
|
121
|
+
msgstr ""
|
|
122
|
+
|
|
123
|
+
msgctxt "The label for the input that allows configuring the height of a table or a table cell."
|
|
124
|
+
msgid "Height"
|
|
125
|
+
msgstr ""
|
|
126
|
+
|
|
127
|
+
msgctxt "The label for the input that allows configuring the border color of a table or a table cell."
|
|
128
|
+
msgid "Color"
|
|
129
|
+
msgstr ""
|
|
130
|
+
|
|
131
|
+
msgctxt "The label for the input that allows configuring the background color of a table or a table cell."
|
|
132
|
+
msgid "Background"
|
|
133
|
+
msgstr ""
|
|
134
|
+
|
|
135
|
+
msgctxt "The label for the input that allows configuring the padding of a table cell."
|
|
136
|
+
msgid "Padding"
|
|
137
|
+
msgstr ""
|
|
138
|
+
|
|
139
|
+
msgctxt "The label describing a group of form fields that allows setting dimensions of a table or a table cell."
|
|
140
|
+
msgid "Dimensions"
|
|
141
|
+
msgstr ""
|
|
142
|
+
|
|
143
|
+
msgctxt "The label for the group of toolbars that allows configuring the text alignment in a table cell."
|
|
144
|
+
msgid "Table cell text alignment"
|
|
145
|
+
msgstr ""
|
|
146
|
+
|
|
147
|
+
msgctxt "The label for the toolbar that allows configuring the alignment of a table."
|
|
148
|
+
msgid "Alignment"
|
|
149
|
+
msgstr ""
|
|
150
|
+
|
|
151
|
+
msgctxt "The label used by assistive technologies describing a toolbar that allows configuring the horizontal text alignment in a table cell."
|
|
152
|
+
msgid "Horizontal text alignment toolbar"
|
|
153
|
+
msgstr ""
|
|
154
|
+
|
|
155
|
+
msgctxt "The label used by assistive technologies describing a toolbar that allows configuring the vertical text alignment in a table cell."
|
|
156
|
+
msgid "Vertical text alignment toolbar"
|
|
157
|
+
msgstr ""
|
|
158
|
+
|
|
159
|
+
msgctxt "The label used by assistive technologies describing a toolbar that allows configuring the alignment of a table."
|
|
160
|
+
msgid "Table alignment toolbar"
|
|
161
|
+
msgstr ""
|
|
162
|
+
|
|
163
|
+
msgctxt "The label for the border style dropdown when no style is applied to a table or a table cell."
|
|
164
|
+
msgid "None"
|
|
165
|
+
msgstr ""
|
|
166
|
+
|
|
167
|
+
msgctxt "The label for the border style dropdown when the solid border is applied to a table or a table cell."
|
|
168
|
+
msgid "Solid"
|
|
169
|
+
msgstr ""
|
|
170
|
+
|
|
171
|
+
msgctxt "The label for the border style dropdown when the dotted border is applied to a table or a table cell."
|
|
172
|
+
msgid "Dotted"
|
|
173
|
+
msgstr ""
|
|
174
|
+
|
|
175
|
+
msgctxt "The label for the border style dropdown when the dashed border is applied to a table or a table cell."
|
|
176
|
+
msgid "Dashed"
|
|
177
|
+
msgstr ""
|
|
178
|
+
|
|
179
|
+
msgctxt "The label for the border style dropdown when the double border is applied to a table or a table cell."
|
|
180
|
+
msgid "Double"
|
|
181
|
+
msgstr ""
|
|
182
|
+
|
|
183
|
+
msgctxt "The label for the border style dropdown when the groove border is applied to a table or a table cell."
|
|
184
|
+
msgid "Groove"
|
|
185
|
+
msgstr ""
|
|
186
|
+
|
|
187
|
+
msgctxt "The label for the border style dropdown when the ridge border is applied to a table or a table cell."
|
|
188
|
+
msgid "Ridge"
|
|
189
|
+
msgstr ""
|
|
190
|
+
|
|
191
|
+
msgctxt "The label for the border style dropdown when the inset border is applied to a table or a table cell."
|
|
192
|
+
msgid "Inset"
|
|
193
|
+
msgstr ""
|
|
194
|
+
|
|
195
|
+
msgctxt "The label for the border style dropdown when the outset border is applied to a table or a table cell."
|
|
196
|
+
msgid "Outset"
|
|
197
|
+
msgstr ""
|
|
198
|
+
|
|
199
|
+
msgctxt "The label used by assistive technologies describing a button that aligns the table cell text to the left."
|
|
200
|
+
msgid "Align cell text to the left"
|
|
201
|
+
msgstr ""
|
|
202
|
+
|
|
203
|
+
msgctxt "The label used by assistive technologies describing a button that aligns the table cell text to the center."
|
|
204
|
+
msgid "Align cell text to the center"
|
|
205
|
+
msgstr ""
|
|
206
|
+
|
|
207
|
+
msgctxt "The label used by assistive technologies describing a button that aligns the table cell text to the right."
|
|
208
|
+
msgid "Align cell text to the right"
|
|
209
|
+
msgstr ""
|
|
210
|
+
|
|
211
|
+
msgctxt "The label used by assistive technologies describing a button that justifies the table cell text."
|
|
212
|
+
msgid "Justify cell text"
|
|
213
|
+
msgstr ""
|
|
214
|
+
|
|
215
|
+
msgctxt "The label used by assistive technologies describing a button that aligns the table cell text to the top."
|
|
216
|
+
msgid "Align cell text to the top"
|
|
217
|
+
msgstr ""
|
|
218
|
+
|
|
219
|
+
msgctxt "The label used by assistive technologies describing a button that aligns the table cell text to the middle."
|
|
220
|
+
msgid "Align cell text to the middle"
|
|
221
|
+
msgstr ""
|
|
222
|
+
|
|
223
|
+
msgctxt "The label used by assistive technologies describing a button that aligns the table cell text to the bottom."
|
|
224
|
+
msgid "Align cell text to the bottom"
|
|
225
|
+
msgstr ""
|
|
226
|
+
|
|
227
|
+
msgctxt "The label used by assistive technologies describing a button that aligns the table to the left."
|
|
228
|
+
msgid "Align table to the left"
|
|
229
|
+
msgstr ""
|
|
230
|
+
|
|
231
|
+
msgctxt "The label used by assistive technologies describing a button that centers the table."
|
|
232
|
+
msgid "Center table"
|
|
233
|
+
msgstr ""
|
|
234
|
+
|
|
235
|
+
msgctxt "The label used by assistive technologies describing a button that aligns the table to the right."
|
|
236
|
+
msgid "Align table to the right"
|
|
237
|
+
msgstr ""
|
|
238
|
+
|
|
239
|
+
msgctxt "The localized error string that can be displayed next to color (background, border) fields that have an invalid value"
|
|
240
|
+
msgid "The color is invalid. Try \"#FF0000\" or \"rgb(255,0,0)\" or \"red\"."
|
|
241
|
+
msgstr ""
|
|
242
|
+
|
|
243
|
+
msgctxt "The localized error string that can be displayed next to length (padding, border width) fields that have an invalid value."
|
|
244
|
+
msgid "The value is invalid. Try \"10px\" or \"2em\" or simply \"2\"."
|
|
245
|
+
msgstr ""
|
|
246
|
+
|
|
247
|
+
msgctxt "The label used by assistive technologies describing a button that opens a color picker, where user can choose a configured color for a certain properties (eg.: background color, color, border-color etc.)."
|
|
248
|
+
msgid "Color picker"
|
|
249
|
+
msgstr ""
|
|
250
|
+
|
|
251
|
+
msgctxt "The button label for the table toolbar hiding caption attached to the table."
|
|
252
|
+
msgid "Toggle caption off"
|
|
253
|
+
msgstr ""
|
|
254
|
+
|
|
255
|
+
msgctxt "The button label for the table toolbar showing caption attached to the table."
|
|
256
|
+
msgid "Toggle caption on"
|
|
257
|
+
msgstr ""
|
|
258
|
+
|
|
259
|
+
msgctxt "The placeholder text for the table caption displayed when the caption is empty."
|
|
260
|
+
msgid "Enter table caption"
|
|
261
|
+
msgstr ""
|
|
@@ -250,12 +250,12 @@ msgstr "颜色选择器"
|
|
|
250
250
|
|
|
251
251
|
msgctxt "The button label for the table toolbar hiding caption attached to the table."
|
|
252
252
|
msgid "Toggle caption off"
|
|
253
|
-
msgstr ""
|
|
253
|
+
msgstr "关闭表标题"
|
|
254
254
|
|
|
255
255
|
msgctxt "The button label for the table toolbar showing caption attached to the table."
|
|
256
256
|
msgid "Toggle caption on"
|
|
257
|
-
msgstr ""
|
|
257
|
+
msgstr "打开表标题"
|
|
258
258
|
|
|
259
259
|
msgctxt "The placeholder text for the table caption displayed when the caption is empty."
|
|
260
260
|
msgid "Enter table caption"
|
|
261
|
-
msgstr ""
|
|
261
|
+
msgstr "输入表标题"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-table",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "34.2.0",
|
|
4
4
|
"description": "Table feature for CKEditor 5.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ckeditor",
|
|
@@ -12,31 +12,34 @@
|
|
|
12
12
|
],
|
|
13
13
|
"main": "src/index.js",
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"ckeditor5": "^
|
|
15
|
+
"ckeditor5": "^34.2.0",
|
|
16
16
|
"lodash-es": "^4.17.15"
|
|
17
17
|
},
|
|
18
18
|
"devDependencies": {
|
|
19
|
-
"@ckeditor/ckeditor5-alignment": "^
|
|
20
|
-
"@ckeditor/ckeditor5-
|
|
21
|
-
"@ckeditor/ckeditor5-
|
|
22
|
-
"@ckeditor/ckeditor5-
|
|
23
|
-
"@ckeditor/ckeditor5-
|
|
24
|
-
"@ckeditor/ckeditor5-
|
|
25
|
-
"@ckeditor/ckeditor5-
|
|
26
|
-
"@ckeditor/ckeditor5-
|
|
27
|
-
"@ckeditor/ckeditor5-
|
|
28
|
-
"@ckeditor/ckeditor5-
|
|
29
|
-
"@ckeditor/ckeditor5-
|
|
30
|
-
"@ckeditor/ckeditor5-
|
|
31
|
-
"@ckeditor/ckeditor5-
|
|
32
|
-
"@ckeditor/ckeditor5-
|
|
33
|
-
"@ckeditor/ckeditor5-
|
|
34
|
-
"@ckeditor/ckeditor5-
|
|
35
|
-
"@ckeditor/ckeditor5-
|
|
36
|
-
"@ckeditor/ckeditor5-
|
|
37
|
-
"@ckeditor/ckeditor5-
|
|
38
|
-
"@ckeditor/ckeditor5-
|
|
39
|
-
"@ckeditor/ckeditor5-
|
|
19
|
+
"@ckeditor/ckeditor5-alignment": "^34.2.0",
|
|
20
|
+
"@ckeditor/ckeditor5-basic-styles": "^34.2.0",
|
|
21
|
+
"@ckeditor/ckeditor5-block-quote": "^34.2.0",
|
|
22
|
+
"@ckeditor/ckeditor5-clipboard": "^34.2.0",
|
|
23
|
+
"@ckeditor/ckeditor5-core": "^34.2.0",
|
|
24
|
+
"@ckeditor/ckeditor5-dev-utils": "^30.0.0",
|
|
25
|
+
"@ckeditor/ckeditor5-editor-classic": "^34.2.0",
|
|
26
|
+
"@ckeditor/ckeditor5-engine": "^34.2.0",
|
|
27
|
+
"@ckeditor/ckeditor5-highlight": "^34.2.0",
|
|
28
|
+
"@ckeditor/ckeditor5-horizontal-line": "^34.2.0",
|
|
29
|
+
"@ckeditor/ckeditor5-html-support": "^34.2.0",
|
|
30
|
+
"@ckeditor/ckeditor5-image": "^34.2.0",
|
|
31
|
+
"@ckeditor/ckeditor5-indent": "^34.2.0",
|
|
32
|
+
"@ckeditor/ckeditor5-link": "^34.2.0",
|
|
33
|
+
"@ckeditor/ckeditor5-list": "^34.2.0",
|
|
34
|
+
"@ckeditor/ckeditor5-media-embed": "^34.2.0",
|
|
35
|
+
"@ckeditor/ckeditor5-paragraph": "^34.2.0",
|
|
36
|
+
"@ckeditor/ckeditor5-theme-lark": "^34.2.0",
|
|
37
|
+
"@ckeditor/ckeditor5-typing": "^34.2.0",
|
|
38
|
+
"@ckeditor/ckeditor5-ui": "^34.2.0",
|
|
39
|
+
"@ckeditor/ckeditor5-undo": "^34.2.0",
|
|
40
|
+
"@ckeditor/ckeditor5-utils": "^34.2.0",
|
|
41
|
+
"@ckeditor/ckeditor5-widget": "^34.2.0",
|
|
42
|
+
"@ckeditor/ckeditor5-source-editing": "^34.2.0",
|
|
40
43
|
"json-diff": "^0.5.4",
|
|
41
44
|
"webpack": "^5.58.1",
|
|
42
45
|
"webpack-cli": "^4.9.0"
|
|
@@ -8,7 +8,6 @@
|
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
import { Command } from 'ckeditor5/src/core';
|
|
11
|
-
import { findOptimalInsertionRange } from 'ckeditor5/src/widget';
|
|
12
11
|
|
|
13
12
|
/**
|
|
14
13
|
* The insert table command.
|
|
@@ -51,12 +50,9 @@ export default class InsertTableCommand extends Command {
|
|
|
51
50
|
*/
|
|
52
51
|
execute( options = {} ) {
|
|
53
52
|
const model = this.editor.model;
|
|
54
|
-
const selection = model.document.selection;
|
|
55
53
|
const tableUtils = this.editor.plugins.get( 'TableUtils' );
|
|
56
54
|
const config = this.editor.config.get( 'table' );
|
|
57
55
|
|
|
58
|
-
const insertionRange = findOptimalInsertionRange( selection, model );
|
|
59
|
-
|
|
60
56
|
const defaultRows = config.defaultHeadings.rows;
|
|
61
57
|
const defaultColumns = config.defaultHeadings.columns;
|
|
62
58
|
|
|
@@ -71,7 +67,7 @@ export default class InsertTableCommand extends Command {
|
|
|
71
67
|
model.change( writer => {
|
|
72
68
|
const table = tableUtils.createTable( writer, options );
|
|
73
69
|
|
|
74
|
-
model.
|
|
70
|
+
model.insertObject( table, null, null, { findOptimalPosition: 'auto' } );
|
|
75
71
|
|
|
76
72
|
writer.setSelection( writer.createPositionAt( table.getNodeByPath( [ 0, 0, 0 ] ), 0 ) );
|
|
77
73
|
} );
|
package/src/index.js
CHANGED
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
* @module table
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
|
+
export { default as PlainTableOutput } from './plaintableoutput';
|
|
10
11
|
export { default as Table } from './table';
|
|
11
12
|
export { default as TableEditing } from './tableediting';
|
|
12
13
|
export { default as TableUI } from './tableui';
|
|
@@ -25,3 +26,5 @@ export { default as TableMouse } from './tablemouse';
|
|
|
25
26
|
export { default as TableKeyboard } from './tablekeyboard';
|
|
26
27
|
export { default as TableSelection } from './tableselection';
|
|
27
28
|
export { default as TableUtils } from './tableutils';
|
|
29
|
+
export { default as TableColumnResize } from './tablecolumnresize';
|
|
30
|
+
export { default as TableColumnResizeEditing } from './tablecolumnresize/tablecolumnresizeediting';
|