@ckeditor/ckeditor5-track-changes 34.1.0 → 35.1.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/build/track-changes.js +2 -2
- package/build/translations/ar.js +1 -0
- package/build/translations/az.js +1 -1
- package/build/translations/bg.js +1 -0
- package/build/translations/bn.js +1 -0
- package/build/translations/ca.js +1 -0
- package/build/translations/cs.js +1 -1
- package/build/translations/da.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/es.js +1 -1
- package/build/translations/et.js +1 -1
- package/build/translations/fi.js +1 -0
- package/build/translations/fr.js +1 -1
- package/build/translations/gl.js +1 -1
- package/build/translations/he.js +1 -0
- package/build/translations/hi.js +1 -1
- package/build/translations/hr.js +1 -1
- package/build/translations/hu.js +1 -0
- package/build/translations/id.js +1 -1
- package/build/translations/it.js +1 -1
- package/build/translations/ja.js +1 -0
- package/build/translations/ko.js +1 -0
- package/build/translations/lt.js +1 -0
- package/build/translations/lv.js +1 -0
- package/build/translations/ms.js +1 -0
- package/build/translations/nl.js +1 -1
- package/build/translations/no.js +1 -0
- package/build/translations/pl.js +1 -1
- package/build/translations/pt-br.js +1 -1
- package/build/translations/pt.js +1 -0
- package/build/translations/ro.js +1 -0
- package/build/translations/ru.js +1 -0
- package/build/translations/sk.js +1 -1
- package/build/translations/sr-latn.js +1 -1
- package/build/translations/sr.js +1 -1
- package/build/translations/sv.js +1 -0
- package/build/translations/th.js +1 -0
- package/build/translations/tk.js +1 -1
- package/build/translations/tr.js +1 -1
- package/build/translations/tt.js +1 -0
- package/build/translations/uk.js +1 -0
- package/build/translations/ur.js +1 -0
- package/build/translations/vi.js +1 -0
- package/build/translations/zh-cn.js +1 -1
- package/build/translations/zh.js +1 -1
- package/lang/contexts.json +2 -0
- package/lang/translations/ar.po +469 -0
- package/lang/translations/az.po +10 -0
- package/lang/translations/bg.po +397 -0
- package/lang/translations/bn.po +423 -0
- package/lang/translations/ca.po +397 -0
- package/lang/translations/cs.po +39 -27
- package/lang/translations/da.po +41 -31
- package/lang/translations/de.po +12 -2
- package/lang/translations/el.po +10 -0
- package/lang/translations/en-au.po +10 -0
- package/lang/translations/en.po +10 -0
- package/lang/translations/es.po +72 -44
- package/lang/translations/et.po +107 -97
- package/lang/translations/fi.po +397 -0
- package/lang/translations/fr.po +34 -6
- package/lang/translations/gl.po +10 -0
- package/lang/translations/he.po +433 -0
- package/lang/translations/hi.po +21 -11
- package/lang/translations/hr.po +11 -0
- package/lang/translations/hu.po +397 -0
- package/lang/translations/id.po +84 -75
- package/lang/translations/it.po +29 -1
- package/lang/translations/ja.po +379 -0
- package/lang/translations/ko.po +379 -0
- package/lang/translations/lt.po +433 -0
- package/lang/translations/lv.po +415 -0
- package/lang/translations/ms.po +379 -0
- package/lang/translations/nl.po +39 -29
- package/lang/translations/no.po +397 -0
- package/lang/translations/pl.po +25 -13
- package/lang/translations/pt-br.po +29 -1
- package/lang/translations/pt.po +415 -0
- package/lang/translations/ro.po +415 -0
- package/lang/translations/ru.po +435 -0
- package/lang/translations/sk.po +12 -0
- package/lang/translations/sr-latn.po +11 -0
- package/lang/translations/sr.po +62 -51
- package/lang/translations/sv.po +397 -0
- package/lang/translations/th.po +379 -0
- package/lang/translations/tk.po +10 -0
- package/lang/translations/tr.po +21 -11
- package/lang/translations/tt.po +379 -0
- package/lang/translations/uk.po +433 -0
- package/lang/translations/ur.po +397 -0
- package/lang/translations/vi.po +379 -0
- package/lang/translations/zh-cn.po +9 -0
- package/lang/translations/zh.po +73 -64
- package/package.json +5 -4
- package/src/commands/acceptallsuggestionscommand.js +1 -1
- package/src/commands/acceptselectedsuggestionscommand.js +1 -1
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardallsuggestionscommand.js +1 -1
- package/src/commands/discardselectedsuggestionscommand.js +1 -1
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/trackchangescommand.js +1 -1
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/ckbox.js +23 -0
- package/src/integrations/codeblock.js +1 -1
- package/src/integrations/comments.js +1 -1
- package/src/integrations/deletecommand.js +1 -1
- package/src/integrations/entercommand.js +1 -1
- package/src/integrations/font.js +1 -1
- package/src/integrations/heading.js +1 -1
- package/src/integrations/highlight.js +1 -1
- package/src/integrations/horizontalline.js +1 -1
- package/src/integrations/htmlembed.js +23 -0
- package/src/integrations/image.js +1 -1
- package/src/integrations/indent.js +1 -1
- package/src/integrations/inputcommand.js +1 -1
- package/src/integrations/link.js +1 -1
- package/src/integrations/list.js +1 -1
- package/src/integrations/mediaembed.js +1 -1
- package/src/integrations/mention.js +1 -1
- package/src/integrations/pagebreak.js +1 -1
- package/src/integrations/paragraph.js +1 -1
- package/src/integrations/removeformat.js +1 -1
- package/src/integrations/restrictededitingmode.js +1 -1
- package/src/integrations/shiftentercommand.js +1 -1
- package/src/integrations/standardeditingmode.js +1 -1
- package/src/integrations/style.js +23 -0
- package/src/integrations/table.js +1 -1
- package/src/integrations/tableclipboard.js +1 -1
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablemergesplit.js +1 -1
- package/src/integrations/title.js +1 -1
- package/src/integrations/undo.js +1 -1
- package/src/integrations/utils.js +1 -1
- package/src/suggestion.js +1 -1
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.js +1 -1
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.js +1 -1
- package/src/trackchangesui.js +1 -1
- package/src/ui/suggestioncontroller.js +1 -1
- package/src/ui/view/basesuggestionthreadview.js +1 -1
- package/src/ui/view/suggestionthreadview.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/getrangesofblockgroups.js +23 -0
- package/src/utils/getselectedsuggestions.js +1 -1
- package/src/utils/hashobject.js +1 -1
- package/src/utils/normalizedescription.js +1 -1
- package/src/utils/sortsuggestions.js +1 -1
package/lang/translations/zh.po
CHANGED
|
@@ -20,6 +20,10 @@ msgctxt "A suggestion for changing an item to the provided one."
|
|
|
20
20
|
msgid "*Change to:* %0"
|
|
21
21
|
msgstr "*更改成:*%0"
|
|
22
22
|
|
|
23
|
+
msgctxt "A suggestion for changing a content of a widget."
|
|
24
|
+
msgid "*Change %0 content*"
|
|
25
|
+
msgstr "*變更 %0 內容*"
|
|
26
|
+
|
|
23
27
|
msgctxt "A suggestion for checking a to-do list item."
|
|
24
28
|
msgid "*Check item*"
|
|
25
29
|
msgstr "*勾選項目*"
|
|
@@ -58,7 +62,7 @@ msgstr "*移除格式:*%0"
|
|
|
58
62
|
|
|
59
63
|
msgctxt "A suggestion for removing the highlight."
|
|
60
64
|
msgid "*Remove highlight*"
|
|
61
|
-
msgstr ""
|
|
65
|
+
msgstr "*刪除亮顯*"
|
|
62
66
|
|
|
63
67
|
msgctxt "A suggestion for removing image text alternative."
|
|
64
68
|
msgid "*Remove image text alternative*"
|
|
@@ -102,269 +106,274 @@ msgstr "*設定文字背景顏色:*%0"
|
|
|
102
106
|
|
|
103
107
|
msgctxt "A suggestion for setting the font color to %0."
|
|
104
108
|
msgid "*Set font color:* %0"
|
|
105
|
-
msgstr ""
|
|
109
|
+
msgstr "*設定字型顏色:* %0"
|
|
106
110
|
|
|
107
111
|
msgctxt "A suggestion for setting the font family to %0."
|
|
108
112
|
msgid "*Set font family:* %0"
|
|
109
|
-
msgstr ""
|
|
113
|
+
msgstr "*設定字型家族:*%0"
|
|
110
114
|
|
|
111
115
|
msgctxt "A suggestion for setting the font size to %0."
|
|
112
116
|
msgid "*Set font size:* %0"
|
|
113
|
-
msgstr ""
|
|
117
|
+
msgstr "*設定字型大小:*%0"
|
|
114
118
|
|
|
115
119
|
msgctxt "A suggestion for highlighting text."
|
|
116
120
|
msgid "*Set highlight:* %0"
|
|
117
|
-
msgstr ""
|
|
121
|
+
msgstr "*設定亮顯:*%0"
|
|
118
122
|
|
|
119
123
|
msgctxt "A suggestion for setting image text alternative to %0."
|
|
120
124
|
msgid "*Set image text alternative:* %0"
|
|
121
|
-
msgstr ""
|
|
125
|
+
msgstr "*設定影像替代文字:*%0"
|
|
122
126
|
|
|
123
127
|
msgctxt "A suggestion for setting the image width to %0."
|
|
124
128
|
msgid "*Set image width:* %0"
|
|
125
|
-
msgstr ""
|
|
129
|
+
msgstr "*設定影像寬度:*%0"
|
|
126
130
|
|
|
127
131
|
msgctxt "A suggestion for setting the link URL."
|
|
128
132
|
msgid "*Set link:* %0"
|
|
129
|
-
msgstr ""
|
|
133
|
+
msgstr "*設定連結:*%0"
|
|
130
134
|
|
|
131
135
|
msgctxt "A suggestion for splitting cells horizontally."
|
|
132
136
|
msgid "*Split cell:* horizontally"
|
|
133
|
-
msgstr ""
|
|
137
|
+
msgstr "*分割儲存格:* 水平"
|
|
134
138
|
|
|
135
139
|
msgctxt "A suggestion for splitting cells vertically."
|
|
136
140
|
msgid "*Split cell:* vertically"
|
|
137
|
-
msgstr ""
|
|
141
|
+
msgstr "*分割儲存格:* 垂直"
|
|
138
142
|
|
|
139
143
|
msgctxt "A suggestion for splitting the item."
|
|
140
144
|
msgid "*Split:* %0"
|
|
141
|
-
msgstr ""
|
|
145
|
+
msgstr "*分割:*%0"
|
|
142
146
|
|
|
143
147
|
msgctxt "A suggestion for unchecking a to-do list item."
|
|
144
148
|
msgid "*Uncheck item*"
|
|
145
|
-
msgstr ""
|
|
149
|
+
msgstr "*取消勾選項目*"
|
|
146
150
|
|
|
147
151
|
msgctxt "The label for the button which accepts all selected suggestions."
|
|
148
152
|
msgid "Accept all selected suggestions"
|
|
149
|
-
msgstr ""
|
|
153
|
+
msgstr "接受所有已選取的建議"
|
|
150
154
|
|
|
151
155
|
msgctxt "The label for the button which accepts all suggestions."
|
|
152
156
|
msgid "Accept all suggestions"
|
|
153
|
-
msgstr ""
|
|
157
|
+
msgstr "接受所有建議"
|
|
154
158
|
|
|
155
159
|
msgctxt "The label for the accept suggestion button."
|
|
156
160
|
msgid "Accept suggestion"
|
|
157
|
-
msgstr ""
|
|
161
|
+
msgstr "接受建議"
|
|
158
162
|
|
|
159
163
|
msgctxt "The label for the button which discards all selected suggestions."
|
|
160
164
|
msgid "Discard all selected suggestions"
|
|
161
|
-
msgstr ""
|
|
165
|
+
msgstr "捨棄所有選取的建議"
|
|
162
166
|
|
|
163
167
|
msgctxt "The label for the button which discards all suggestions."
|
|
164
168
|
msgid "Discard all suggestions"
|
|
165
|
-
msgstr ""
|
|
169
|
+
msgstr "捨棄所有建議"
|
|
166
170
|
|
|
167
171
|
msgctxt "The label for the discard suggestion button."
|
|
168
172
|
msgid "Discard suggestion"
|
|
169
|
-
msgstr ""
|
|
173
|
+
msgstr "捨棄建議"
|
|
170
174
|
|
|
171
175
|
msgctxt "The block quote element name displayed in the suggestion."
|
|
172
176
|
msgid "ELEMENT_BLOCK_QUOTE"
|
|
173
|
-
msgstr ""
|
|
177
|
+
msgstr "區塊引述"
|
|
174
178
|
|
|
175
179
|
msgctxt "The bulleted list element name displayed in the suggestion."
|
|
176
180
|
msgid "ELEMENT_BULLETED_LIST"
|
|
177
|
-
msgstr ""
|
|
181
|
+
msgstr "項目符號清單"
|
|
178
182
|
|
|
179
183
|
msgctxt "The caption element name displayed in the suggestion."
|
|
180
184
|
msgid "ELEMENT_CAPTION"
|
|
181
|
-
msgstr ""
|
|
185
|
+
msgstr "標號"
|
|
182
186
|
|
|
183
187
|
msgctxt "The code block element name displayed in the suggestion."
|
|
184
188
|
msgid "ELEMENT_CODE_BLOCK"
|
|
185
189
|
msgid_plural "%0 code blocks"
|
|
186
|
-
msgstr[0] ""
|
|
190
|
+
msgstr[0] "代碼區塊"
|
|
187
191
|
|
|
188
192
|
msgctxt "The heading element name displayed in the suggestion."
|
|
189
193
|
msgid "ELEMENT_HEADING"
|
|
190
194
|
msgid_plural "%0 headings (level %1)"
|
|
191
|
-
msgstr[0] ""
|
|
195
|
+
msgstr[0] "標題(層級 %1)"
|
|
192
196
|
|
|
193
197
|
msgctxt "The heading element name displayed in the suggestion with a custom title."
|
|
194
198
|
msgid "ELEMENT_HEADING_CUSTOM"
|
|
195
199
|
msgid_plural "%0 headings (%1)"
|
|
196
|
-
msgstr[0] ""
|
|
200
|
+
msgstr[0] "標題 (%1)"
|
|
197
201
|
|
|
198
202
|
msgctxt "The horizontal line element name displayed in the suggestion."
|
|
199
203
|
msgid "ELEMENT_HORIZONTAL_LINE"
|
|
200
204
|
msgid_plural "%0 horizontal lines"
|
|
201
|
-
msgstr[0] ""
|
|
205
|
+
msgstr[0] "水平線"
|
|
206
|
+
|
|
207
|
+
msgctxt "The HTML embed element name displayed in the suggestion."
|
|
208
|
+
msgid "ELEMENT_HTML_EMBED"
|
|
209
|
+
msgid_plural "%0 HTML embeds"
|
|
210
|
+
msgstr[0] "HTML 內嵌"
|
|
202
211
|
|
|
203
212
|
msgctxt "The image element name displayed in the suggestion."
|
|
204
213
|
msgid "ELEMENT_IMAGE"
|
|
205
214
|
msgid_plural "%0 images"
|
|
206
|
-
msgstr[0] ""
|
|
215
|
+
msgstr[0] "影像"
|
|
207
216
|
|
|
208
217
|
msgctxt "The inline image element name displayed in the suggestion."
|
|
209
218
|
msgid "ELEMENT_INLINE_IMAGE"
|
|
210
219
|
msgid_plural "%0 images"
|
|
211
|
-
msgstr[0] ""
|
|
220
|
+
msgstr[0] "影像"
|
|
212
221
|
|
|
213
222
|
msgctxt "The line break element name displayed in the suggestion."
|
|
214
223
|
msgid "ELEMENT_LINE_BREAK"
|
|
215
224
|
msgid_plural "%0 line breaks"
|
|
216
|
-
msgstr[0] ""
|
|
225
|
+
msgstr[0] "分行符號"
|
|
217
226
|
|
|
218
227
|
msgctxt "The list item element name displayed in the suggestion."
|
|
219
228
|
msgid "ELEMENT_LIST_ITEM"
|
|
220
229
|
msgid_plural "%0 list items"
|
|
221
|
-
msgstr[0] ""
|
|
230
|
+
msgstr[0] "清單項目"
|
|
222
231
|
|
|
223
232
|
msgctxt "The media element name displayed in the suggestion."
|
|
224
233
|
msgid "ELEMENT_MEDIA"
|
|
225
234
|
msgid_plural "%0 media items"
|
|
226
|
-
msgstr[0] ""
|
|
235
|
+
msgstr[0] "媒體項目"
|
|
227
236
|
|
|
228
237
|
msgctxt "The numbered list element name displayed in the suggestion."
|
|
229
238
|
msgid "ELEMENT_NUMBERED_LIST"
|
|
230
|
-
msgstr ""
|
|
239
|
+
msgstr "編號清單"
|
|
231
240
|
|
|
232
241
|
msgctxt "The page break element name displayed in the suggestion."
|
|
233
242
|
msgid "ELEMENT_PAGE_BREAK"
|
|
234
243
|
msgid_plural "%0 page breaks"
|
|
235
|
-
msgstr[0] ""
|
|
244
|
+
msgstr[0] "分頁符號"
|
|
236
245
|
|
|
237
246
|
msgctxt "The paragraph element name displayed in the suggestion."
|
|
238
247
|
msgid "ELEMENT_PARAGRAPH"
|
|
239
248
|
msgid_plural "%0 paragraphs"
|
|
240
|
-
msgstr[0] ""
|
|
249
|
+
msgstr[0] "段落"
|
|
241
250
|
|
|
242
251
|
msgctxt "The space element name displayed in the suggestion."
|
|
243
252
|
msgid "ELEMENT_SPACE"
|
|
244
253
|
msgid_plural "%0 spaces"
|
|
245
|
-
msgstr[0] ""
|
|
254
|
+
msgstr[0] "間距"
|
|
246
255
|
|
|
247
256
|
msgctxt "The table element name displayed in the suggestion."
|
|
248
257
|
msgid "ELEMENT_TABLE"
|
|
249
258
|
msgid_plural "%0 tables"
|
|
250
|
-
msgstr[0] ""
|
|
259
|
+
msgstr[0] "表格"
|
|
251
260
|
|
|
252
261
|
msgctxt "The table column element name displayed in the suggestion."
|
|
253
262
|
msgid "ELEMENT_TABLE_COLUMN"
|
|
254
263
|
msgid_plural "%0 table columns"
|
|
255
|
-
msgstr[0] ""
|
|
264
|
+
msgstr[0] "表格行"
|
|
256
265
|
|
|
257
266
|
msgctxt "The table column with text element name displayed in the suggestion."
|
|
258
267
|
msgid "ELEMENT_TABLE_COLUMN_WITH_TEXT"
|
|
259
268
|
msgid_plural "%0 table columns *with text* %1"
|
|
260
|
-
msgstr[0] ""
|
|
269
|
+
msgstr[0] "表格行*帶文字* %1"
|
|
261
270
|
|
|
262
271
|
msgctxt "The table row element name displayed in the suggestion."
|
|
263
272
|
msgid "ELEMENT_TABLE_ROW"
|
|
264
273
|
msgid_plural "%0 table rows"
|
|
265
|
-
msgstr[0] ""
|
|
274
|
+
msgstr[0] "表格列"
|
|
266
275
|
|
|
267
276
|
msgctxt "The table row with text element name displayed in the suggestion."
|
|
268
277
|
msgid "ELEMENT_TABLE_ROW_WITH_TEXT"
|
|
269
278
|
msgid_plural "%0 table rows *with text* %1"
|
|
270
|
-
msgstr[0] ""
|
|
279
|
+
msgstr[0] "表格列*帶文字* %1"
|
|
271
280
|
|
|
272
281
|
msgctxt "The table with text element name displayed in the suggestion."
|
|
273
282
|
msgid "ELEMENT_TABLE_WITH_TEXT"
|
|
274
|
-
msgstr ""
|
|
283
|
+
msgstr "表格*帶文字* %0"
|
|
275
284
|
|
|
276
285
|
msgctxt "The title element name displayed in the suggestion."
|
|
277
286
|
msgid "ELEMENT_TITLE"
|
|
278
|
-
msgstr ""
|
|
287
|
+
msgstr "大標題"
|
|
279
288
|
|
|
280
289
|
msgctxt "The to-do list element name displayed in the suggestion."
|
|
281
290
|
msgid "ELEMENT_TODO_LIST"
|
|
282
|
-
msgstr ""
|
|
291
|
+
msgstr "待辦事項清單"
|
|
283
292
|
|
|
284
293
|
msgctxt "The align to center format name displayed in a format suggestion."
|
|
285
294
|
msgid "FORMAT_ALIGN_TO_CENTER"
|
|
286
|
-
msgstr ""
|
|
295
|
+
msgstr "置中"
|
|
287
296
|
|
|
288
297
|
msgctxt "The align to left format name displayed in a format suggestion."
|
|
289
298
|
msgid "FORMAT_ALIGN_TO_LEFT"
|
|
290
|
-
msgstr ""
|
|
299
|
+
msgstr "靠左對齊"
|
|
291
300
|
|
|
292
301
|
msgctxt "The align to right format name displayed in a format suggestion."
|
|
293
302
|
msgid "FORMAT_ALIGN_TO_RIGHT"
|
|
294
|
-
msgstr ""
|
|
303
|
+
msgstr "靠右對齊"
|
|
295
304
|
|
|
296
305
|
msgctxt "The bold format name displayed in a format suggestion."
|
|
297
306
|
msgid "FORMAT_BOLD"
|
|
298
|
-
msgstr ""
|
|
307
|
+
msgstr "粗體"
|
|
299
308
|
|
|
300
309
|
msgctxt "The code format name displayed in a format suggestion."
|
|
301
310
|
msgid "FORMAT_CODE"
|
|
302
|
-
msgstr ""
|
|
311
|
+
msgstr "代碼"
|
|
303
312
|
|
|
304
313
|
msgctxt "The header column format name displayed in a format suggestion."
|
|
305
314
|
msgid "FORMAT_HEADER_COLUMN"
|
|
306
|
-
msgstr ""
|
|
315
|
+
msgstr "標題行"
|
|
307
316
|
|
|
308
317
|
msgctxt "The header row format name displayed in a format suggestion."
|
|
309
318
|
msgid "FORMAT_HEADER_ROW"
|
|
310
|
-
msgstr ""
|
|
319
|
+
msgstr "標題列"
|
|
311
320
|
|
|
312
321
|
msgctxt "The highlight format name displayed in a format suggestion."
|
|
313
322
|
msgid "FORMAT_HIGHLIGHT"
|
|
314
|
-
msgstr ""
|
|
323
|
+
msgstr "亮顯"
|
|
315
324
|
|
|
316
325
|
msgctxt "The italic format name displayed in a format suggestion."
|
|
317
326
|
msgid "FORMAT_ITALIC"
|
|
318
|
-
msgstr ""
|
|
327
|
+
msgstr "斜體"
|
|
319
328
|
|
|
320
329
|
msgctxt "The justify text format name displayed in a format suggestion."
|
|
321
330
|
msgid "FORMAT_JUSTIFY_TEXT"
|
|
322
|
-
msgstr ""
|
|
331
|
+
msgstr "左右對齊"
|
|
323
332
|
|
|
324
333
|
msgctxt "The regular column format name displayed in a format suggestion."
|
|
325
334
|
msgid "FORMAT_REGULAR_COLUMN"
|
|
326
|
-
msgstr ""
|
|
335
|
+
msgstr "標準行"
|
|
327
336
|
|
|
328
337
|
msgctxt "The regular row format name displayed in a format suggestion."
|
|
329
338
|
msgid "FORMAT_REGULAR_ROW"
|
|
330
|
-
msgstr ""
|
|
339
|
+
msgstr "標準列"
|
|
331
340
|
|
|
332
341
|
msgctxt "The label for area disabled in restricted editing area in a format suggestion."
|
|
333
342
|
msgid "FORMAT_RESTRICTED_DISABLED"
|
|
334
|
-
msgstr ""
|
|
343
|
+
msgstr "*在受限編輯模式下禁用*"
|
|
335
344
|
|
|
336
345
|
msgctxt "The label for area enabled in restricted editing area in a format suggestion."
|
|
337
346
|
msgid "FORMAT_RESTRICTED_ENABLED"
|
|
338
|
-
msgstr ""
|
|
347
|
+
msgstr "*在受限編輯模式下啟用*"
|
|
339
348
|
|
|
340
349
|
msgctxt "The side image format name displayed in a format suggestion."
|
|
341
350
|
msgid "FORMAT_SIDE_IMAGE"
|
|
342
|
-
msgstr ""
|
|
351
|
+
msgstr "側邊影像"
|
|
343
352
|
|
|
344
353
|
msgctxt "The strikethrough format name displayed in a format suggestion."
|
|
345
354
|
msgid "FORMAT_STRIKETHROUGH"
|
|
346
|
-
msgstr ""
|
|
355
|
+
msgstr "刪除線"
|
|
347
356
|
|
|
348
357
|
msgctxt "The subscript format name displayed in a format suggestion."
|
|
349
358
|
msgid "FORMAT_SUBSCRIPT"
|
|
350
|
-
msgstr ""
|
|
359
|
+
msgstr "下標"
|
|
351
360
|
|
|
352
361
|
msgctxt "The superscript format name displayed in a format suggestion."
|
|
353
362
|
msgid "FORMAT_SUPERSCRIPT"
|
|
354
|
-
msgstr ""
|
|
363
|
+
msgstr "上標"
|
|
355
364
|
|
|
356
365
|
msgctxt "The underline format name displayed in a format suggestion."
|
|
357
366
|
msgid "FORMAT_UNDERLINE"
|
|
358
|
-
msgstr ""
|
|
367
|
+
msgstr "底線"
|
|
359
368
|
|
|
360
369
|
msgctxt "The label for the alert shown when closing the editor with an unsaved track changes change."
|
|
361
370
|
msgid "PENDING_ACTION_SUGGESTION"
|
|
362
|
-
msgstr ""
|
|
371
|
+
msgstr "建議中未儲存的變更。"
|
|
363
372
|
|
|
364
373
|
msgctxt "A suggestion for replacing one text with another."
|
|
365
374
|
msgid "REPLACE_TEXT"
|
|
366
|
-
msgstr ""
|
|
375
|
+
msgstr "*取代:*%0 *變更為* %1"
|
|
367
376
|
|
|
368
377
|
msgctxt "The label for the dropdown containing some options related to track changes."
|
|
369
378
|
msgid "Track changes"
|
|
370
|
-
msgstr ""
|
|
379
|
+
msgstr "追蹤變更"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-track-changes",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "35.1.0",
|
|
4
4
|
"description": "CKEditor 5 track changes plugin.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "CKSource (http://cksource.com/)",
|
|
@@ -27,8 +27,9 @@
|
|
|
27
27
|
],
|
|
28
28
|
"main": "src/index.js",
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"ckeditor5": "^
|
|
31
|
-
"ckeditor5-collaboration": "^
|
|
32
|
-
"lodash-es": "^4.17.11"
|
|
30
|
+
"ckeditor5": "^35.1.0",
|
|
31
|
+
"ckeditor5-collaboration": "^35.1.0",
|
|
32
|
+
"lodash-es": "^4.17.11",
|
|
33
|
+
"@ckeditor/ckeditor5-style": "^35.1.0"
|
|
33
34
|
}
|
|
34
35
|
}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x443b=['isEnabled','isInContent','some','_acceptSuggestionCommand','from','execute','refresh','values','change','_suggestions'];(function(_0x127540,_0x443b2a){const _0x1bf853=function(_0x4fe74b){while(--_0x4fe74b){_0x127540['push'](_0x127540['shift']());}};_0x1bf853(++_0x443b2a);}(_0x443b,0xb1));const _0x1bf8=function(_0x127540,_0x443b2a){_0x127540=_0x127540-0x0;let _0x1bf853=_0x443b[_0x127540];return _0x1bf853;};import{Command as _0x3adaa3}from'ckeditor5/src/core';import _0x4a27c3 from'../utils/sortsuggestions';export default class R extends _0x3adaa3{constructor(_0x57b5a1,_0x4a323c,_0x5b036d){super(_0x57b5a1),this['_acceptSuggestionCommand']=_0x4a323c,this[_0x1bf8('0x2')]=_0x5b036d,this['refresh']();}[_0x1bf8('0x9')](){const _0x2c4214=this['_acceptSuggestionCommand'];this[_0x1bf8('0x3')]=_0x2c4214[_0x1bf8('0x3')]&&Array[_0x1bf8('0x7')](this['_suggestions'][_0x1bf8('0x0')]())[_0x1bf8('0x5')](_0x3fcf9e=>_0x3fcf9e[_0x1bf8('0x4')]);}['execute'](){this['editor']['model'][_0x1bf8('0x1')](()=>{const _0x1f76ed=_0x4a27c3(Array[_0x1bf8('0x7')](this['_suggestions']['values']()));for(const _0x1169ec of _0x1f76ed)_0x1169ec[_0x1bf8('0x4')]&&this[_0x1bf8('0x6')][_0x1bf8('0x8')](_0x1169ec['id']);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x58ba=['change','execute','size','from','isEnabled','_acceptSuggestionCommand','refresh','values','_suggestions','document','_selectedSuggestions','editor'];(function(_0x264265,_0x58ba8d){const _0xb0eea8=function(_0x28cb23){while(--_0x28cb23){_0x264265['push'](_0x264265['shift']());}};_0xb0eea8(++_0x58ba8d);}(_0x58ba,0x104));const _0xb0ee=function(_0x264265,_0x58ba8d){_0x264265=_0x264265-0x0;let _0xb0eea8=_0x58ba[_0x264265];return _0xb0eea8;};import{Command as _0x1791bb}from'ckeditor5/src/core';import _0x6fde29 from'../utils/sortsuggestions';import _0x2dd73a from'../utils/getselectedsuggestions';export default class j extends _0x1791bb{constructor(_0xf1db7b,_0x11fe64,_0x1578da){super(_0xf1db7b),this[_0xb0ee('0x9')]=_0x11fe64,this[_0xb0ee('0x0')]=_0x1578da,this[_0xb0ee('0x2')]=new Set(),this[_0xb0ee('0xa')]();}[_0xb0ee('0xa')](){const _0x546e0e=this[_0xb0ee('0x9')],_0x395c7d=this[_0xb0ee('0x3')]['model'][_0xb0ee('0x1')]['selection'],_0x417a8e=Array[_0xb0ee('0x7')](this[_0xb0ee('0x0')][_0xb0ee('0xb')]());this[_0xb0ee('0x2')]=_0x2dd73a(_0x395c7d,_0x417a8e),this[_0xb0ee('0x8')]=_0x546e0e[_0xb0ee('0x8')]&&!!this[_0xb0ee('0x2')][_0xb0ee('0x6')];}[_0xb0ee('0x5')](){this['editor']['model'][_0xb0ee('0x4')](()=>{const _0x2b4a81=_0x6fde29(Array[_0xb0ee('0x7')](this[_0xb0ee('0x2')]));for(const _0x159d8b of _0x2b4a81)this[_0xb0ee('0x9')][_0xb0ee('0x5')](_0x159d8b['id']);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4617=['isEnabled','track-changes-accept-suggestion-not-found','execute','TrackChangesEditing','_suggestions','acceptSuggestion','refresh','plugins','editor','get'];(function(_0x18a3fa,_0x461792){const _0x2af207=function(_0x2acbef){while(--_0x2acbef){_0x18a3fa['push'](_0x18a3fa['shift']());}};_0x2af207(++_0x461792);}(_0x4617,0xcb));const _0x2af2=function(_0x18a3fa,_0x461792){_0x18a3fa=_0x18a3fa-0x0;let _0x2af207=_0x4617[_0x18a3fa];return _0x2af207;};import{Command as _0x52c891}from'ckeditor5/src/core';import{CKEditorError as _0x36184a}from'ckeditor5/src/utils';export default class $ extends _0x52c891{constructor(_0x13239f,_0x473b89){super(_0x13239f),this[_0x2af2('0x1')]=_0x473b89,this[_0x2af2('0x3')]();}[_0x2af2('0x3')](){this[_0x2af2('0x7')]=!0x0;}[_0x2af2('0x9')](_0x43c75f){const _0xea7221=this[_0x2af2('0x1')][_0x2af2('0x6')](_0x43c75f);if(!_0xea7221)throw new _0x36184a(_0x2af2('0x8'),this);this[_0x2af2('0x5')][_0x2af2('0x4')][_0x2af2('0x6')](_0x2af2('0x0'))[_0x2af2('0x2')](_0xea7221);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2e3f=['execute','some','_suggestions','_discardSuggestionCommand','change','refresh','values','from','isInContent','isEnabled'];(function(_0x28a56f,_0x2e3fe2){const _0x56ffd1=function(_0x2a75aa){while(--_0x2a75aa){_0x28a56f['push'](_0x28a56f['shift']());}};_0x56ffd1(++_0x2e3fe2);}(_0x2e3f,0x10e));const _0x56ff=function(_0x28a56f,_0x2e3fe2){_0x28a56f=_0x28a56f-0x0;let _0x56ffd1=_0x2e3f[_0x28a56f];return _0x56ffd1;};import{Command as _0x4af57b}from'ckeditor5/src/core';export default class U extends _0x4af57b{constructor(_0xa3a185,_0x285b1b,_0x45fd58){super(_0xa3a185),this['_discardSuggestionCommand']=_0x285b1b,this[_0x56ff('0x2')]=_0x45fd58,this[_0x56ff('0x5')]();}['refresh'](){const _0x3d07b2=this[_0x56ff('0x3')];this['isEnabled']=_0x3d07b2[_0x56ff('0x9')]&&Array[_0x56ff('0x7')](this['_suggestions'][_0x56ff('0x6')]())[_0x56ff('0x1')](_0x426f46=>_0x426f46[_0x56ff('0x8')]);}[_0x56ff('0x0')](){this['editor']['model'][_0x56ff('0x4')](()=>{for(const _0x1f81cf of this['_suggestions'][_0x56ff('0x6')]())_0x1f81cf[_0x56ff('0x8')]&&this[_0x56ff('0x3')][_0x56ff('0x0')](_0x1f81cf['id']);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x51ac=['selection','values','isEnabled','editor','change','_suggestions','refresh','_selectedSuggestions','size','_discardSuggestionCommand','document'];(function(_0x17dd80,_0x51ac05){const _0x393f61=function(_0x283900){while(--_0x283900){_0x17dd80['push'](_0x17dd80['shift']());}};_0x393f61(++_0x51ac05);}(_0x51ac,0xc8));const _0x393f=function(_0x17dd80,_0x51ac05){_0x17dd80=_0x17dd80-0x0;let _0x393f61=_0x51ac[_0x17dd80];return _0x393f61;};import{Command as _0x1fab4a}from'ckeditor5/src/core';import _0x495226 from'../utils/getselectedsuggestions';export default class x extends _0x1fab4a{constructor(_0x108c01,_0x53ad86,_0x4c476e){super(_0x108c01),this['_discardSuggestionCommand']=_0x53ad86,this['_suggestions']=_0x4c476e,this[_0x393f('0x5')]=new Set(),this[_0x393f('0x4')]();}[_0x393f('0x4')](){const _0x3289fb=this[_0x393f('0x7')],_0x132310=this[_0x393f('0x1')]['model'][_0x393f('0x8')][_0x393f('0x9')],_0x5bb6f9=Array['from'](this[_0x393f('0x3')][_0x393f('0xa')]());this[_0x393f('0x5')]=_0x495226(_0x132310,_0x5bb6f9),this[_0x393f('0x0')]=_0x3289fb[_0x393f('0x0')]&&!!this['_selectedSuggestions'][_0x393f('0x6')];}['execute'](){this['editor']['model'][_0x393f('0x2')](()=>{for(const _0x31dffa of this[_0x393f('0x5')])this['_discardSuggestionCommand']['execute'](_0x31dffa['id']);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x35e5=['get','editor','execute','refresh','track-changes-discard-suggestion-not-found','TrackChangesEditing','plugins','_suggestions'];(function(_0x35bff5,_0x35e51d){const _0x1bcc3f=function(_0x346a66){while(--_0x346a66){_0x35bff5['push'](_0x35bff5['shift']());}};_0x1bcc3f(++_0x35e51d);}(_0x35e5,0x145));const _0x1bcc=function(_0x35bff5,_0x35e51d){_0x35bff5=_0x35bff5-0x0;let _0x1bcc3f=_0x35e5[_0x35bff5];return _0x1bcc3f;};import{Command as _0x3b8618}from'ckeditor5/src/core';import{CKEditorError as _0xdb67fd}from'ckeditor5/src/utils';export default class N extends _0x3b8618{constructor(_0xbe96,_0x230ee2){super(_0xbe96),this[_0x1bcc('0x2')]=_0x230ee2,this[_0x1bcc('0x6')]();}['refresh'](){this['isEnabled']=!0x0;}[_0x1bcc('0x5')](_0x2cf5b3){const _0x1665d6=this[_0x1bcc('0x2')][_0x1bcc('0x3')](_0x2cf5b3);if(!_0x1665d6)throw new _0xdb67fd(_0x1bcc('0x7'),this);this[_0x1bcc('0x4')][_0x1bcc('0x1')][_0x1bcc('0x3')](_0x1bcc('0x0'))['discardSuggestion'](_0x1665d6);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x279d=['execute','clearForceDisabled','_disableUnsupportedCommands','commands','_enableCommands','TrackChangesCommand','_enabledCommands','forceDisabled','value','affectsData','isEnabled','editor','has','refresh'];(function(_0x1a57b6,_0x279d0f){const _0x3f6605=function(_0xeda5fb){while(--_0xeda5fb){_0x1a57b6['push'](_0x1a57b6['shift']());}};_0x3f6605(++_0x279d0f);}(_0x279d,0xd2));const _0x3f66=function(_0x1a57b6,_0x279d0f){_0x1a57b6=_0x1a57b6-0x0;let _0x3f6605=_0x279d[_0x1a57b6];return _0x3f6605;};import{Command as _0x243d52}from'ckeditor5/src/core';export default class M extends _0x243d52{constructor(_0x47543e,_0xb1383a){super(_0x47543e),this[_0x3f66('0x6')]=_0xb1383a,this[_0x3f66('0x8')]=!0x1,this[_0x3f66('0xd')]();}[_0x3f66('0xd')](){this[_0x3f66('0xa')]=!0x0;}[_0x3f66('0x0')](){this[_0x3f66('0x8')]=!this[_0x3f66('0x8')],this[_0x3f66('0x8')]?this[_0x3f66('0x2')]():this[_0x3f66('0x4')]();}['_disableUnsupportedCommands'](){for(const _0x1fce89 of this[_0x3f66('0xb')][_0x3f66('0x3')][_0x3f66('0x3')]())_0x1fce89[_0x3f66('0x9')]&&!this[_0x3f66('0x6')]['has'](_0x1fce89)&&_0x1fce89[_0x3f66('0x7')]('TrackChangesCommand');}[_0x3f66('0x4')](){for(const _0xbf9ddc of this[_0x3f66('0xb')][_0x3f66('0x3')][_0x3f66('0x3')]())_0xbf9ddc[_0x3f66('0x9')]&&!this[_0x3f66('0x6')][_0x3f66('0xc')](_0xbf9ddc)&&_0xbf9ddc[_0x3f66('0x1')](_0x3f66('0x5'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x21d6=['ltr','has','locale','editor','registerDescriptionCallback','commandParams','FORMAT_ALIGN_TO_RIGHT','contentLanguageDirection','checkAttribute','TrackChangesEditing','markBlockFormat','getSelectedBlocks','model','change','from','AlignmentEditing','selection','value','right','alignment','left','FORMAT_JUSTIFY_TEXT','afterInit','FORMAT_ALIGN_TO_LEFT','document','center','_descriptionFactory','justify','plugins','FORMAT_ALIGN_TO_CENTER','enableCommand','format'];(function(_0x4946f7,_0x21d6c5){const _0x3e3c5b=function(_0x9cebab){while(--_0x9cebab){_0x4946f7['push'](_0x4946f7['shift']());}};_0x3e3c5b(++_0x21d6c5);}(_0x21d6,0x198));const _0x3e3c=function(_0x4946f7,_0x21d6c5){_0x4946f7=_0x4946f7-0x0;let _0x3e3c5b=_0x21d6[_0x4946f7];return _0x3e3c5b;};import{Plugin as _0x4ac49}from'ckeditor5/src/core';import{getTranslation as _0x288037}from'../utils/common-translations';export default class E extends _0x4ac49{[_0x3e3c('0x1e')](){const _0x47a96c=this[_0x3e3c('0xb')],_0x1c403f=_0x47a96c[_0x3e3c('0xa')];if(!_0x47a96c[_0x3e3c('0x4')][_0x3e3c('0x9')](_0x3e3c('0x17')))return;const _0x1f2e29=_0x47a96c['plugins']['get'](_0x3e3c('0x11'));_0x1f2e29[_0x3e3c('0x6')](_0x3e3c('0x1b'),(_0xc5b750,_0x20dbd1={})=>{let _0x210dc2=_0x20dbd1['value'];_0x20dbd1[_0x3e3c('0x19')]||(_0x210dc2=_0x3e3c('0x8')===_0x47a96c[_0x3e3c('0xa')][_0x3e3c('0xf')]?_0x3e3c('0x1c'):'right');const _0x224ef9=Array[_0x3e3c('0x16')](this['editor']['model'][_0x3e3c('0x0')][_0x3e3c('0x18')][_0x3e3c('0x13')]())['filter'](_0x494cc9=>function(_0x3749a2,_0x16f99a,_0x53c2ae){const _0x1b6e85=_0x3749a2['getAttribute'](_0x3e3c('0x1b'))||null;return _0x16f99a[_0x3e3c('0x10')](_0x3749a2,_0x3e3c('0x1b'))&&_0x53c2ae!=_0x1b6e85;}(_0x494cc9,this[_0x3e3c('0xb')][_0x3e3c('0x14')]['schema'],_0x210dc2));_0x47a96c[_0x3e3c('0x14')][_0x3e3c('0x15')](()=>{for(const _0x406c86 of _0x224ef9)_0x1f2e29[_0x3e3c('0x12')](_0x406c86,{'commandName':_0x3e3c('0x1b'),'commandParams':[{'value':_0x210dc2}]});});}),_0x1f2e29[_0x3e3c('0x2')][_0x3e3c('0xc')](_0x24036f=>{const {data:_0x3842f7}=_0x24036f;if(_0x3842f7&&_0x3e3c('0x1b')==_0x3842f7['commandName']){const _0x53a8ee=_0x3842f7[_0x3e3c('0xd')][0x0][_0x3e3c('0x19')];return{'type':_0x3e3c('0x7'),'content':_0x288037(_0x1c403f,'*Format:*\x20%0',function(_0x5204b9){switch(_0x5204b9){case'left':return _0x288037(_0x1c403f,_0x3e3c('0x1f'));case _0x3e3c('0x1a'):return _0x288037(_0x1c403f,_0x3e3c('0xe'));case _0x3e3c('0x1'):return _0x288037(_0x1c403f,_0x3e3c('0x5'));case _0x3e3c('0x3'):return _0x288037(_0x1c403f,_0x3e3c('0x1d'));}}(_0x53a8ee))};}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1ddc=['SuperscriptEditing','FORMAT_SUBSCRIPT','italic','registerDescriptionCallback','commands','TrackChangesEditing','ItalicEditing','isCollapsed','model','markInlineFormat','value','getRanges','selection','FORMAT_ITALIC','BoldEditing','plugins','CodeEditing','superscript','change','document','get','commandParams','format','FORMAT_UNDERLINE','afterInit','has','forceValue','toLowerCase','FORMAT_SUPERSCRIPT','from','code','strikethrough','slice','enableCommand','subscript','bold','StrikethroughEditing','FORMAT_STRIKETHROUGH','FORMAT_CODE'];(function(_0x2570c9,_0x1ddc31){const _0x4a2e3a=function(_0x42ed65){while(--_0x42ed65){_0x2570c9['push'](_0x2570c9['shift']());}};_0x4a2e3a(++_0x1ddc31);}(_0x1ddc,0x101));const _0x4a2e=function(_0x2570c9,_0x1ddc31){_0x2570c9=_0x2570c9-0x0;let _0x4a2e3a=_0x1ddc[_0x2570c9];return _0x4a2e3a;};import{Plugin as _0x342204}from'ckeditor5/src/core';import{getTranslation as _0x287b7c}from'../utils/common-translations';import{getRangesWithAttribute as _0x148fc4}from'./utils';const Ft=[_0x4a2e('0x1e'),_0x4a2e('0x16'),'UnderlineEditing',_0x4a2e('0x20'),_0x4a2e('0xd'),'SubscriptEditing',_0x4a2e('0x10')];export default class O extends _0x342204{[_0x4a2e('0x1')](){const _0x475282=this['editor'],_0x1c4fba=_0x475282[_0x4a2e('0x18')],_0x5e2bfa=_0x475282['plugins'][_0x4a2e('0x24')](_0x4a2e('0x15')),_0x2beb92=_0x475282['locale'];for(const _0x219b3b of Ft){if(!_0x475282[_0x4a2e('0x1f')][_0x4a2e('0x2')](_0x219b3b))continue;const _0x4c9f61=_0x219b3b[_0x4a2e('0x9')](0x0,-0x7)[_0x4a2e('0x4')](),_0x373c0c=_0x475282[_0x4a2e('0x14')][_0x4a2e('0x24')](_0x4c9f61);_0x5e2bfa[_0x4a2e('0xa')](_0x4c9f61,(_0xc8ba63,_0x31fb1c={})=>{const _0x14ba40=_0x1c4fba[_0x4a2e('0x23')][_0x4a2e('0x1c')];if(_0x14ba40[_0x4a2e('0x17')])return void _0xc8ba63(_0x31fb1c);const _0x2b706e=void 0x0!==_0x31fb1c[_0x4a2e('0x3')]?_0x31fb1c[_0x4a2e('0x3')]:!_0x373c0c[_0x4a2e('0x1a')];_0x1c4fba[_0x4a2e('0x22')](()=>{const _0x3fe7a2=Array[_0x4a2e('0x6')](_0x14ba40[_0x4a2e('0x1b')]());for(const _0x3a6e0a of _0x3fe7a2){const _0x1d9c63=_0x2b706e?[_0x3a6e0a]:_0x148fc4(_0x4c9f61,_0x3a6e0a,_0x1c4fba);for(const _0x2eafde of _0x1d9c63)_0x5e2bfa[_0x4a2e('0x19')](_0x2eafde,{'commandName':_0x4c9f61,'commandParams':[{'forceValue':_0x2b706e}]});}});});}function _0x5d59fb(_0x53a4f4,_0x1852a2){_0x5e2bfa['_descriptionFactory'][_0x4a2e('0x13')](_0x4c8c7d=>{const {data:_0x395e14}=_0x4c8c7d;if(_0x395e14&&_0x395e14['commandName']===_0x53a4f4)return _0x395e14[_0x4a2e('0x25')][0x0][_0x4a2e('0x3')]?{'type':_0x4a2e('0x26'),'content':_0x287b7c(_0x2beb92,'*Format:*\x20%0',_0x1852a2)}:{'type':'format','content':_0x287b7c(_0x2beb92,'*Remove\x20format:*\x20%0',_0x1852a2)};});}_0x5d59fb(_0x4a2e('0xc'),_0x287b7c(_0x2beb92,'FORMAT_BOLD')),_0x5d59fb(_0x4a2e('0x12'),_0x287b7c(_0x2beb92,_0x4a2e('0x1d'))),_0x5d59fb('underline',_0x287b7c(_0x2beb92,_0x4a2e('0x0'))),_0x5d59fb(_0x4a2e('0x7'),_0x287b7c(_0x2beb92,_0x4a2e('0xf'))),_0x5d59fb(_0x4a2e('0x8'),_0x287b7c(_0x2beb92,_0x4a2e('0xe'))),_0x5d59fb(_0x4a2e('0xb'),_0x287b7c(_0x2beb92,_0x4a2e('0x11'))),_0x5d59fb(_0x4a2e('0x21'),_0x287b7c(_0x2beb92,_0x4a2e('0x5')));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2ba2=['getSelectedBlocks','commands','afterInit','forceValue','locale','parent','enableCommand','markBlockFormat','get','schema','ELEMENT_BLOCK_QUOTE','model','BlockQuoteEditing','filter','registerDescriptionCallback','TrackChangesEditing','*Remove\x20format:*\x20%0','checkChild','has','document','name','commandParams','*Format:*\x20%0','editor','format','blockQuote','plugins','change'];(function(_0x18b1f1,_0x2ba25c){const _0xb1b29b=function(_0x575a14){while(--_0x575a14){_0x18b1f1['push'](_0x18b1f1['shift']());}};_0xb1b29b(++_0x2ba25c);}(_0x2ba2,0xcb));const _0xb1b2=function(_0x18b1f1,_0x2ba25c){_0x18b1f1=_0x18b1f1-0x0;let _0xb1b29b=_0x2ba2[_0x18b1f1];return _0xb1b29b;};import{Plugin as _0x596004}from'ckeditor5/src/core';import{getTranslation as _0x27a177}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x32deaf}from'../utils/getrangesofblockgroups';export default class P extends _0x596004{[_0xb1b2('0x17')](){const _0x28f808=this[_0xb1b2('0x10')],_0x463731=_0x28f808[_0xb1b2('0x19')];if(!_0x28f808['plugins'][_0xb1b2('0xb')](_0xb1b2('0x5')))return;const _0x3944ac=_0x28f808[_0xb1b2('0x13')][_0xb1b2('0x1')](_0xb1b2('0x8')),_0x5419b8=this['editor'][_0xb1b2('0x16')]['get'](_0xb1b2('0x12'));_0x3944ac[_0xb1b2('0x1b')]('blockQuote',(_0x4eafed,_0x3a72ac={})=>{const _0x23abd7=this[_0xb1b2('0x10')]['model'][_0xb1b2('0xc')]['selection'],_0x3b96f5=_0x3a72ac&&void 0x0!==_0x3a72ac[_0xb1b2('0x18')]?_0x3a72ac['forceValue']:!_0x5419b8['value'];let _0x4e02fa=[];if(_0x3b96f5){const _0x175163=Array['from'](_0x23abd7[_0xb1b2('0x15')]())[_0xb1b2('0x6')](_0x226a62=>to(_0x226a62)||function(_0x3de999,_0x4a5f0c){const _0x128c9d=_0x4a5f0c[_0xb1b2('0xa')](_0x3de999[_0xb1b2('0x1a')],_0xb1b2('0x12')),_0x2bd39f=_0x4a5f0c[_0xb1b2('0xa')](['$root','blockQuote'],_0x3de999);return _0x128c9d&&_0x2bd39f;}(_0x226a62,this[_0xb1b2('0x10')]['model'][_0xb1b2('0x2')]));_0x4e02fa=_0x32deaf(_0x175163,_0x28f808[_0xb1b2('0x4')]);}else{const _0x424046=Array['from'](_0x23abd7[_0xb1b2('0x15')]())[_0xb1b2('0x6')](_0x1a272a=>to(_0x1a272a));_0x4e02fa=_0x32deaf(_0x424046,_0x28f808[_0xb1b2('0x4')]);}_0x28f808[_0xb1b2('0x4')][_0xb1b2('0x14')](()=>{for(const _0x4a017c of _0x4e02fa)_0x3944ac[_0xb1b2('0x0')](_0x4a017c,{'commandName':_0xb1b2('0x12'),'commandParams':[{'forceValue':_0x3b96f5}]});});}),_0x3944ac['_descriptionFactory'][_0xb1b2('0x7')](_0x3c9ee6=>{const {data:_0x38021c}=_0x3c9ee6;if(_0x38021c&&_0xb1b2('0x12')==_0x38021c['commandName']){const _0x92182b=_0x27a177(_0x463731,_0xb1b2('0x3'));return _0x38021c[_0xb1b2('0xe')][0x0][_0xb1b2('0x18')]?{'type':_0xb1b2('0x11'),'content':_0x27a177(_0x463731,_0xb1b2('0xf'),_0x92182b)}:{'type':_0xb1b2('0x11'),'content':_0x27a177(_0x463731,_0xb1b2('0x9'),_0x92182b)};}});}}function to(_0x20c783){return _0xb1b2('0x12')==_0x20c783[_0xb1b2('0x1a')][_0xb1b2('0xd')];}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2016 - 2022, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* +---------------------------------------------------------------------------------+
|
|
8
|
+
* | |
|
|
9
|
+
* | Hello stranger! |
|
|
10
|
+
* | |
|
|
11
|
+
* | |
|
|
12
|
+
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
+
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
+
* | are forbidden and will result in legal consequences. |
|
|
15
|
+
* | |
|
|
16
|
+
* | |
|
|
17
|
+
* +---------------------------------------------------------------------------------+
|
|
18
|
+
*
|
|
19
|
+
*
|
|
20
|
+
*
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
const _0x5b50=['commands','editor','afterInit','ckbox','plugins','TrackChangesEditing','enableCommand'];(function(_0x5ccbb8,_0x5b5091){const _0x450e5e=function(_0x4f0d1c){while(--_0x4f0d1c){_0x5ccbb8['push'](_0x5ccbb8['shift']());}};_0x450e5e(++_0x5b5091);}(_0x5b50,0x1ea));const _0x450e=function(_0x5ccbb8,_0x5b5091){_0x5ccbb8=_0x5ccbb8-0x0;let _0x450e5e=_0x5b50[_0x5ccbb8];return _0x450e5e;};import{Plugin as _0x52ee98}from'ckeditor5/src/core';export default class G extends _0x52ee98{[_0x450e('0x2')](){const _0x122691=this[_0x450e('0x1')];_0x122691[_0x450e('0x0')]['get']('ckbox')&&_0x122691[_0x450e('0x4')]['get'](_0x450e('0x5'))[_0x450e('0x6')](_0x450e('0x3'));}}
|