@ckeditor/ckeditor5-track-changes 34.1.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/build/track-changes.js +2 -2
- package/build/translations/az.js +1 -1
- 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/fr.js +1 -1
- package/build/translations/gl.js +1 -1
- package/build/translations/hi.js +1 -1
- package/build/translations/hr.js +1 -1
- package/build/translations/id.js +1 -1
- package/build/translations/it.js +1 -1
- package/build/translations/lv.js +1 -0
- package/build/translations/nl.js +1 -1
- package/build/translations/pl.js +1 -1
- package/build/translations/pt-br.js +1 -1
- 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/tk.js +1 -1
- package/build/translations/tr.js +1 -1
- package/build/translations/zh-cn.js +1 -1
- package/build/translations/zh.js +1 -1
- package/lang/contexts.json +2 -0
- package/lang/translations/az.po +10 -0
- package/lang/translations/cs.po +12 -0
- package/lang/translations/da.po +10 -0
- package/lang/translations/de.po +10 -0
- 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 +29 -1
- package/lang/translations/et.po +10 -0
- package/lang/translations/fr.po +29 -1
- package/lang/translations/gl.po +10 -0
- package/lang/translations/hi.po +10 -0
- package/lang/translations/hr.po +11 -0
- package/lang/translations/id.po +9 -0
- package/lang/translations/it.po +29 -1
- package/lang/translations/lv.po +415 -0
- package/lang/translations/nl.po +10 -0
- package/lang/translations/pl.po +12 -0
- package/lang/translations/pt-br.po +29 -1
- package/lang/translations/sk.po +12 -0
- package/lang/translations/sr-latn.po +11 -0
- package/lang/translations/sr.po +11 -0
- package/lang/translations/tk.po +10 -0
- package/lang/translations/tr.po +10 -0
- package/lang/translations/zh-cn.po +9 -0
- package/lang/translations/zh.po +9 -0
- package/package.json +3 -3
- 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/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/pl.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 "*Zamień na:* %0"
|
|
22
22
|
|
|
23
|
+
msgctxt "A suggestion for changing a content of a widget."
|
|
24
|
+
msgid "*Change %0 content*"
|
|
25
|
+
msgstr ""
|
|
26
|
+
|
|
23
27
|
msgctxt "A suggestion for checking a to-do list item."
|
|
24
28
|
msgid "*Check item*"
|
|
25
29
|
msgstr "*Zaznacz*"
|
|
@@ -212,6 +216,14 @@ msgstr[1] "%0 linie poziome"
|
|
|
212
216
|
msgstr[2] "%0 linii poziomych"
|
|
213
217
|
msgstr[3] "%0 linii poziomych"
|
|
214
218
|
|
|
219
|
+
msgctxt "The HTML embed element name displayed in the suggestion."
|
|
220
|
+
msgid "ELEMENT_HTML_EMBED"
|
|
221
|
+
msgid_plural "%0 HTML embeds"
|
|
222
|
+
msgstr[0] ""
|
|
223
|
+
msgstr[1] ""
|
|
224
|
+
msgstr[2] ""
|
|
225
|
+
msgstr[3] ""
|
|
226
|
+
|
|
215
227
|
msgctxt "The image element name displayed in the suggestion."
|
|
216
228
|
msgid "ELEMENT_IMAGE"
|
|
217
229
|
msgid_plural "%0 images"
|
|
@@ -14,12 +14,16 @@ msgid ""
|
|
|
14
14
|
msgstr ""
|
|
15
15
|
"Language-Team: Portuguese (Brazil) (https://www.transifex.com/ckeditor/teams/11143/pt_BR/)\n"
|
|
16
16
|
"Language: pt_BR\n"
|
|
17
|
-
"Plural-Forms: nplurals=
|
|
17
|
+
"Plural-Forms: nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n"
|
|
18
18
|
|
|
19
19
|
msgctxt "A suggestion for changing an item to the provided one."
|
|
20
20
|
msgid "*Change to:* %0"
|
|
21
21
|
msgstr "*Alterar para:* %0"
|
|
22
22
|
|
|
23
|
+
msgctxt "A suggestion for changing a content of a widget."
|
|
24
|
+
msgid "*Change %0 content*"
|
|
25
|
+
msgstr ""
|
|
26
|
+
|
|
23
27
|
msgctxt "A suggestion for checking a to-do list item."
|
|
24
28
|
msgid "*Check item*"
|
|
25
29
|
msgstr "*Verificar item*"
|
|
@@ -185,54 +189,70 @@ msgid "ELEMENT_CODE_BLOCK"
|
|
|
185
189
|
msgid_plural "%0 code blocks"
|
|
186
190
|
msgstr[0] "bloco de código"
|
|
187
191
|
msgstr[1] "%0 bloco de código"
|
|
192
|
+
msgstr[2] "%0 bloco de código"
|
|
188
193
|
|
|
189
194
|
msgctxt "The heading element name displayed in the suggestion."
|
|
190
195
|
msgid "ELEMENT_HEADING"
|
|
191
196
|
msgid_plural "%0 headings (level %1)"
|
|
192
197
|
msgstr[0] "título (nível %1)"
|
|
193
198
|
msgstr[1] "%0 títulos (nível %1)"
|
|
199
|
+
msgstr[2] "%0 títulos (nível %1)"
|
|
194
200
|
|
|
195
201
|
msgctxt "The heading element name displayed in the suggestion with a custom title."
|
|
196
202
|
msgid "ELEMENT_HEADING_CUSTOM"
|
|
197
203
|
msgid_plural "%0 headings (%1)"
|
|
198
204
|
msgstr[0] "título (%1)"
|
|
199
205
|
msgstr[1] "%0 títulos (%1)"
|
|
206
|
+
msgstr[2] "%0 títulos (%1)"
|
|
200
207
|
|
|
201
208
|
msgctxt "The horizontal line element name displayed in the suggestion."
|
|
202
209
|
msgid "ELEMENT_HORIZONTAL_LINE"
|
|
203
210
|
msgid_plural "%0 horizontal lines"
|
|
204
211
|
msgstr[0] "linha horizontal"
|
|
205
212
|
msgstr[1] "%0 linhas horizontal"
|
|
213
|
+
msgstr[2] "%0 linhas horizontal"
|
|
214
|
+
|
|
215
|
+
msgctxt "The HTML embed element name displayed in the suggestion."
|
|
216
|
+
msgid "ELEMENT_HTML_EMBED"
|
|
217
|
+
msgid_plural "%0 HTML embeds"
|
|
218
|
+
msgstr[0] ""
|
|
219
|
+
msgstr[1] ""
|
|
220
|
+
msgstr[2] ""
|
|
206
221
|
|
|
207
222
|
msgctxt "The image element name displayed in the suggestion."
|
|
208
223
|
msgid "ELEMENT_IMAGE"
|
|
209
224
|
msgid_plural "%0 images"
|
|
210
225
|
msgstr[0] "imagem"
|
|
211
226
|
msgstr[1] "%0 imagens"
|
|
227
|
+
msgstr[2] "%0 imagens"
|
|
212
228
|
|
|
213
229
|
msgctxt "The inline image element name displayed in the suggestion."
|
|
214
230
|
msgid "ELEMENT_INLINE_IMAGE"
|
|
215
231
|
msgid_plural "%0 images"
|
|
216
232
|
msgstr[0] "imagem"
|
|
217
233
|
msgstr[1] "%0 imagens"
|
|
234
|
+
msgstr[2] "%0 imagens"
|
|
218
235
|
|
|
219
236
|
msgctxt "The line break element name displayed in the suggestion."
|
|
220
237
|
msgid "ELEMENT_LINE_BREAK"
|
|
221
238
|
msgid_plural "%0 line breaks"
|
|
222
239
|
msgstr[0] "quebra de linha"
|
|
223
240
|
msgstr[1] "%0 quebras de linha"
|
|
241
|
+
msgstr[2] "%0 quebras de linha"
|
|
224
242
|
|
|
225
243
|
msgctxt "The list item element name displayed in the suggestion."
|
|
226
244
|
msgid "ELEMENT_LIST_ITEM"
|
|
227
245
|
msgid_plural "%0 list items"
|
|
228
246
|
msgstr[0] "item da lista"
|
|
229
247
|
msgstr[1] "%0 itens da lista"
|
|
248
|
+
msgstr[2] "%0 itens da lista"
|
|
230
249
|
|
|
231
250
|
msgctxt "The media element name displayed in the suggestion."
|
|
232
251
|
msgid "ELEMENT_MEDIA"
|
|
233
252
|
msgid_plural "%0 media items"
|
|
234
253
|
msgstr[0] "item de mídia"
|
|
235
254
|
msgstr[1] "%0 itens de mídia"
|
|
255
|
+
msgstr[2] "%0 itens de mídia"
|
|
236
256
|
|
|
237
257
|
msgctxt "The numbered list element name displayed in the suggestion."
|
|
238
258
|
msgid "ELEMENT_NUMBERED_LIST"
|
|
@@ -243,48 +263,56 @@ msgid "ELEMENT_PAGE_BREAK"
|
|
|
243
263
|
msgid_plural "%0 page breaks"
|
|
244
264
|
msgstr[0] "quebra de página"
|
|
245
265
|
msgstr[1] "%0 quebras de página"
|
|
266
|
+
msgstr[2] "%0 quebras de página"
|
|
246
267
|
|
|
247
268
|
msgctxt "The paragraph element name displayed in the suggestion."
|
|
248
269
|
msgid "ELEMENT_PARAGRAPH"
|
|
249
270
|
msgid_plural "%0 paragraphs"
|
|
250
271
|
msgstr[0] "parágrafo"
|
|
251
272
|
msgstr[1] "%0 parágrafos"
|
|
273
|
+
msgstr[2] "%0 parágrafos"
|
|
252
274
|
|
|
253
275
|
msgctxt "The space element name displayed in the suggestion."
|
|
254
276
|
msgid "ELEMENT_SPACE"
|
|
255
277
|
msgid_plural "%0 spaces"
|
|
256
278
|
msgstr[0] "espaço"
|
|
257
279
|
msgstr[1] "%0 espaços"
|
|
280
|
+
msgstr[2] "%0 espaços"
|
|
258
281
|
|
|
259
282
|
msgctxt "The table element name displayed in the suggestion."
|
|
260
283
|
msgid "ELEMENT_TABLE"
|
|
261
284
|
msgid_plural "%0 tables"
|
|
262
285
|
msgstr[0] "tabela"
|
|
263
286
|
msgstr[1] "%0 tabelas"
|
|
287
|
+
msgstr[2] "%0 tabelas"
|
|
264
288
|
|
|
265
289
|
msgctxt "The table column element name displayed in the suggestion."
|
|
266
290
|
msgid "ELEMENT_TABLE_COLUMN"
|
|
267
291
|
msgid_plural "%0 table columns"
|
|
268
292
|
msgstr[0] "coluna de tabela"
|
|
269
293
|
msgstr[1] "%0 colunas de tabela"
|
|
294
|
+
msgstr[2] "%0 colunas de tabela"
|
|
270
295
|
|
|
271
296
|
msgctxt "The table column with text element name displayed in the suggestion."
|
|
272
297
|
msgid "ELEMENT_TABLE_COLUMN_WITH_TEXT"
|
|
273
298
|
msgid_plural "%0 table columns *with text* %1"
|
|
274
299
|
msgstr[0] "coluna de tabela *com texto* %1"
|
|
275
300
|
msgstr[1] "%0 colunas de tabela *com texto* %1"
|
|
301
|
+
msgstr[2] "%0 colunas de tabela *com texto* %1"
|
|
276
302
|
|
|
277
303
|
msgctxt "The table row element name displayed in the suggestion."
|
|
278
304
|
msgid "ELEMENT_TABLE_ROW"
|
|
279
305
|
msgid_plural "%0 table rows"
|
|
280
306
|
msgstr[0] "linha da tabela"
|
|
281
307
|
msgstr[1] "%0 linhas da tabela"
|
|
308
|
+
msgstr[2] "%0 linhas da tabela"
|
|
282
309
|
|
|
283
310
|
msgctxt "The table row with text element name displayed in the suggestion."
|
|
284
311
|
msgid "ELEMENT_TABLE_ROW_WITH_TEXT"
|
|
285
312
|
msgid_plural "%0 table rows *with text* %1"
|
|
286
313
|
msgstr[0] "linha de tabela *com texto* %1"
|
|
287
314
|
msgstr[1] "%0 linhas de tabela *com texto* %1"
|
|
315
|
+
msgstr[2] "%0 linhas de tabela *com texto* %1"
|
|
288
316
|
|
|
289
317
|
msgctxt "The table with text element name displayed in the suggestion."
|
|
290
318
|
msgid "ELEMENT_TABLE_WITH_TEXT"
|
package/lang/translations/sk.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 "*Zmeniť na:* %0"
|
|
22
22
|
|
|
23
|
+
msgctxt "A suggestion for changing a content of a widget."
|
|
24
|
+
msgid "*Change %0 content*"
|
|
25
|
+
msgstr ""
|
|
26
|
+
|
|
23
27
|
msgctxt "A suggestion for checking a to-do list item."
|
|
24
28
|
msgid "*Check item*"
|
|
25
29
|
msgstr "*Označiť položku*"
|
|
@@ -212,6 +216,14 @@ msgstr[1] "%0 horizontálne čiary"
|
|
|
212
216
|
msgstr[2] "%0 horizontálnych čiar"
|
|
213
217
|
msgstr[3] "%0 horizontálnych čiar"
|
|
214
218
|
|
|
219
|
+
msgctxt "The HTML embed element name displayed in the suggestion."
|
|
220
|
+
msgid "ELEMENT_HTML_EMBED"
|
|
221
|
+
msgid_plural "%0 HTML embeds"
|
|
222
|
+
msgstr[0] ""
|
|
223
|
+
msgstr[1] ""
|
|
224
|
+
msgstr[2] ""
|
|
225
|
+
msgstr[3] ""
|
|
226
|
+
|
|
215
227
|
msgctxt "The image element name displayed in the suggestion."
|
|
216
228
|
msgid "ELEMENT_IMAGE"
|
|
217
229
|
msgid_plural "%0 images"
|
|
@@ -20,6 +20,10 @@ msgctxt "A suggestion for changing an item to the provided one."
|
|
|
20
20
|
msgid "*Change to:* %0"
|
|
21
21
|
msgstr "*Promenite na:* %0"
|
|
22
22
|
|
|
23
|
+
msgctxt "A suggestion for changing a content of a widget."
|
|
24
|
+
msgid "*Change %0 content*"
|
|
25
|
+
msgstr ""
|
|
26
|
+
|
|
23
27
|
msgctxt "A suggestion for checking a to-do list item."
|
|
24
28
|
msgid "*Check item*"
|
|
25
29
|
msgstr "*Proverite stavku*"
|
|
@@ -208,6 +212,13 @@ msgstr[0] ""
|
|
|
208
212
|
msgstr[1] ""
|
|
209
213
|
msgstr[2] ""
|
|
210
214
|
|
|
215
|
+
msgctxt "The HTML embed element name displayed in the suggestion."
|
|
216
|
+
msgid "ELEMENT_HTML_EMBED"
|
|
217
|
+
msgid_plural "%0 HTML embeds"
|
|
218
|
+
msgstr[0] ""
|
|
219
|
+
msgstr[1] ""
|
|
220
|
+
msgstr[2] ""
|
|
221
|
+
|
|
211
222
|
msgctxt "The image element name displayed in the suggestion."
|
|
212
223
|
msgid "ELEMENT_IMAGE"
|
|
213
224
|
msgid_plural "%0 images"
|
package/lang/translations/sr.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 ""
|
|
26
|
+
|
|
23
27
|
msgctxt "A suggestion for checking a to-do list item."
|
|
24
28
|
msgid "*Check item*"
|
|
25
29
|
msgstr "*Проверите ставку* "
|
|
@@ -208,6 +212,13 @@ msgstr[0] ""
|
|
|
208
212
|
msgstr[1] ""
|
|
209
213
|
msgstr[2] ""
|
|
210
214
|
|
|
215
|
+
msgctxt "The HTML embed element name displayed in the suggestion."
|
|
216
|
+
msgid "ELEMENT_HTML_EMBED"
|
|
217
|
+
msgid_plural "%0 HTML embeds"
|
|
218
|
+
msgstr[0] ""
|
|
219
|
+
msgstr[1] ""
|
|
220
|
+
msgstr[2] ""
|
|
221
|
+
|
|
211
222
|
msgctxt "The image element name displayed in the suggestion."
|
|
212
223
|
msgid "ELEMENT_IMAGE"
|
|
213
224
|
msgid_plural "%0 images"
|
package/lang/translations/tk.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 "*Şuňa üýtget:* %0"
|
|
22
22
|
|
|
23
|
+
msgctxt "A suggestion for changing a content of a widget."
|
|
24
|
+
msgid "*Change %0 content*"
|
|
25
|
+
msgstr ""
|
|
26
|
+
|
|
23
27
|
msgctxt "A suggestion for checking a to-do list item."
|
|
24
28
|
msgid "*Check item*"
|
|
25
29
|
msgstr "*Elementi barlaň*"
|
|
@@ -204,6 +208,12 @@ msgid_plural "%0 horizontal lines"
|
|
|
204
208
|
msgstr[0] ""
|
|
205
209
|
msgstr[1] ""
|
|
206
210
|
|
|
211
|
+
msgctxt "The HTML embed element name displayed in the suggestion."
|
|
212
|
+
msgid "ELEMENT_HTML_EMBED"
|
|
213
|
+
msgid_plural "%0 HTML embeds"
|
|
214
|
+
msgstr[0] ""
|
|
215
|
+
msgstr[1] ""
|
|
216
|
+
|
|
207
217
|
msgctxt "The image element name displayed in the suggestion."
|
|
208
218
|
msgid "ELEMENT_IMAGE"
|
|
209
219
|
msgid_plural "%0 images"
|
package/lang/translations/tr.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 "*Değiştir:* %0"
|
|
22
22
|
|
|
23
|
+
msgctxt "A suggestion for changing a content of a widget."
|
|
24
|
+
msgid "*Change %0 content*"
|
|
25
|
+
msgstr ""
|
|
26
|
+
|
|
23
27
|
msgctxt "A suggestion for checking a to-do list item."
|
|
24
28
|
msgid "*Check item*"
|
|
25
29
|
msgstr "*Öğeyi kontrol et*"
|
|
@@ -204,6 +208,12 @@ msgid_plural "%0 horizontal lines"
|
|
|
204
208
|
msgstr[0] "yatay çizgi"
|
|
205
209
|
msgstr[1] "%0 yatay çizgi"
|
|
206
210
|
|
|
211
|
+
msgctxt "The HTML embed element name displayed in the suggestion."
|
|
212
|
+
msgid "ELEMENT_HTML_EMBED"
|
|
213
|
+
msgid_plural "%0 HTML embeds"
|
|
214
|
+
msgstr[0] ""
|
|
215
|
+
msgstr[1] ""
|
|
216
|
+
|
|
207
217
|
msgctxt "The image element name displayed in the suggestion."
|
|
208
218
|
msgid "ELEMENT_IMAGE"
|
|
209
219
|
msgid_plural "%0 images"
|
|
@@ -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 ""
|
|
26
|
+
|
|
23
27
|
msgctxt "A suggestion for checking a to-do list item."
|
|
24
28
|
msgid "*Check item*"
|
|
25
29
|
msgstr "*勾选项目*"
|
|
@@ -200,6 +204,11 @@ msgid "ELEMENT_HORIZONTAL_LINE"
|
|
|
200
204
|
msgid_plural "%0 horizontal lines"
|
|
201
205
|
msgstr[0] "%0 水平线"
|
|
202
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] ""
|
|
211
|
+
|
|
203
212
|
msgctxt "The image element name displayed in the suggestion."
|
|
204
213
|
msgid "ELEMENT_IMAGE"
|
|
205
214
|
msgid_plural "%0 images"
|
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 ""
|
|
26
|
+
|
|
23
27
|
msgctxt "A suggestion for checking a to-do list item."
|
|
24
28
|
msgid "*Check item*"
|
|
25
29
|
msgstr "*勾選項目*"
|
|
@@ -200,6 +204,11 @@ msgid "ELEMENT_HORIZONTAL_LINE"
|
|
|
200
204
|
msgid_plural "%0 horizontal lines"
|
|
201
205
|
msgstr[0] ""
|
|
202
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] ""
|
|
211
|
+
|
|
203
212
|
msgctxt "The image element name displayed in the suggestion."
|
|
204
213
|
msgid "ELEMENT_IMAGE"
|
|
205
214
|
msgid_plural "%0 images"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-track-changes",
|
|
3
|
-
"version": "34.
|
|
3
|
+
"version": "34.2.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,8 @@
|
|
|
27
27
|
],
|
|
28
28
|
"main": "src/index.js",
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"ckeditor5": "^34.
|
|
31
|
-
"ckeditor5-collaboration": "^34.
|
|
30
|
+
"ckeditor5": "^34.2.0",
|
|
31
|
+
"ckeditor5-collaboration": "^34.2.0",
|
|
32
32
|
"lodash-es": "^4.17.11"
|
|
33
33
|
}
|
|
34
34
|
}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5cba=['model','isInContent','editor','change','values','from','refresh','_suggestions','isEnabled','execute','_acceptSuggestionCommand','some'];(function(_0xde00b7,_0x5cba31){const _0x27207c=function(_0xe2cd1f){while(--_0xe2cd1f){_0xde00b7['push'](_0xde00b7['shift']());}};_0x27207c(++_0x5cba31);}(_0x5cba,0x9e));const _0x2720=function(_0xde00b7,_0x5cba31){_0xde00b7=_0xde00b7-0x0;let _0x27207c=_0x5cba[_0xde00b7];return _0x27207c;};import{Command as _0x391cbd}from'ckeditor5/src/core';import _0x13783f from'../utils/sortsuggestions';export default class N extends _0x391cbd{constructor(_0x4f71d8,_0x1e2e4d,_0x64e63f){super(_0x4f71d8),this[_0x2720('0x8')]=_0x1e2e4d,this[_0x2720('0x5')]=_0x64e63f,this[_0x2720('0x4')]();}[_0x2720('0x4')](){const _0x193d45=this[_0x2720('0x8')];this['isEnabled']=_0x193d45[_0x2720('0x6')]&&Array[_0x2720('0x3')](this[_0x2720('0x5')]['values']())[_0x2720('0x9')](_0x1ff8f1=>_0x1ff8f1[_0x2720('0xb')]);}[_0x2720('0x7')](){this[_0x2720('0x0')][_0x2720('0xa')][_0x2720('0x1')](()=>{const _0xee28db=_0x13783f(Array['from'](this[_0x2720('0x5')][_0x2720('0x2')]()));for(const _0x385ff1 of _0xee28db)_0x385ff1[_0x2720('0xb')]&&this[_0x2720('0x8')][_0x2720('0x7')](_0x385ff1['id']);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x59cf=['editor','from','refresh','size','selection','execute','_suggestions','_selectedSuggestions','isEnabled','model','_acceptSuggestionCommand'];(function(_0x512357,_0x59cfff){const _0x9b3971=function(_0x279b7){while(--_0x279b7){_0x512357['push'](_0x512357['shift']());}};_0x9b3971(++_0x59cfff);}(_0x59cf,0x1b9));const _0x9b39=function(_0x512357,_0x59cfff){_0x512357=_0x512357-0x0;let _0x9b3971=_0x59cf[_0x512357];return _0x9b3971;};import{Command as _0x537c91}from'ckeditor5/src/core';import _0xe9bf74 from'../utils/sortsuggestions';import _0x4dd729 from'../utils/getselectedsuggestions';export default class R extends _0x537c91{constructor(_0x2b84d5,_0x4a7072,_0x211c6b){super(_0x2b84d5),this[_0x9b39('0x9')]=_0x4a7072,this[_0x9b39('0x5')]=_0x211c6b,this[_0x9b39('0x6')]=new Set(),this[_0x9b39('0x1')]();}[_0x9b39('0x1')](){const _0x469d28=this['_acceptSuggestionCommand'],_0x156e9d=this[_0x9b39('0xa')][_0x9b39('0x8')]['document'][_0x9b39('0x3')],_0xfbb5fc=Array[_0x9b39('0x0')](this[_0x9b39('0x5')]['values']());this[_0x9b39('0x6')]=_0x4dd729(_0x156e9d,_0xfbb5fc),this[_0x9b39('0x7')]=_0x469d28[_0x9b39('0x7')]&&!!this[_0x9b39('0x6')][_0x9b39('0x2')];}[_0x9b39('0x4')](){this[_0x9b39('0xa')][_0x9b39('0x8')]['change'](()=>{const _0x2757d8=_0xe9bf74(Array[_0x9b39('0x0')](this[_0x9b39('0x6')]));for(const _0x406468 of _0x2757d8)this[_0x9b39('0x9')][_0x9b39('0x4')](_0x406468['id']);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x12db=['_suggestions','plugins','track-changes-accept-suggestion-not-found','refresh','editor','get'];(function(_0x3dbd88,_0x12dba7){const _0x55ce80=function(_0x2356ba){while(--_0x2356ba){_0x3dbd88['push'](_0x3dbd88['shift']());}};_0x55ce80(++_0x12dba7);}(_0x12db,0x167));const _0x55ce=function(_0x3dbd88,_0x12dba7){_0x3dbd88=_0x3dbd88-0x0;let _0x55ce80=_0x12db[_0x3dbd88];return _0x55ce80;};import{Command as _0x2895ce}from'ckeditor5/src/core';import{CKEditorError as _0xa2b360}from'ckeditor5/src/utils';export default class M extends _0x2895ce{constructor(_0x361985,_0x2265a1){super(_0x361985),this[_0x55ce('0x1')]=_0x2265a1,this[_0x55ce('0x4')]();}[_0x55ce('0x4')](){this['isEnabled']=!0x0;}['execute'](_0x4869a2){const _0xbab3d4=this['_suggestions'][_0x55ce('0x0')](_0x4869a2);if(!_0xbab3d4)throw new _0xa2b360(_0x55ce('0x3'),this);this[_0x55ce('0x5')][_0x55ce('0x2')][_0x55ce('0x0')]('TrackChangesEditing')['acceptSuggestion'](_0xbab3d4);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1794=['editor','execute','model','isInContent','_suggestions','change','from','_discardSuggestionCommand','values','isEnabled','refresh','some'];(function(_0xf0b921,_0x179416){const _0x3c9b16=function(_0x125c83){while(--_0x125c83){_0xf0b921['push'](_0xf0b921['shift']());}};_0x3c9b16(++_0x179416);}(_0x1794,0xa3));const _0x3c9b=function(_0xf0b921,_0x179416){_0xf0b921=_0xf0b921-0x0;let _0x3c9b16=_0x1794[_0xf0b921];return _0x3c9b16;};import{Command as _0x517b43}from'ckeditor5/src/core';export default class j extends _0x517b43{constructor(_0x3d35b0,_0x1df6cf,_0x5bdb27){super(_0x3d35b0),this[_0x3c9b('0x0')]=_0x1df6cf,this['_suggestions']=_0x5bdb27,this[_0x3c9b('0x3')]();}[_0x3c9b('0x3')](){const _0x4d23e5=this[_0x3c9b('0x0')];this['isEnabled']=_0x4d23e5[_0x3c9b('0x2')]&&Array[_0x3c9b('0xb')](this[_0x3c9b('0x9')][_0x3c9b('0x1')]())[_0x3c9b('0x4')](_0x51eb37=>_0x51eb37[_0x3c9b('0x8')]);}[_0x3c9b('0x6')](){this[_0x3c9b('0x5')][_0x3c9b('0x7')][_0x3c9b('0xa')](()=>{for(const _0x5d2c4f of this[_0x3c9b('0x9')][_0x3c9b('0x1')]())_0x5d2c4f[_0x3c9b('0x8')]&&this['_discardSuggestionCommand'][_0x3c9b('0x6')](_0x5d2c4f['id']);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x11a6=['isEnabled','_suggestions','execute','change','editor','model','size','_discardSuggestionCommand','refresh','selection','values','_selectedSuggestions'];(function(_0x52a50e,_0x11a694){const _0x34e9e1=function(_0x1f3ec3){while(--_0x1f3ec3){_0x52a50e['push'](_0x52a50e['shift']());}};_0x34e9e1(++_0x11a694);}(_0x11a6,0x1bf));const _0x34e9=function(_0x52a50e,_0x11a694){_0x52a50e=_0x52a50e-0x0;let _0x34e9e1=_0x11a6[_0x52a50e];return _0x34e9e1;};import{Command as _0x47dc01}from'ckeditor5/src/core';import _0x26432a from'../utils/getselectedsuggestions';export default class U extends _0x47dc01{constructor(_0x215050,_0x3d9baf,_0x5b94d4){super(_0x215050),this[_0x34e9('0x4')]=_0x3d9baf,this['_suggestions']=_0x5b94d4,this[_0x34e9('0x8')]=new Set(),this[_0x34e9('0x5')]();}[_0x34e9('0x5')](){const _0x17c316=this['_discardSuggestionCommand'],_0x3d3d87=this[_0x34e9('0x1')]['model']['document'][_0x34e9('0x6')],_0x3a3fce=Array['from'](this[_0x34e9('0xa')][_0x34e9('0x7')]());this[_0x34e9('0x8')]=_0x26432a(_0x3d3d87,_0x3a3fce),this[_0x34e9('0x9')]=_0x17c316['isEnabled']&&!!this['_selectedSuggestions'][_0x34e9('0x3')];}[_0x34e9('0xb')](){this[_0x34e9('0x1')][_0x34e9('0x2')][_0x34e9('0x0')](()=>{for(const _0xee7116 of this[_0x34e9('0x8')])this['_discardSuggestionCommand'][_0x34e9('0xb')](_0xee7116['id']);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x35b4=['editor','track-changes-discard-suggestion-not-found','execute','get','discardSuggestion','TrackChangesEditing','isEnabled','refresh','_suggestions','plugins'];(function(_0x27cfea,_0x35b433){const _0x435f57=function(_0x4a3fe3){while(--_0x4a3fe3){_0x27cfea['push'](_0x27cfea['shift']());}};_0x435f57(++_0x35b433);}(_0x35b4,0x10b));const _0x435f=function(_0x27cfea,_0x35b433){_0x27cfea=_0x27cfea-0x0;let _0x435f57=_0x35b4[_0x27cfea];return _0x435f57;};import{Command as _0x19d369}from'ckeditor5/src/core';import{CKEditorError as _0xd509e3}from'ckeditor5/src/utils';export default class $ extends _0x19d369{constructor(_0x366b7b,_0x28dee1){super(_0x366b7b),this['_suggestions']=_0x28dee1,this[_0x435f('0x0')]();}[_0x435f('0x0')](){this[_0x435f('0x9')]=!0x0;}[_0x435f('0x5')](_0x3f1a40){const _0x4894c5=this[_0x435f('0x1')][_0x435f('0x6')](_0x3f1a40);if(!_0x4894c5)throw new _0xd509e3(_0x435f('0x4'),this);this[_0x435f('0x3')][_0x435f('0x2')][_0x435f('0x6')](_0x435f('0x8'))[_0x435f('0x7')](_0x4894c5);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4fab=['has','_disableUnsupportedCommands','_enabledCommands','refresh','_enableCommands','commands','clearForceDisabled','editor','forceDisabled','isEnabled'];(function(_0x1721ac,_0x4fab17){const _0xff7787=function(_0xe3c1c7){while(--_0xe3c1c7){_0x1721ac['push'](_0x1721ac['shift']());}};_0xff7787(++_0x4fab17);}(_0x4fab,0xc5));const _0xff77=function(_0x1721ac,_0x4fab17){_0x1721ac=_0x1721ac-0x0;let _0xff7787=_0x4fab[_0x1721ac];return _0xff7787;};import{Command as _0x1f6b21}from'ckeditor5/src/core';export default class B extends _0x1f6b21{constructor(_0x564990,_0x539a40){super(_0x564990),this['_enabledCommands']=_0x539a40,this['value']=!0x1,this[_0xff77('0x6')]();}['refresh'](){this[_0xff77('0x2')]=!0x0;}['execute'](){this['value']=!this['value'],this['value']?this[_0xff77('0x4')]():this[_0xff77('0x7')]();}['_disableUnsupportedCommands'](){for(const _0x4587f8 of this[_0xff77('0x0')][_0xff77('0x8')]['commands']())_0x4587f8['affectsData']&&!this[_0xff77('0x5')][_0xff77('0x3')](_0x4587f8)&&_0x4587f8[_0xff77('0x1')]('TrackChangesCommand');}[_0xff77('0x7')](){for(const _0x1dee34 of this[_0xff77('0x0')][_0xff77('0x8')][_0xff77('0x8')]())_0x1dee34['affectsData']&&!this[_0xff77('0x5')]['has'](_0x1dee34)&&_0x1dee34[_0xff77('0x9')]('TrackChangesCommand');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x98f4=['right','getSelectedBlocks','registerDescriptionCallback','center','FORMAT_ALIGN_TO_LEFT','from','TrackChangesEditing','format','commandName','_descriptionFactory','commandParams','enableCommand','locale','checkAttribute','alignment','editor','justify','FORMAT_ALIGN_TO_RIGHT','value','document','get','schema','has','plugins','ltr','afterInit','AlignmentEditing','model','contentLanguageDirection'];(function(_0x5a2a8f,_0x98f46b){const _0x3e5ee3=function(_0x6bd256){while(--_0x6bd256){_0x5a2a8f['push'](_0x5a2a8f['shift']());}};_0x3e5ee3(++_0x98f46b);}(_0x98f4,0x1df));const _0x3e5e=function(_0x5a2a8f,_0x98f46b){_0x5a2a8f=_0x5a2a8f-0x0;let _0x3e5ee3=_0x98f4[_0x5a2a8f];return _0x3e5ee3;};import{Plugin as _0x182659}from'ckeditor5/src/core';import{getTranslation as _0xd94284}from'../utils/common-translations';export default class x extends _0x182659{[_0x3e5e('0xa')](){const _0x13b520=this[_0x3e5e('0x0')],_0x59fe49=_0x13b520[_0x3e5e('0x1a')];if(!_0x13b520[_0x3e5e('0x8')][_0x3e5e('0x7')](_0x3e5e('0xb')))return;const _0x549e98=_0x13b520[_0x3e5e('0x8')][_0x3e5e('0x5')](_0x3e5e('0x14'));_0x549e98[_0x3e5e('0x19')]('alignment',(_0x59407b,_0x384ffb={})=>{let _0x4d6c9f=_0x384ffb['value'];_0x384ffb['value']||(_0x4d6c9f=_0x3e5e('0x9')===_0x13b520['locale'][_0x3e5e('0xd')]?'left':_0x3e5e('0xe'));const _0x400fe1=Array[_0x3e5e('0x13')](this[_0x3e5e('0x0')][_0x3e5e('0xc')][_0x3e5e('0x4')]['selection'][_0x3e5e('0xf')]())['filter'](_0x32f582=>function(_0x199eb9,_0x1151e7,_0x131289){const _0x2f5ed9=_0x199eb9['getAttribute'](_0x3e5e('0x1c'))||null;return _0x1151e7[_0x3e5e('0x1b')](_0x199eb9,'alignment')&&_0x131289!=_0x2f5ed9;}(_0x32f582,this[_0x3e5e('0x0')]['model'][_0x3e5e('0x6')],_0x4d6c9f));_0x13b520[_0x3e5e('0xc')]['change'](()=>{for(const _0x5554d6 of _0x400fe1)_0x549e98['markBlockFormat'](_0x5554d6,{'commandName':_0x3e5e('0x1c'),'commandParams':[{'value':_0x4d6c9f}]});});}),_0x549e98[_0x3e5e('0x17')][_0x3e5e('0x10')](_0x100b24=>{const {data:_0x510723}=_0x100b24;if(_0x510723&&_0x3e5e('0x1c')==_0x510723[_0x3e5e('0x16')]){const _0x14069f=_0x510723[_0x3e5e('0x18')][0x0][_0x3e5e('0x3')];return{'type':_0x3e5e('0x15'),'content':_0xd94284(_0x59fe49,'*Format:*\x20%0',function(_0x1c1ed3){switch(_0x1c1ed3){case'left':return _0xd94284(_0x59fe49,_0x3e5e('0x12'));case _0x3e5e('0xe'):return _0xd94284(_0x59fe49,_0x3e5e('0x2'));case _0x3e5e('0x11'):return _0xd94284(_0x59fe49,'FORMAT_ALIGN_TO_CENTER');case _0x3e5e('0x1'):return _0xd94284(_0x59fe49,'FORMAT_JUSTIFY_TEXT');}}(_0x14069f))};}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x248f=['format','editor','commandParams','commandName','toLowerCase','model','plugins','FORMAT_SUBSCRIPT','bold','_descriptionFactory','StrikethroughEditing','*Format:*\x20%0','ItalicEditing','SubscriptEditing','strikethrough','enableCommand','FORMAT_ITALIC','BoldEditing','FORMAT_SUPERSCRIPT','get','has','FORMAT_STRIKETHROUGH','underline','isCollapsed','UnderlineEditing','*Remove\x20format:*\x20%0','FORMAT_UNDERLINE','getRanges','FORMAT_BOLD','document','italic','code','from','forceValue','value'];(function(_0xc1ecef,_0x248ff5){const _0x1a8a94=function(_0x428657){while(--_0x428657){_0xc1ecef['push'](_0xc1ecef['shift']());}};_0x1a8a94(++_0x248ff5);}(_0x248f,0x96));const _0x1a8a=function(_0xc1ecef,_0x248ff5){_0xc1ecef=_0xc1ecef-0x0;let _0x1a8a94=_0x248f[_0xc1ecef];return _0x1a8a94;};import{Plugin as _0x3949ee}from'ckeditor5/src/core';import{getTranslation as _0x20b132}from'../utils/common-translations';import{getRangesWithAttribute as _0x37ac8c}from'./utils';const Ot=[_0x1a8a('0x7'),_0x1a8a('0x2'),_0x1a8a('0xe'),'CodeEditing',_0x1a8a('0x0'),_0x1a8a('0x3'),'SuperscriptEditing'];export default class E extends _0x3949ee{['afterInit'](){const _0x41c4fa=this[_0x1a8a('0x1a')],_0x4b27e9=_0x41c4fa[_0x1a8a('0x1e')],_0x206825=_0x41c4fa[_0x1a8a('0x1f')][_0x1a8a('0x9')]('TrackChangesEditing'),_0x2b900b=_0x41c4fa['locale'];for(const _0x50b29d of Ot){if(!_0x41c4fa[_0x1a8a('0x1f')][_0x1a8a('0xa')](_0x50b29d))continue;const _0xd6f799=_0x50b29d['slice'](0x0,-0x7)[_0x1a8a('0x1d')](),_0x18e77d=_0x41c4fa['commands']['get'](_0xd6f799);_0x206825[_0x1a8a('0x5')](_0xd6f799,(_0xfb8c46,_0x298f84={})=>{const _0x3316d4=_0x4b27e9[_0x1a8a('0x13')]['selection'];if(_0x3316d4[_0x1a8a('0xd')])return void _0xfb8c46(_0x298f84);const _0x57081e=void 0x0!==_0x298f84['forceValue']?_0x298f84[_0x1a8a('0x17')]:!_0x18e77d[_0x1a8a('0x18')];_0x4b27e9['change'](()=>{const _0x2c86cf=Array[_0x1a8a('0x16')](_0x3316d4[_0x1a8a('0x11')]());for(const _0x331cf0 of _0x2c86cf){const _0x54df4e=_0x57081e?[_0x331cf0]:_0x37ac8c(_0xd6f799,_0x331cf0,_0x4b27e9);for(const _0x232eb0 of _0x54df4e)_0x206825['markInlineFormat'](_0x232eb0,{'commandName':_0xd6f799,'commandParams':[{'forceValue':_0x57081e}]});}});});}function _0x457c7d(_0x31e84a,_0x22a4bf){_0x206825[_0x1a8a('0x22')]['registerDescriptionCallback'](_0x18ece6=>{const {data:_0x3e53cb}=_0x18ece6;if(_0x3e53cb&&_0x3e53cb[_0x1a8a('0x1c')]===_0x31e84a)return _0x3e53cb[_0x1a8a('0x1b')][0x0]['forceValue']?{'type':_0x1a8a('0x19'),'content':_0x20b132(_0x2b900b,_0x1a8a('0x1'),_0x22a4bf)}:{'type':_0x1a8a('0x19'),'content':_0x20b132(_0x2b900b,_0x1a8a('0xf'),_0x22a4bf)};});}_0x457c7d(_0x1a8a('0x21'),_0x20b132(_0x2b900b,_0x1a8a('0x12'))),_0x457c7d(_0x1a8a('0x14'),_0x20b132(_0x2b900b,_0x1a8a('0x6'))),_0x457c7d(_0x1a8a('0xc'),_0x20b132(_0x2b900b,_0x1a8a('0x10'))),_0x457c7d(_0x1a8a('0x15'),_0x20b132(_0x2b900b,'FORMAT_CODE')),_0x457c7d(_0x1a8a('0x4'),_0x20b132(_0x2b900b,_0x1a8a('0xb'))),_0x457c7d('subscript',_0x20b132(_0x2b900b,_0x1a8a('0x20'))),_0x457c7d('superscript',_0x20b132(_0x2b900b,_0x1a8a('0x8')));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3b48=['has','_descriptionFactory','registerDescriptionCallback','commandParams','*Format:*\x20%0','from','model','editor','format','change','blockQuote','filter','checkChild','TrackChangesEditing','schema','$root','BlockQuoteEditing','getSelectedBlocks','name','afterInit','plugins','commands','get','forceValue','selection','value','parent'];(function(_0x57d921,_0x3b4888){const _0x7068a2=function(_0x45e6b2){while(--_0x45e6b2){_0x57d921['push'](_0x57d921['shift']());}};_0x7068a2(++_0x3b4888);}(_0x3b48,0x1d5));const _0x7068=function(_0x57d921,_0x3b4888){_0x57d921=_0x57d921-0x0;let _0x7068a2=_0x3b48[_0x57d921];return _0x7068a2;};import{Plugin as _0x345701}from'ckeditor5/src/core';import{getTranslation as _0x1f843b}from'../utils/common-translations';import{getRangesOfBlockGroups as _0xeddda6}from'../utils/getrangesofblockgroups';export default class O extends _0x345701{[_0x7068('0x9')](){const _0x1ecbdb=this[_0x7068('0x18')],_0x16a0a4=_0x1ecbdb['locale'];if(!_0x1ecbdb[_0x7068('0xa')][_0x7068('0x11')](_0x7068('0x6')))return;const _0xe152d4=_0x1ecbdb[_0x7068('0xa')][_0x7068('0xc')](_0x7068('0x3')),_0x45ae2a=this[_0x7068('0x18')][_0x7068('0xb')]['get'](_0x7068('0x0'));_0xe152d4['enableCommand'](_0x7068('0x0'),(_0x237ac2,_0x6b7cda={})=>{const _0x581773=this[_0x7068('0x18')][_0x7068('0x17')]['document'][_0x7068('0xe')],_0x336218=_0x6b7cda&&void 0x0!==_0x6b7cda[_0x7068('0xd')]?_0x6b7cda[_0x7068('0xd')]:!_0x45ae2a[_0x7068('0xf')];let _0x595696=[];if(_0x336218){const _0x17d858=Array[_0x7068('0x16')](_0x581773['getSelectedBlocks']())['filter'](_0x5df697=>to(_0x5df697)||function(_0x12a59e,_0x3c3a68){const _0x2682ee=_0x3c3a68[_0x7068('0x2')](_0x12a59e[_0x7068('0x10')],_0x7068('0x0')),_0xa30602=_0x3c3a68[_0x7068('0x2')]([_0x7068('0x5'),_0x7068('0x0')],_0x12a59e);return _0x2682ee&&_0xa30602;}(_0x5df697,this[_0x7068('0x18')][_0x7068('0x17')][_0x7068('0x4')]));_0x595696=_0xeddda6(_0x17d858,_0x1ecbdb[_0x7068('0x17')]);}else{const _0x1945e8=Array[_0x7068('0x16')](_0x581773[_0x7068('0x7')]())[_0x7068('0x1')](_0x3b6bfa=>to(_0x3b6bfa));_0x595696=_0xeddda6(_0x1945e8,_0x1ecbdb[_0x7068('0x17')]);}_0x1ecbdb['model'][_0x7068('0x1a')](()=>{for(const _0x213bfd of _0x595696)_0xe152d4['markBlockFormat'](_0x213bfd,{'commandName':_0x7068('0x0'),'commandParams':[{'forceValue':_0x336218}]});});}),_0xe152d4[_0x7068('0x12')][_0x7068('0x13')](_0x45741a=>{const {data:_0x204bcf}=_0x45741a;if(_0x204bcf&&_0x7068('0x0')==_0x204bcf['commandName']){const _0xee0a2e=_0x1f843b(_0x16a0a4,'ELEMENT_BLOCK_QUOTE');return _0x204bcf[_0x7068('0x14')][0x0][_0x7068('0xd')]?{'type':_0x7068('0x19'),'content':_0x1f843b(_0x16a0a4,_0x7068('0x15'),_0xee0a2e)}:{'type':_0x7068('0x19'),'content':_0x1f843b(_0x16a0a4,'*Remove\x20format:*\x20%0',_0xee0a2e)};}});}}function to(_0x1b0389){return _0x7068('0x0')==_0x1b0389['parent'][_0x7068('0x8')];}
|
|
@@ -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 _0x5724=['enableCommand','editor','ckbox','get','commands','afterInit'];(function(_0x55fe45,_0x572418){const _0x491b81=function(_0x69aaa6){while(--_0x69aaa6){_0x55fe45['push'](_0x55fe45['shift']());}};_0x491b81(++_0x572418);}(_0x5724,0x1cd));const _0x491b=function(_0x55fe45,_0x572418){_0x55fe45=_0x55fe45-0x0;let _0x491b81=_0x5724[_0x55fe45];return _0x491b81;};import{Plugin as _0x13cb98}from'ckeditor5/src/core';export default class P extends _0x13cb98{[_0x491b('0x0')](){const _0x2f865e=this[_0x491b('0x2')];_0x2f865e[_0x491b('0x5')][_0x491b('0x4')](_0x491b('0x3'))&&_0x2f865e['plugins'][_0x491b('0x4')]('TrackChangesEditing')[_0x491b('0x1')](_0x491b('0x3'));}}
|