@ckeditor/ckeditor5-track-changes 34.0.0 → 35.0.1
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 -2
- 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/uk.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 +48 -38
- 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/uk.po +433 -0
- package/lang/translations/vi.po +379 -0
- package/lang/translations/zh-cn.po +13 -4
- 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 +23 -0
- 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.0.1",
|
|
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.0.1",
|
|
31
|
+
"ckeditor5-collaboration": "^35.0.1",
|
|
32
|
+
"lodash-es": "^4.17.11",
|
|
33
|
+
"@ckeditor/ckeditor5-style": "^35.0.1"
|
|
33
34
|
}
|
|
34
35
|
}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xe89f=['some','isInContent','_acceptSuggestionCommand','from','isEnabled','editor','execute','model','_suggestions','values','refresh'];(function(_0x3b6782,_0xe89fe6){const _0x527053=function(_0x23dc7c){while(--_0x23dc7c){_0x3b6782['push'](_0x3b6782['shift']());}};_0x527053(++_0xe89fe6);}(_0xe89f,0x15d));const _0x5270=function(_0x3b6782,_0xe89fe6){_0x3b6782=_0x3b6782-0x0;let _0x527053=_0xe89f[_0x3b6782];return _0x527053;};import{Command as _0x14377b}from'ckeditor5/src/core';import _0xeb1157 from'../utils/sortsuggestions';export default class R extends _0x14377b{constructor(_0x461e6a,_0x55c9b0,_0x3521eb){super(_0x461e6a),this[_0x5270('0x5')]=_0x55c9b0,this[_0x5270('0x0')]=_0x3521eb,this[_0x5270('0x2')]();}['refresh'](){const _0x2857ef=this[_0x5270('0x5')];this[_0x5270('0x7')]=_0x2857ef['isEnabled']&&Array['from'](this['_suggestions'][_0x5270('0x1')]())[_0x5270('0x3')](_0x262dec=>_0x262dec[_0x5270('0x4')]);}[_0x5270('0x9')](){this[_0x5270('0x8')][_0x5270('0xa')]['change'](()=>{const _0x134cfc=_0xeb1157(Array[_0x5270('0x6')](this[_0x5270('0x0')]['values']()));for(const _0x3b3f4d of _0x134cfc)_0x3b3f4d[_0x5270('0x4')]&&this[_0x5270('0x5')]['execute'](_0x3b3f4d['id']);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x473c=['execute','editor','from','selection','_selectedSuggestions','refresh','change','isEnabled','_acceptSuggestionCommand','model'];(function(_0x357581,_0x473cce){const _0x6cafe3=function(_0x5cc5fc){while(--_0x5cc5fc){_0x357581['push'](_0x357581['shift']());}};_0x6cafe3(++_0x473cce);}(_0x473c,0x72));const _0x6caf=function(_0x357581,_0x473cce){_0x357581=_0x357581-0x0;let _0x6cafe3=_0x473c[_0x357581];return _0x6cafe3;};import{Command as _0x4cb2e5}from'ckeditor5/src/core';import _0xc647de from'../utils/sortsuggestions';import _0x21f6e2 from'../utils/getselectedsuggestions';export default class j extends _0x4cb2e5{constructor(_0xd0b186,_0x1e9a67,_0x5b6fe8){super(_0xd0b186),this[_0x6caf('0x4')]=_0x1e9a67,this['_suggestions']=_0x5b6fe8,this[_0x6caf('0x0')]=new Set(),this[_0x6caf('0x1')]();}[_0x6caf('0x1')](){const _0x11e402=this[_0x6caf('0x4')],_0x2cb33f=this[_0x6caf('0x7')][_0x6caf('0x5')]['document'][_0x6caf('0x9')],_0x3c16e0=Array[_0x6caf('0x8')](this['_suggestions']['values']());this[_0x6caf('0x0')]=_0x21f6e2(_0x2cb33f,_0x3c16e0),this[_0x6caf('0x3')]=_0x11e402[_0x6caf('0x3')]&&!!this[_0x6caf('0x0')]['size'];}[_0x6caf('0x6')](){this[_0x6caf('0x7')]['model'][_0x6caf('0x2')](()=>{const _0x4c2e5e=_0xc647de(Array[_0x6caf('0x8')](this[_0x6caf('0x0')]));for(const _0x4f4b75 of _0x4c2e5e)this[_0x6caf('0x4')]['execute'](_0x4f4b75['id']);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x41f1=['track-changes-accept-suggestion-not-found','_suggestions','TrackChangesEditing','editor','acceptSuggestion','isEnabled','get','refresh'];(function(_0x400269,_0x41f1ab){const _0x32acaa=function(_0x1f31b0){while(--_0x1f31b0){_0x400269['push'](_0x400269['shift']());}};_0x32acaa(++_0x41f1ab);}(_0x41f1,0x74));const _0x32ac=function(_0x400269,_0x41f1ab){_0x400269=_0x400269-0x0;let _0x32acaa=_0x41f1[_0x400269];return _0x32acaa;};import{Command as _0x32666a}from'ckeditor5/src/core';import{CKEditorError as _0x2c28ef}from'ckeditor5/src/utils';export default class $ extends _0x32666a{constructor(_0x1dd577,_0x32e5cf){super(_0x1dd577),this[_0x32ac('0x5')]=_0x32e5cf,this[_0x32ac('0x3')]();}[_0x32ac('0x3')](){this[_0x32ac('0x1')]=!0x0;}['execute'](_0x49ee4d){const _0x547141=this[_0x32ac('0x5')][_0x32ac('0x2')](_0x49ee4d);if(!_0x547141)throw new _0x2c28ef(_0x32ac('0x4'),this);this[_0x32ac('0x7')]['plugins'][_0x32ac('0x2')](_0x32ac('0x6'))[_0x32ac('0x0')](_0x547141);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x19c8=['_suggestions','model','isEnabled','from','change','some','execute','refresh','values','isInContent','editor','_discardSuggestionCommand'];(function(_0x462aa6,_0x19c8cf){const _0x1b2edb=function(_0x278f8b){while(--_0x278f8b){_0x462aa6['push'](_0x462aa6['shift']());}};_0x1b2edb(++_0x19c8cf);}(_0x19c8,0x18b));const _0x1b2e=function(_0x462aa6,_0x19c8cf){_0x462aa6=_0x462aa6-0x0;let _0x1b2edb=_0x19c8[_0x462aa6];return _0x1b2edb;};import{Command as _0x1c5f83}from'ckeditor5/src/core';export default class U extends _0x1c5f83{constructor(_0x3a2b73,_0x575429,_0x1154c){super(_0x3a2b73),this[_0x1b2e('0x0')]=_0x575429,this[_0x1b2e('0x1')]=_0x1154c,this['refresh']();}[_0x1b2e('0x8')](){const _0x535b5c=this[_0x1b2e('0x0')];this[_0x1b2e('0x3')]=_0x535b5c[_0x1b2e('0x3')]&&Array[_0x1b2e('0x4')](this['_suggestions'][_0x1b2e('0x9')]())[_0x1b2e('0x6')](_0x341055=>_0x341055[_0x1b2e('0xa')]);}[_0x1b2e('0x7')](){this[_0x1b2e('0xb')][_0x1b2e('0x2')][_0x1b2e('0x5')](()=>{for(const _0x159b3e of this[_0x1b2e('0x1')][_0x1b2e('0x9')]())_0x159b3e['isInContent']&&this['_discardSuggestionCommand'][_0x1b2e('0x7')](_0x159b3e['id']);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1edc=['_suggestions','_discardSuggestionCommand','editor','selection','_selectedSuggestions','from','refresh','model','execute','change','values','isEnabled'];(function(_0x128abe,_0x1edc5e){const _0x69cea2=function(_0x1b1a8b){while(--_0x1b1a8b){_0x128abe['push'](_0x128abe['shift']());}};_0x69cea2(++_0x1edc5e);}(_0x1edc,0xb1));const _0x69ce=function(_0x128abe,_0x1edc5e){_0x128abe=_0x128abe-0x0;let _0x69cea2=_0x1edc[_0x128abe];return _0x69cea2;};import{Command as _0x2b1f3a}from'ckeditor5/src/core';import _0x1bc42c from'../utils/getselectedsuggestions';export default class x extends _0x2b1f3a{constructor(_0x568a60,_0x3e2518,_0x485a48){super(_0x568a60),this[_0x69ce('0x4')]=_0x3e2518,this[_0x69ce('0x3')]=_0x485a48,this[_0x69ce('0x7')]=new Set(),this[_0x69ce('0x9')]();}[_0x69ce('0x9')](){const _0x20f1ec=this[_0x69ce('0x4')],_0xa21b30=this[_0x69ce('0x5')][_0x69ce('0xa')]['document'][_0x69ce('0x6')],_0x2337d4=Array[_0x69ce('0x8')](this[_0x69ce('0x3')][_0x69ce('0x1')]());this['_selectedSuggestions']=_0x1bc42c(_0xa21b30,_0x2337d4),this[_0x69ce('0x2')]=_0x20f1ec[_0x69ce('0x2')]&&!!this[_0x69ce('0x7')]['size'];}[_0x69ce('0xb')](){this[_0x69ce('0x5')][_0x69ce('0xa')][_0x69ce('0x0')](()=>{for(const _0x221d2b of this[_0x69ce('0x7')])this['_discardSuggestionCommand']['execute'](_0x221d2b['id']);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1020=['TrackChangesEditing','refresh','isEnabled','_suggestions','execute','get','track-changes-discard-suggestion-not-found','editor','discardSuggestion','plugins'];(function(_0x468d8c,_0x1020c0){const _0x44c70f=function(_0x52babb){while(--_0x52babb){_0x468d8c['push'](_0x468d8c['shift']());}};_0x44c70f(++_0x1020c0);}(_0x1020,0x18c));const _0x44c7=function(_0x468d8c,_0x1020c0){_0x468d8c=_0x468d8c-0x0;let _0x44c70f=_0x1020[_0x468d8c];return _0x44c70f;};import{Command as _0x414f67}from'ckeditor5/src/core';import{CKEditorError as _0x11aa8a}from'ckeditor5/src/utils';export default class N extends _0x414f67{constructor(_0x45fe6b,_0x58229e){super(_0x45fe6b),this[_0x44c7('0x7')]=_0x58229e,this[_0x44c7('0x5')]();}['refresh'](){this[_0x44c7('0x6')]=!0x0;}[_0x44c7('0x8')](_0x11db10){const _0x143c07=this[_0x44c7('0x7')][_0x44c7('0x9')](_0x11db10);if(!_0x143c07)throw new _0x11aa8a(_0x44c7('0x0'),this);this[_0x44c7('0x1')][_0x44c7('0x3')][_0x44c7('0x9')](_0x44c7('0x4'))[_0x44c7('0x2')](_0x143c07);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x57d8=['refresh','_disableUnsupportedCommands','isEnabled','affectsData','commands','has','editor','TrackChangesCommand','value','_enabledCommands','execute','_enableCommands','clearForceDisabled'];(function(_0x336dc1,_0x57d81e){const _0x658c8f=function(_0x1ae107){while(--_0x1ae107){_0x336dc1['push'](_0x336dc1['shift']());}};_0x658c8f(++_0x57d81e);}(_0x57d8,0x13c));const _0x658c=function(_0x336dc1,_0x57d81e){_0x336dc1=_0x336dc1-0x0;let _0x658c8f=_0x57d8[_0x336dc1];return _0x658c8f;};import{Command as _0x3d3f2f}from'ckeditor5/src/core';export default class M extends _0x3d3f2f{constructor(_0x540d93,_0x584fe9){super(_0x540d93),this[_0x658c('0x5')]=_0x584fe9,this[_0x658c('0x4')]=!0x1,this[_0x658c('0x9')]();}[_0x658c('0x9')](){this[_0x658c('0xb')]=!0x0;}[_0x658c('0x6')](){this[_0x658c('0x4')]=!this[_0x658c('0x4')],this['value']?this[_0x658c('0xa')]():this['_enableCommands']();}[_0x658c('0xa')](){for(const _0x499a6b of this[_0x658c('0x2')][_0x658c('0x0')][_0x658c('0x0')]())_0x499a6b[_0x658c('0xc')]&&!this[_0x658c('0x5')][_0x658c('0x1')](_0x499a6b)&&_0x499a6b['forceDisabled'](_0x658c('0x3'));}[_0x658c('0x7')](){for(const _0x4ea576 of this[_0x658c('0x2')][_0x658c('0x0')][_0x658c('0x0')]())_0x4ea576[_0x658c('0xc')]&&!this[_0x658c('0x5')]['has'](_0x4ea576)&&_0x4ea576[_0x658c('0x8')](_0x658c('0x3'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
const _0x256d=['model','from','ltr','justify','change','locale','document','selection','FORMAT_ALIGN_TO_LEFT','FORMAT_ALIGN_TO_RIGHT','getSelectedBlocks','AlignmentEditing','left','center','alignment','editor','FORMAT_ALIGN_TO_CENTER','contentLanguageDirection','enableCommand','plugins','registerDescriptionCallback','*Format:*\x20%0','right','afterInit','has','schema','checkAttribute','value','filter','commandParams','_descriptionFactory','TrackChangesEditing'];(function(_0x53102c,_0x256dcc){const _0x1778eb=function(_0x4b0e72){while(--_0x4b0e72){_0x53102c['push'](_0x53102c['shift']());}};_0x1778eb(++_0x256dcc);}(_0x256d,0x1c1));const _0x1778=function(_0x53102c,_0x256dcc){_0x53102c=_0x53102c-0x0;let _0x1778eb=_0x256d[_0x53102c];return _0x1778eb;};import{Plugin as _0x52351f}from'ckeditor5/src/core';import{getTranslation as _0x289a4d}from'../utils/common-translations';export default class E extends _0x52351f{[_0x1778('0x16')](){const _0xf8ba44=this[_0x1778('0xe')],_0x49eff1=_0xf8ba44[_0x1778('0x4')];if(!_0xf8ba44[_0x1778('0x12')][_0x1778('0x17')](_0x1778('0xa')))return;const _0x1727b1=_0xf8ba44[_0x1778('0x12')]['get'](_0x1778('0x1e'));_0x1727b1[_0x1778('0x11')](_0x1778('0xd'),(_0x2068b5,_0xf1e223={})=>{let _0x544e5d=_0xf1e223['value'];_0xf1e223[_0x1778('0x1a')]||(_0x544e5d=_0x1778('0x1')===_0xf8ba44[_0x1778('0x4')][_0x1778('0x10')]?_0x1778('0xb'):_0x1778('0x15'));const _0x36974e=Array[_0x1778('0x0')](this['editor'][_0x1778('0x1f')][_0x1778('0x5')][_0x1778('0x6')][_0x1778('0x9')]())[_0x1778('0x1b')](_0x194978=>function(_0x206f30,_0x504f94,_0x5d9b43){const _0xb5e52=_0x206f30['getAttribute'](_0x1778('0xd'))||null;return _0x504f94[_0x1778('0x19')](_0x206f30,_0x1778('0xd'))&&_0x5d9b43!=_0xb5e52;}(_0x194978,this[_0x1778('0xe')][_0x1778('0x1f')][_0x1778('0x18')],_0x544e5d));_0xf8ba44[_0x1778('0x1f')][_0x1778('0x3')](()=>{for(const _0x14c9a0 of _0x36974e)_0x1727b1['markBlockFormat'](_0x14c9a0,{'commandName':'alignment','commandParams':[{'value':_0x544e5d}]});});}),_0x1727b1[_0x1778('0x1d')][_0x1778('0x13')](_0x17194b=>{const {data:_0x13d024}=_0x17194b;if(_0x13d024&&_0x1778('0xd')==_0x13d024['commandName']){const _0x596fbf=_0x13d024[_0x1778('0x1c')][0x0]['value'];return{'type':'format','content':_0x289a4d(_0x49eff1,_0x1778('0x14'),function(_0x28efd6){switch(_0x28efd6){case'left':return _0x289a4d(_0x49eff1,_0x1778('0x7'));case _0x1778('0x15'):return _0x289a4d(_0x49eff1,_0x1778('0x8'));case _0x1778('0xc'):return _0x289a4d(_0x49eff1,_0x1778('0xf'));case _0x1778('0x2'):return _0x289a4d(_0x49eff1,'FORMAT_JUSTIFY_TEXT');}}(_0x596fbf))};}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
const _0x1232=['markInlineFormat','editor','FORMAT_STRIKETHROUGH','FORMAT_SUBSCRIPT','UnderlineEditing','locale','slice','italic','bold','enableCommand','has','change','*Remove\x20format:*\x20%0','FORMAT_UNDERLINE','underline','FORMAT_CODE','FORMAT_BOLD','registerDescriptionCallback','FORMAT_ITALIC','format','*Format:*\x20%0','superscript','selection','TrackChangesEditing','get','plugins','SubscriptEditing','strikethrough','afterInit','SuperscriptEditing','isCollapsed','value','toLowerCase','forceValue','model','commands','commandParams'];(function(_0x2221f9,_0x12327b){const _0x391fea=function(_0x4ca88c){while(--_0x4ca88c){_0x2221f9['push'](_0x2221f9['shift']());}};_0x391fea(++_0x12327b);}(_0x1232,0xf3));const _0x391f=function(_0x2221f9,_0x12327b){_0x2221f9=_0x2221f9-0x0;let _0x391fea=_0x1232[_0x2221f9];return _0x391fea;};import{Plugin as _0x4f04a4}from'ckeditor5/src/core';import{getTranslation as _0x2394d5}from'../utils/common-translations';import{getRangesWithAttribute as _0x4c622c}from'./utils';const Ft=['BoldEditing','ItalicEditing',_0x391f('0x14'),'CodeEditing','StrikethroughEditing',_0x391f('0x5'),_0x391f('0x8')];export default class O extends _0x4f04a4{[_0x391f('0x7')](){const _0x77cf93=this[_0x391f('0x11')],_0x277508=_0x77cf93[_0x391f('0xd')],_0xc454d3=_0x77cf93[_0x391f('0x4')][_0x391f('0x3')](_0x391f('0x2')),_0xf137e6=_0x77cf93[_0x391f('0x15')];for(const _0x76153d of Ft){if(!_0x77cf93['plugins'][_0x391f('0x1a')](_0x76153d))continue;const _0x820bf=_0x76153d[_0x391f('0x16')](0x0,-0x7)[_0x391f('0xb')](),_0x299e09=_0x77cf93[_0x391f('0xe')][_0x391f('0x3')](_0x820bf);_0xc454d3[_0x391f('0x19')](_0x820bf,(_0x17a4dc,_0x3ae679={})=>{const _0x5707cd=_0x277508['document'][_0x391f('0x1')];if(_0x5707cd[_0x391f('0x9')])return void _0x17a4dc(_0x3ae679);const _0x5caf49=void 0x0!==_0x3ae679[_0x391f('0xc')]?_0x3ae679[_0x391f('0xc')]:!_0x299e09[_0x391f('0xa')];_0x277508[_0x391f('0x1b')](()=>{const _0x3f4feb=Array['from'](_0x5707cd['getRanges']());for(const _0x3b731a of _0x3f4feb){const _0x3a6353=_0x5caf49?[_0x3b731a]:_0x4c622c(_0x820bf,_0x3b731a,_0x277508);for(const _0x4cd839 of _0x3a6353)_0xc454d3[_0x391f('0x10')](_0x4cd839,{'commandName':_0x820bf,'commandParams':[{'forceValue':_0x5caf49}]});}});});}function _0x5112b9(_0x396c87,_0x38dd10){_0xc454d3['_descriptionFactory'][_0x391f('0x21')](_0x1a4327=>{const {data:_0x34e0e6}=_0x1a4327;if(_0x34e0e6&&_0x34e0e6['commandName']===_0x396c87)return _0x34e0e6[_0x391f('0xf')][0x0][_0x391f('0xc')]?{'type':_0x391f('0x23'),'content':_0x2394d5(_0xf137e6,_0x391f('0x24'),_0x38dd10)}:{'type':'format','content':_0x2394d5(_0xf137e6,_0x391f('0x1c'),_0x38dd10)};});}_0x5112b9(_0x391f('0x18'),_0x2394d5(_0xf137e6,_0x391f('0x20'))),_0x5112b9(_0x391f('0x17'),_0x2394d5(_0xf137e6,_0x391f('0x22'))),_0x5112b9(_0x391f('0x1e'),_0x2394d5(_0xf137e6,_0x391f('0x1d'))),_0x5112b9('code',_0x2394d5(_0xf137e6,_0x391f('0x1f'))),_0x5112b9(_0x391f('0x6'),_0x2394d5(_0xf137e6,_0x391f('0x12'))),_0x5112b9('subscript',_0x2394d5(_0xf137e6,_0x391f('0x13'))),_0x5112b9(_0x391f('0x0'),_0x2394d5(_0xf137e6,'FORMAT_SUPERSCRIPT'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
const _0x454f=['TrackChangesEditing','*Remove\x20format:*\x20%0','forceValue','ELEMENT_BLOCK_QUOTE','commandParams','getSelectedBlocks','get','format','blockQuote','plugins','commandName','model','registerDescriptionCallback','editor','$root','value','enableCommand','change','filter','parent','*Format:*\x20%0','checkChild','markBlockFormat'];(function(_0x5817b1,_0x454fb1){const _0x332585=function(_0x1cbcbb){while(--_0x1cbcbb){_0x5817b1['push'](_0x5817b1['shift']());}};_0x332585(++_0x454fb1);}(_0x454f,0x1d6));const _0x3325=function(_0x5817b1,_0x454fb1){_0x5817b1=_0x5817b1-0x0;let _0x332585=_0x454f[_0x5817b1];return _0x332585;};import{Plugin as _0x3791d5}from'ckeditor5/src/core';import{getTranslation as _0x5c867a}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x2b1ca6}from'../utils/getrangesofblockgroups';export default class P extends _0x3791d5{['afterInit'](){const _0x3f1158=this[_0x3325('0x3')],_0x5b5b54=_0x3f1158['locale'];if(!_0x3f1158[_0x3325('0x16')]['has']('BlockQuoteEditing'))return;const _0x284262=_0x3f1158['plugins'][_0x3325('0x13')](_0x3325('0xd')),_0xa01c51=this['editor']['commands'][_0x3325('0x13')](_0x3325('0x15'));_0x284262[_0x3325('0x6')](_0x3325('0x15'),(_0x28bcdf,_0x32d3ab={})=>{const _0x24a630=this['editor'][_0x3325('0x1')]['document']['selection'],_0x2db696=_0x32d3ab&&void 0x0!==_0x32d3ab[_0x3325('0xf')]?_0x32d3ab[_0x3325('0xf')]:!_0xa01c51[_0x3325('0x5')];let _0x151132=[];if(_0x2db696){const _0x59c2a8=Array['from'](_0x24a630['getSelectedBlocks']())[_0x3325('0x8')](_0x5506ae=>to(_0x5506ae)||function(_0x104034,_0x1b00a9){const _0x513d7d=_0x1b00a9['checkChild'](_0x104034[_0x3325('0x9')],_0x3325('0x15')),_0x15f3ef=_0x1b00a9[_0x3325('0xb')]([_0x3325('0x4'),_0x3325('0x15')],_0x104034);return _0x513d7d&&_0x15f3ef;}(_0x5506ae,this[_0x3325('0x3')][_0x3325('0x1')]['schema']));_0x151132=_0x2b1ca6(_0x59c2a8,_0x3f1158[_0x3325('0x1')]);}else{const _0x1ee0f2=Array['from'](_0x24a630[_0x3325('0x12')]())[_0x3325('0x8')](_0xf34871=>to(_0xf34871));_0x151132=_0x2b1ca6(_0x1ee0f2,_0x3f1158['model']);}_0x3f1158['model'][_0x3325('0x7')](()=>{for(const _0x28c5ca of _0x151132)_0x284262[_0x3325('0xc')](_0x28c5ca,{'commandName':_0x3325('0x15'),'commandParams':[{'forceValue':_0x2db696}]});});}),_0x284262['_descriptionFactory'][_0x3325('0x2')](_0x4a9e13=>{const {data:_0x2fdea1}=_0x4a9e13;if(_0x2fdea1&&'blockQuote'==_0x2fdea1[_0x3325('0x0')]){const _0x3523aa=_0x5c867a(_0x5b5b54,_0x3325('0x10'));return _0x2fdea1[_0x3325('0x11')][0x0][_0x3325('0xf')]?{'type':_0x3325('0x14'),'content':_0x5c867a(_0x5b5b54,_0x3325('0xa'),_0x3523aa)}:{'type':_0x3325('0x14'),'content':_0x5c867a(_0x5b5b54,_0x3325('0xe'),_0x3523aa)};}});}}function to(_0x7933a6){return _0x3325('0x15')==_0x7933a6[_0x3325('0x9')]['name'];}
|
|
@@ -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 _0x2fe8=['plugins','afterInit','commands','editor','get','enableCommand','TrackChangesEditing'];(function(_0x16bc69,_0x2fe82d){const _0x4cef02=function(_0xbbb865){while(--_0xbbb865){_0x16bc69['push'](_0x16bc69['shift']());}};_0x4cef02(++_0x2fe82d);}(_0x2fe8,0xc3));const _0x4cef=function(_0x16bc69,_0x2fe82d){_0x16bc69=_0x16bc69-0x0;let _0x4cef02=_0x2fe8[_0x16bc69];return _0x4cef02;};import{Plugin as _0x19af3c}from'ckeditor5/src/core';export default class G extends _0x19af3c{[_0x4cef('0x2')](){const _0xcc2454=this[_0x4cef('0x4')];_0xcc2454[_0x4cef('0x3')][_0x4cef('0x5')]('ckbox')&&_0xcc2454[_0x4cef('0x1')]['get'](_0x4cef('0x0'))[_0x4cef('0x6')]('ckbox');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
const _0x3765=['outdentCodeBlock','from','CodeBlock','forceValue','language','_descriptionFactory','model','locale','codeBlock','registerDescriptionCallback','filter','schema','commands','name','languages','afterInit','registerElementLabel','has','indentCodeBlock','value','editor','get','*Remove\x20format:*\x20%0','document','blockName','config','label','enableCommand','change','plugins','selection','rootElement','commandParams','ELEMENT_CODE_BLOCK','getSelectedBlocks','commandName'];(function(_0x4cc718,_0x3765c3){const _0x172aa7=function(_0x4f33cb){while(--_0x4f33cb){_0x4cc718['push'](_0x4cc718['shift']());}};_0x172aa7(++_0x3765c3);}(_0x3765,0x1a6));const _0x172a=function(_0x4cc718,_0x3765c3){_0x4cc718=_0x4cc718-0x0;let _0x172aa7=_0x3765[_0x4cc718];return _0x172aa7;};import{Plugin as _0x4714d2}from'ckeditor5/src/core';import{getTranslation as _0x3ec1d8}from'../utils/common-translations';import{getRangesOfBlockGroups as _0xc802d9}from'../utils/getrangesofblockgroups';export default class F extends _0x4714d2{[_0x172a('0x19')](){const _0x25e470=this[_0x172a('0x1e')];if(!_0x25e470[_0x172a('0x3')][_0x172a('0x1b')](_0x172a('0xc')))return;const _0xceff75=_0x25e470['plugins'][_0x172a('0x1f')]('TrackChangesEditing'),_0xc6c1a4=_0x25e470[_0x172a('0x11')],_0x4068fb=_0x25e470[_0x172a('0x23')][_0x172a('0x1f')](_0x172a('0x12'))[_0x172a('0x18')],_0x5eade0=_0x25e470[_0x172a('0x16')][_0x172a('0x1f')](_0x172a('0x12'));_0xceff75[_0x172a('0x1')](_0x172a('0x1c')),_0xceff75[_0x172a('0x1')](_0x172a('0xa')),_0xceff75[_0x172a('0x1')](_0x172a('0x12'),(_0x5a3185,_0x28f69f={})=>{const _0x6fe7e0=_0x25e470[_0x172a('0x10')],_0x5df43c=_0x25e470[_0x172a('0x10')][_0x172a('0x21')][_0x172a('0x4')],_0x8147e2=_0x28f69f&&void 0x0!==_0x28f69f['forceValue']?_0x28f69f[_0x172a('0xd')]:!_0x5eade0[_0x172a('0x1d')];let _0x1bc4b9;_0x28f69f[_0x172a('0xe')]||(_0x28f69f[_0x172a('0xe')]=_0x4068fb[0x0][_0x172a('0xe')]),_0x1bc4b9=_0x8147e2?Array[_0x172a('0xb')](_0x5df43c['getSelectedBlocks']())[_0x172a('0x14')](_0x517c62=>co(_0x517c62)||function(_0x3fb34d,_0x164e49){if(_0x3fb34d['is'](_0x172a('0x5'))||_0x164e49['isLimit'](_0x3fb34d))return!0x1;return _0x164e49['checkChild'](_0x3fb34d['parent'],'codeBlock');}(_0x517c62,_0x6fe7e0[_0x172a('0x15')])):Array['from'](_0x5df43c[_0x172a('0x8')]())[_0x172a('0x14')](_0x46e198=>co(_0x46e198));const _0x1fea2b=_0xc802d9(_0x1bc4b9,_0x6fe7e0);_0x6fe7e0[_0x172a('0x2')](()=>{for(const _0x922e70 of _0x1fea2b)_0xceff75['markBlockFormat'](_0x922e70,{'commandName':_0x172a('0x12'),'commandParams':[{..._0x28f69f,'forceValue':_0x8147e2}],'formatGroupId':_0x172a('0x22')});});}),(_0xceff75[_0x172a('0xf')][_0x172a('0x1a')]('codeBlock',_0x3ce1aa=>_0x3ec1d8(_0xc6c1a4,_0x172a('0x7'),_0x3ce1aa)),_0xceff75[_0x172a('0xf')][_0x172a('0x13')](_0x38c8f5=>{const {type:_0x30454a,data:_0x53c01e}=_0x38c8f5;if('formatBlock'==_0x30454a&&_0x53c01e&&_0x172a('0x12')==_0x53c01e[_0x172a('0x9')]){const _0x21ab0b=_0x53c01e[_0x172a('0x6')][0x0][_0x172a('0xe')],_0x2ccba3=_0x4068fb['find'](_0x48e9a1=>_0x48e9a1['language']===_0x21ab0b)[_0x172a('0x0')],_0x422268=_0xc6c1a4['_t'](_0x2ccba3);return _0x53c01e[_0x172a('0x6')][0x0]['forceValue']?{'type':'format','content':_0x3ec1d8(_0xc6c1a4,'*Format:*\x20%0',_0x3ec1d8(_0xc6c1a4,_0x172a('0x7'),0x1)+'\x20('+_0x422268+')')}:{'type':'format','content':_0x3ec1d8(_0xc6c1a4,_0x172a('0x20'),_0x3ec1d8(_0xc6c1a4,_0x172a('0x7'),0x1))};}}));}}function co(_0x2a6be6){return _0x172a('0x12')==_0x2a6be6[_0x172a('0x17')];}
|