jodit-react 5.0.1-0 → 5.0.5

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.
@@ -0,0 +1,1421 @@
1
+ // Jest Snapshot v1, https://goo.gl/fbAQLP
2
+
3
+ exports[`Smoke Test Config should render without crashing 1`] = `
4
+ <DocumentFragment>
5
+ <div
6
+ class="jodit-react-container"
7
+ >
8
+ <div
9
+ class="jodit-container jodit jodit_theme_default jodit-wysiwyg_mode jodit_disabled"
10
+ contenteditable="false"
11
+ style="min-height: 200px; max-height: auto; min-width: 200px; max-width: 100%; height: auto; width: auto;"
12
+ >
13
+ <div
14
+ class="jodit-toolbar__box"
15
+ >
16
+ <div
17
+ class="jodit-toolbar-editor-collection jodit-toolbar-editor-collection_mode_horizontal jodit-toolbar-editor-collection_size_middle"
18
+ >
19
+ <input
20
+ disabled="true"
21
+ style="width: 0; height:0; position: absolute; visibility: hidden;"
22
+ tab-index="-1"
23
+ />
24
+ <div
25
+ class="jodit-ui-group jodit-ui-group_line_true"
26
+ >
27
+ <div
28
+ class="jodit-ui-group jodit-ui-group_separated_true jodit-ui-group_group_font-style"
29
+ >
30
+ <span
31
+ aria-label="Bold"
32
+ class="jodit-toolbar-button jodit-toolbar-button_size_middle jodit-toolbar-button_variant_initial jodit-toolbar-button_bold jodit-ui-group__bold"
33
+ data-ref="bold"
34
+ ref="bold"
35
+ role="listitem"
36
+ >
37
+ <button
38
+ aria-pressed="false"
39
+ class="jodit-toolbar-button__button"
40
+ role="button"
41
+ tabindex="-1"
42
+ type="button"
43
+ >
44
+ <span
45
+ class="jodit-toolbar-button__icon"
46
+ >
47
+ <svg
48
+ class="jodit-icon_bold jodit-icon"
49
+ viewBox="0 0 1792 1792"
50
+ xmlns="http://www.w3.org/2000/svg"
51
+ >
52
+
53
+ <path
54
+ d="M747 1521q74 32 140 32 376 0 376-335 0-114-41-180-27-44-61.5-74t-67.5-46.5-80.5-25-84-10.5-94.5-2q-73 0-101 10 0 53-.5 159t-.5 158q0 8-1 67.5t-.5 96.5 4.5 83.5 12 66.5zm-14-746q42 7 109 7 82 0 143-13t110-44.5 74.5-89.5 25.5-142q0-70-29-122.5t-79-82-108-43.5-124-14q-50 0-130 13 0 50 4 151t4 152q0 27-.5 80t-.5 79q0 46 1 69zm-541 889l2-94q15-4 85-16t106-27q7-12 12.5-27t8.5-33.5 5.5-32.5 3-37.5.5-34v-65.5q0-982-22-1025-4-8-22-14.5t-44.5-11-49.5-7-48.5-4.5-30.5-3l-4-83q98-2 340-11.5t373-9.5q23 0 68.5.5t67.5.5q70 0 136.5 13t128.5 42 108 71 74 104.5 28 137.5q0 52-16.5 95.5t-39 72-64.5 57.5-73 45-84 40q154 35 256.5 134t102.5 248q0 100-35 179.5t-93.5 130.5-138 85.5-163.5 48.5-176 14q-44 0-132-3t-132-3q-106 0-307 11t-231 12z"
55
+ />
56
+
57
+ </svg>
58
+ </span>
59
+ <span
60
+ class="jodit-toolbar-button__text"
61
+ />
62
+ </button>
63
+ </span>
64
+ <span
65
+ aria-label="Italic"
66
+ class="jodit-toolbar-button jodit-toolbar-button_size_middle jodit-toolbar-button_variant_initial jodit-toolbar-button_italic jodit-ui-group__italic"
67
+ data-ref="italic"
68
+ ref="italic"
69
+ role="listitem"
70
+ >
71
+ <button
72
+ aria-pressed="false"
73
+ class="jodit-toolbar-button__button"
74
+ role="button"
75
+ tabindex="-1"
76
+ type="button"
77
+ >
78
+ <span
79
+ class="jodit-toolbar-button__icon"
80
+ >
81
+ <svg
82
+ class="jodit-icon_italic jodit-icon"
83
+ viewBox="0 0 1792 1792"
84
+ xmlns="http://www.w3.org/2000/svg"
85
+ >
86
+
87
+ <path
88
+ d="M384 1662l17-85q6-2 81.5-21.5t111.5-37.5q28-35 41-101 1-7 62-289t114-543.5 52-296.5v-25q-24-13-54.5-18.5t-69.5-8-58-5.5l19-103q33 2 120 6.5t149.5 7 120.5 2.5q48 0 98.5-2.5t121-7 98.5-6.5q-5 39-19 89-30 10-101.5 28.5t-108.5 33.5q-8 19-14 42.5t-9 40-7.5 45.5-6.5 42q-27 148-87.5 419.5t-77.5 355.5q-2 9-13 58t-20 90-16 83.5-6 57.5l1 18q17 4 185 31-3 44-16 99-11 0-32.5 1.5t-32.5 1.5q-29 0-87-10t-86-10q-138-2-206-2-51 0-143 9t-121 11z"
89
+ />
90
+
91
+ </svg>
92
+ </span>
93
+ <span
94
+ class="jodit-toolbar-button__text"
95
+ />
96
+ </button>
97
+ </span>
98
+ <span
99
+ aria-label="Underline"
100
+ class="jodit-toolbar-button jodit-toolbar-button_size_middle jodit-toolbar-button_variant_initial jodit-toolbar-button_underline jodit-ui-group__underline"
101
+ data-ref="underline"
102
+ ref="underline"
103
+ role="listitem"
104
+ >
105
+ <button
106
+ aria-pressed="false"
107
+ class="jodit-toolbar-button__button"
108
+ role="button"
109
+ tabindex="-1"
110
+ type="button"
111
+ >
112
+ <span
113
+ class="jodit-toolbar-button__icon"
114
+ >
115
+ <svg
116
+ class="jodit-icon_underline jodit-icon"
117
+ viewBox="0 0 1792 1792"
118
+ xmlns="http://www.w3.org/2000/svg"
119
+ >
120
+
121
+ <path
122
+ d="M176 223q-37-2-45-4l-3-88q13-1 40-1 60 0 112 4 132 7 166 7 86 0 168-3 116-4 146-5 56 0 86-2l-1 14 2 64v9q-60 9-124 9-60 0-79 25-13 14-13 132 0 13 .5 32.5t.5 25.5l1 229 14 280q6 124 51 202 35 59 96 92 88 47 177 47 104 0 191-28 56-18 99-51 48-36 65-64 36-56 53-114 21-73 21-229 0-79-3.5-128t-11-122.5-13.5-159.5l-4-59q-5-67-24-88-34-35-77-34l-100 2-14-3 2-86h84l205 10q76 3 196-10l18 2q6 38 6 51 0 7-4 31-45 12-84 13-73 11-79 17-15 15-15 41 0 7 1.5 27t1.5 31q8 19 22 396 6 195-15 304-15 76-41 122-38 65-112 123-75 57-182 89-109 33-255 33-167 0-284-46-119-47-179-122-61-76-83-195-16-80-16-237v-333q0-188-17-213-25-36-147-39zm1488 1409v-64q0-14-9-23t-23-9h-1472q-14 0-23 9t-9 23v64q0 14 9 23t23 9h1472q14 0 23-9t9-23z"
123
+ />
124
+
125
+ </svg>
126
+ </span>
127
+ <span
128
+ class="jodit-toolbar-button__text"
129
+ />
130
+ </button>
131
+ </span>
132
+ <span
133
+ aria-label="Strike through"
134
+ class="jodit-toolbar-button jodit-toolbar-button_size_middle jodit-toolbar-button_variant_initial jodit-toolbar-button_strikethrough jodit-ui-group__strikethrough"
135
+ data-ref="strikethrough"
136
+ ref="strikethrough"
137
+ role="listitem"
138
+ >
139
+ <button
140
+ aria-pressed="false"
141
+ class="jodit-toolbar-button__button"
142
+ role="button"
143
+ tabindex="-1"
144
+ type="button"
145
+ >
146
+ <span
147
+ class="jodit-toolbar-button__icon"
148
+ >
149
+ <svg
150
+ class="jodit-icon_strikethrough jodit-icon"
151
+ viewBox="0 0 1792 1792"
152
+ xmlns="http://www.w3.org/2000/svg"
153
+ >
154
+
155
+ <path
156
+ d="M1760 896q14 0 23 9t9 23v64q0 14-9 23t-23 9h-1728q-14 0-23-9t-9-23v-64q0-14 9-23t23-9h1728zm-1277-64q-28-35-51-80-48-97-48-188 0-181 134-309 133-127 393-127 50 0 167 19 66 12 177 48 10 38 21 118 14 123 14 183 0 18-5 45l-12 3-84-6-14-2q-50-149-103-205-88-91-210-91-114 0-182 59-67 58-67 146 0 73 66 140t279 129q69 20 173 66 58 28 95 52h-743zm507 256h411q7 39 7 92 0 111-41 212-23 55-71 104-37 35-109 81-80 48-153 66-80 21-203 21-114 0-195-23l-140-40q-57-16-72-28-8-8-8-22v-13q0-108-2-156-1-30 0-68l2-37v-44l102-2q15 34 30 71t22.5 56 12.5 27q35 57 80 94 43 36 105 57 59 22 132 22 64 0 139-27 77-26 122-86 47-61 47-129 0-84-81-157-34-29-137-71z"
157
+ />
158
+
159
+ </svg>
160
+ </span>
161
+ <span
162
+ class="jodit-toolbar-button__text"
163
+ />
164
+ </button>
165
+ </span>
166
+ <span
167
+ aria-label="Clear Formatting"
168
+ class="jodit-toolbar-button jodit-toolbar-button_size_middle jodit-toolbar-button_variant_initial jodit-toolbar-button_eraser jodit-ui-group__eraser"
169
+ data-ref="eraser"
170
+ ref="eraser"
171
+ role="listitem"
172
+ >
173
+ <button
174
+ aria-pressed="false"
175
+ class="jodit-toolbar-button__button"
176
+ role="button"
177
+ tabindex="-1"
178
+ type="button"
179
+ >
180
+ <span
181
+ class="jodit-toolbar-button__icon"
182
+ >
183
+ <svg
184
+ class="jodit-icon_eraser jodit-icon"
185
+ viewBox="0 0 1792 1792"
186
+ xmlns="http://www.w3.org/2000/svg"
187
+ >
188
+
189
+ <path
190
+ d="M832 1408l336-384h-768l-336 384h768zm1013-1077q15 34 9.5 71.5t-30.5 65.5l-896 1024q-38 44-96 44h-768q-38 0-69.5-20.5t-47.5-54.5q-15-34-9.5-71.5t30.5-65.5l896-1024q38-44 96-44h768q38 0 69.5 20.5t47.5 54.5z"
191
+ />
192
+
193
+ </svg>
194
+ </span>
195
+ <span
196
+ class="jodit-toolbar-button__text"
197
+ />
198
+ </button>
199
+ </span>
200
+ </div>
201
+ <div
202
+ class="jodit-ui-group jodit-ui-group_separated_true jodit-ui-group_group_list jodit-ui-group_before-spacer_true"
203
+ >
204
+ <span
205
+ aria-label="Insert Unordered List"
206
+ class="jodit-toolbar-button jodit-toolbar-button_size_middle jodit-toolbar-button_variant_initial jodit-toolbar-button_ul jodit-toolbar-button_with-trigger_true jodit-ui-group__ul"
207
+ data-ref="ul"
208
+ ref="ul"
209
+ role="listitem"
210
+ >
211
+ <button
212
+ aria-pressed="false"
213
+ class="jodit-toolbar-button__button"
214
+ role="button"
215
+ tabindex="-1"
216
+ type="button"
217
+ >
218
+ <span
219
+ class="jodit-toolbar-button__icon"
220
+ >
221
+ <svg
222
+ class="jodit-icon_ul jodit-icon"
223
+ viewBox="0 0 1792 1792"
224
+ xmlns="http://www.w3.org/2000/svg"
225
+ >
226
+
227
+ <path
228
+ d="M384 1408q0 80-56 136t-136 56-136-56-56-136 56-136 136-56 136 56 56 136zm0-512q0 80-56 136t-136 56-136-56-56-136 56-136 136-56 136 56 56 136zm1408 416v192q0 13-9.5 22.5t-22.5 9.5h-1216q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1216q13 0 22.5 9.5t9.5 22.5zm-1408-928q0 80-56 136t-136 56-136-56-56-136 56-136 136-56 136 56 56 136zm1408 416v192q0 13-9.5 22.5t-22.5 9.5h-1216q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1216q13 0 22.5 9.5t9.5 22.5zm0-512v192q0 13-9.5 22.5t-22.5 9.5h-1216q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1216q13 0 22.5 9.5t9.5 22.5z"
229
+ stroke-width="0"
230
+ />
231
+
232
+ </svg>
233
+ </span>
234
+ <span
235
+ class="jodit-toolbar-button__text"
236
+ />
237
+ </button>
238
+ <span
239
+ class="jodit-toolbar-button__trigger"
240
+ role="trigger"
241
+ >
242
+ <svg
243
+ viewBox="0 0 10 10"
244
+ xmlns="http://www.w3.org/2000/svg"
245
+ >
246
+
247
+ <path
248
+ d="M.941 4.523a.75.75 0 1 1 1.06-1.06l3.006 3.005 3.005-3.005a.75.75 0 1 1 1.06 1.06l-3.549 3.55a.75.75 0 0 1-1.168-.136L.941 4.523z"
249
+ />
250
+
251
+ </svg>
252
+ </span>
253
+ </span>
254
+ <span
255
+ aria-label="Insert Ordered List"
256
+ class="jodit-toolbar-button jodit-toolbar-button_size_middle jodit-toolbar-button_variant_initial jodit-toolbar-button_ol jodit-toolbar-button_with-trigger_true jodit-ui-group__ol"
257
+ data-ref="ol"
258
+ ref="ol"
259
+ role="listitem"
260
+ >
261
+ <button
262
+ aria-pressed="false"
263
+ class="jodit-toolbar-button__button"
264
+ role="button"
265
+ tabindex="-1"
266
+ type="button"
267
+ >
268
+ <span
269
+ class="jodit-toolbar-button__icon"
270
+ >
271
+ <svg
272
+ class="jodit-icon_ol jodit-icon"
273
+ viewBox="0 0 1792 1792"
274
+ xmlns="http://www.w3.org/2000/svg"
275
+ >
276
+
277
+ <path
278
+ d="M381 1620q0 80-54.5 126t-135.5 46q-106 0-172-66l57-88q49 45 106 45 29 0 50.5-14.5t21.5-42.5q0-64-105-56l-26-56q8-10 32.5-43.5t42.5-54 37-38.5v-1q-16 0-48.5 1t-48.5 1v53h-106v-152h333v88l-95 115q51 12 81 49t30 88zm2-627v159h-362q-6-36-6-54 0-51 23.5-93t56.5-68 66-47.5 56.5-43.5 23.5-45q0-25-14.5-38.5t-39.5-13.5q-46 0-81 58l-85-59q24-51 71.5-79.5t105.5-28.5q73 0 123 41.5t50 112.5q0 50-34 91.5t-75 64.5-75.5 50.5-35.5 52.5h127v-60h105zm1409 319v192q0 13-9.5 22.5t-22.5 9.5h-1216q-13 0-22.5-9.5t-9.5-22.5v-192q0-14 9-23t23-9h1216q13 0 22.5 9.5t9.5 22.5zm-1408-899v99h-335v-99h107q0-41 .5-122t.5-121v-12h-2q-8 17-50 54l-71-76 136-127h106v404h108zm1408 387v192q0 13-9.5 22.5t-22.5 9.5h-1216q-13 0-22.5-9.5t-9.5-22.5v-192q0-14 9-23t23-9h1216q13 0 22.5 9.5t9.5 22.5zm0-512v192q0 13-9.5 22.5t-22.5 9.5h-1216q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1216q13 0 22.5 9.5t9.5 22.5z"
279
+ stroke-width="0"
280
+ />
281
+
282
+ </svg>
283
+ </span>
284
+ <span
285
+ class="jodit-toolbar-button__text"
286
+ />
287
+ </button>
288
+ <span
289
+ class="jodit-toolbar-button__trigger"
290
+ role="trigger"
291
+ >
292
+ <svg
293
+ viewBox="0 0 10 10"
294
+ xmlns="http://www.w3.org/2000/svg"
295
+ >
296
+
297
+ <path
298
+ d="M.941 4.523a.75.75 0 1 1 1.06-1.06l3.006 3.005 3.005-3.005a.75.75 0 1 1 1.06 1.06l-3.549 3.55a.75.75 0 0 1-1.168-.136L.941 4.523z"
299
+ />
300
+
301
+ </svg>
302
+ </span>
303
+ </span>
304
+ </div>
305
+ <div
306
+ class="jodit-ui-spacer"
307
+ />
308
+ <div
309
+ class="jodit-ui-group"
310
+ />
311
+ <div
312
+ class="jodit-ui-group jodit-ui-group_separated_true jodit-ui-group_group_font"
313
+ >
314
+ <span
315
+ aria-label="Font family"
316
+ class="jodit-toolbar-button jodit-toolbar-button_size_middle jodit-toolbar-button_variant_initial jodit-toolbar-button_font jodit-toolbar-button_with-trigger_true jodit-ui-group__font"
317
+ data-ref="font"
318
+ ref="font"
319
+ role="listitem"
320
+ >
321
+ <button
322
+ aria-pressed="false"
323
+ class="jodit-toolbar-button__button"
324
+ role="button"
325
+ tabindex="-1"
326
+ type="button"
327
+ >
328
+ <span
329
+ class="jodit-toolbar-button__icon"
330
+ >
331
+ <svg
332
+ class="jodit-icon_font jodit-icon"
333
+ viewBox="0 0 1792 1792"
334
+ xmlns="http://www.w3.org/2000/svg"
335
+ >
336
+
337
+ <path
338
+ d="M789 559l-170 450q33 0 136.5 2t160.5 2q19 0 57-2-87-253-184-452zm-725 1105l2-79q23-7 56-12.5t57-10.5 49.5-14.5 44.5-29 31-50.5l237-616 280-724h128q8 14 11 21l205 480q33 78 106 257.5t114 274.5q15 34 58 144.5t72 168.5q20 45 35 57 19 15 88 29.5t84 20.5q6 38 6 57 0 4-.5 13t-.5 13q-63 0-190-8t-191-8q-76 0-215 7t-178 8q0-43 4-78l131-28q1 0 12.5-2.5t15.5-3.5 14.5-4.5 15-6.5 11-8 9-11 2.5-14q0-16-31-96.5t-72-177.5-42-100l-450-2q-26 58-76.5 195.5t-50.5 162.5q0 22 14 37.5t43.5 24.5 48.5 13.5 57 8.5 41 4q1 19 1 58 0 9-2 27-58 0-174.5-10t-174.5-10q-8 0-26.5 4t-21.5 4q-80 14-188 14z"
339
+ />
340
+
341
+ </svg>
342
+ </span>
343
+ <span
344
+ class="jodit-toolbar-button__text"
345
+ />
346
+ </button>
347
+ <span
348
+ class="jodit-toolbar-button__trigger"
349
+ role="trigger"
350
+ >
351
+ <svg
352
+ viewBox="0 0 10 10"
353
+ xmlns="http://www.w3.org/2000/svg"
354
+ >
355
+
356
+ <path
357
+ d="M.941 4.523a.75.75 0 1 1 1.06-1.06l3.006 3.005 3.005-3.005a.75.75 0 1 1 1.06 1.06l-3.549 3.55a.75.75 0 0 1-1.168-.136L.941 4.523z"
358
+ />
359
+
360
+ </svg>
361
+ </span>
362
+ </span>
363
+ <span
364
+ aria-label="Font size"
365
+ class="jodit-toolbar-button jodit-toolbar-button_size_middle jodit-toolbar-button_variant_initial jodit-toolbar-button_fontsize jodit-toolbar-button_with-trigger_true jodit-ui-group__fontsize"
366
+ data-ref="fontsize"
367
+ ref="fontsize"
368
+ role="listitem"
369
+ >
370
+ <button
371
+ aria-pressed="false"
372
+ class="jodit-toolbar-button__button"
373
+ role="button"
374
+ tabindex="-1"
375
+ type="button"
376
+ >
377
+ <span
378
+ class="jodit-toolbar-button__icon"
379
+ >
380
+ <svg
381
+ class="jodit-icon_fontsize jodit-icon"
382
+ viewBox="0 0 1792 1792"
383
+ xmlns="http://www.w3.org/2000/svg"
384
+ >
385
+
386
+ <path
387
+ d="M1744 1408q33 0 42 18.5t-11 44.5l-126 162q-20 26-49 26t-49-26l-126-162q-20-26-11-44.5t42-18.5h80v-1024h-80q-33 0-42-18.5t11-44.5l126-162q20-26 49-26t49 26l126 162q20 26 11 44.5t-42 18.5h-80v1024h80zm-1663-1279l54 27q12 5 211 5 44 0 132-2t132-2q36 0 107.5.5t107.5.5h293q6 0 21 .5t20.5 0 16-3 17.5-9 15-17.5l42-1q4 0 14 .5t14 .5q2 112 2 336 0 80-5 109-39 14-68 18-25-44-54-128-3-9-11-48t-14.5-73.5-7.5-35.5q-6-8-12-12.5t-15.5-6-13-2.5-18-.5-16.5.5q-17 0-66.5-.5t-74.5-.5-64 2-71 6q-9 81-8 136 0 94 2 388t2 455q0 16-2.5 71.5t0 91.5 12.5 69q40 21 124 42.5t120 37.5q5 40 5 50 0 14-3 29l-34 1q-76 2-218-8t-207-10q-50 0-151 9t-152 9q-3-51-3-52v-9q17-27 61.5-43t98.5-29 78-27q19-42 19-383 0-101-3-303t-3-303v-117q0-2 .5-15.5t.5-25-1-25.5-3-24-5-14q-11-12-162-12-33 0-93 12t-80 26q-19 13-34 72.5t-31.5 111-42.5 53.5q-42-26-56-44v-383z"
388
+ />
389
+
390
+ </svg>
391
+ </span>
392
+ <span
393
+ class="jodit-toolbar-button__text"
394
+ />
395
+ </button>
396
+ <span
397
+ class="jodit-toolbar-button__trigger"
398
+ role="trigger"
399
+ >
400
+ <svg
401
+ viewBox="0 0 10 10"
402
+ xmlns="http://www.w3.org/2000/svg"
403
+ >
404
+
405
+ <path
406
+ d="M.941 4.523a.75.75 0 1 1 1.06-1.06l3.006 3.005 3.005-3.005a.75.75 0 1 1 1.06 1.06l-3.549 3.55a.75.75 0 0 1-1.168-.136L.941 4.523z"
407
+ />
408
+
409
+ </svg>
410
+ </span>
411
+ </span>
412
+ <span
413
+ aria-label="Insert format block"
414
+ class="jodit-toolbar-button jodit-toolbar-button_size_middle jodit-toolbar-button_variant_initial jodit-toolbar-button_paragraph jodit-toolbar-button_with-trigger_true jodit-ui-group__paragraph"
415
+ data-ref="paragraph"
416
+ ref="paragraph"
417
+ role="listitem"
418
+ >
419
+ <button
420
+ aria-pressed="false"
421
+ class="jodit-toolbar-button__button"
422
+ role="button"
423
+ tabindex="-1"
424
+ type="button"
425
+ >
426
+ <span
427
+ class="jodit-toolbar-button__icon"
428
+ >
429
+ <svg
430
+ class="jodit-icon_paragraph jodit-icon"
431
+ viewBox="0 0 1792 1792"
432
+ xmlns="http://www.w3.org/2000/svg"
433
+ >
434
+ <path
435
+ d="M1534 189v73q0 29-18.5 61t-42.5 32q-50 0-54 1-26 6-32 31-3 11-3 64v1152q0 25-18 43t-43 18h-108q-25 0-43-18t-18-43v-1218h-143v1218q0 25-17.5 43t-43.5 18h-108q-26 0-43.5-18t-17.5-43v-496q-147-12-245-59-126-58-192-179-64-117-64-259 0-166 88-286 88-118 209-159 111-37 417-37h479q25 0 43 18t18 43z"
436
+ />
437
+ </svg>
438
+ </span>
439
+ <span
440
+ class="jodit-toolbar-button__text"
441
+ />
442
+ </button>
443
+ <span
444
+ class="jodit-toolbar-button__trigger"
445
+ role="trigger"
446
+ >
447
+ <svg
448
+ viewBox="0 0 10 10"
449
+ xmlns="http://www.w3.org/2000/svg"
450
+ >
451
+
452
+ <path
453
+ d="M.941 4.523a.75.75 0 1 1 1.06-1.06l3.006 3.005 3.005-3.005a.75.75 0 1 1 1.06 1.06l-3.549 3.55a.75.75 0 0 1-1.168-.136L.941 4.523z"
454
+ />
455
+
456
+ </svg>
457
+ </span>
458
+ </span>
459
+ <span
460
+ aria-label="Line height"
461
+ class="jodit-toolbar-button jodit-toolbar-button_size_middle jodit-toolbar-button_variant_initial jodit-toolbar-button_lineHeight jodit-toolbar-button_with-trigger_true jodit-ui-group__lineHeight"
462
+ data-ref="lineHeight"
463
+ ref="lineHeight"
464
+ role="listitem"
465
+ >
466
+ <button
467
+ aria-pressed="false"
468
+ class="jodit-toolbar-button__button"
469
+ role="button"
470
+ tabindex="-1"
471
+ type="button"
472
+ >
473
+ <span
474
+ class="jodit-toolbar-button__icon"
475
+ >
476
+ <svg
477
+ class="jodit-icon_lineHeight jodit-icon"
478
+ viewBox="0 0 24 24"
479
+ xmlns="http://www.w3.org/2000/svg"
480
+ >
481
+
482
+ <path
483
+ d="M5.09668 6.99707H7.17358L4.17358 3.99707L1.17358 6.99707H3.09668V17.0031H1.15881L4.15881 20.0031L7.15881 17.0031H5.09668V6.99707Z"
484
+ />
485
+
486
+ <path
487
+ d="M22.8412 7H8.84119V5H22.8412V7Z"
488
+ />
489
+
490
+ <path
491
+ d="M22.8412 11H8.84119V9H22.8412V11Z"
492
+ />
493
+
494
+ <path
495
+ d="M8.84119 15H22.8412V13H8.84119V15Z"
496
+ />
497
+
498
+ <path
499
+ d="M22.8412 19H8.84119V17H22.8412V19Z"
500
+ />
501
+
502
+ </svg>
503
+ </span>
504
+ <span
505
+ class="jodit-toolbar-button__text"
506
+ />
507
+ </button>
508
+ <span
509
+ class="jodit-toolbar-button__trigger"
510
+ role="trigger"
511
+ >
512
+ <svg
513
+ viewBox="0 0 10 10"
514
+ xmlns="http://www.w3.org/2000/svg"
515
+ >
516
+
517
+ <path
518
+ d="M.941 4.523a.75.75 0 1 1 1.06-1.06l3.006 3.005 3.005-3.005a.75.75 0 1 1 1.06 1.06l-3.549 3.55a.75.75 0 0 1-1.168-.136L.941 4.523z"
519
+ />
520
+
521
+ </svg>
522
+ </span>
523
+ </span>
524
+ </div>
525
+ <div
526
+ class="jodit-ui-group jodit-ui-group_separated_true jodit-ui-group_group_color jodit-ui-group_before-spacer_true"
527
+ >
528
+ <span
529
+ aria-label="Fill color or set the text color"
530
+ class="jodit-toolbar-button jodit-toolbar-button_size_middle jodit-toolbar-button_variant_initial jodit-toolbar-button_brush jodit-toolbar-button_with-trigger_true jodit-ui-group__brush"
531
+ data-ref="brush"
532
+ ref="brush"
533
+ role="listitem"
534
+ >
535
+ <button
536
+ aria-pressed="false"
537
+ class="jodit-toolbar-button__button"
538
+ role="button"
539
+ tabindex="-1"
540
+ type="button"
541
+ >
542
+ <span
543
+ class="jodit-toolbar-button__icon"
544
+ >
545
+ <svg
546
+ class="jodit-icon_brush jodit-icon"
547
+ viewBox="0 0 1792 1792"
548
+ xmlns="http://www.w3.org/2000/svg"
549
+ >
550
+
551
+ <path
552
+ d="M896 1152q0-36-20-69-1-1-15.5-22.5t-25.5-38-25-44-21-50.5q-4-16-21-16t-21 16q-7 23-21 50.5t-25 44-25.5 38-15.5 22.5q-20 33-20 69 0 53 37.5 90.5t90.5 37.5 90.5-37.5 37.5-90.5zm512-128q0 212-150 362t-362 150-362-150-150-362q0-145 81-275 6-9 62.5-90.5t101-151 99.5-178 83-201.5q9-30 34-47t51-17 51.5 17 33.5 47q28 93 83 201.5t99.5 178 101 151 62.5 90.5q81 127 81 275z"
553
+ />
554
+
555
+ </svg>
556
+ </span>
557
+ <span
558
+ class="jodit-toolbar-button__text"
559
+ />
560
+ </button>
561
+ <span
562
+ class="jodit-toolbar-button__trigger"
563
+ role="trigger"
564
+ >
565
+ <svg
566
+ viewBox="0 0 10 10"
567
+ xmlns="http://www.w3.org/2000/svg"
568
+ >
569
+
570
+ <path
571
+ d="M.941 4.523a.75.75 0 1 1 1.06-1.06l3.006 3.005 3.005-3.005a.75.75 0 1 1 1.06 1.06l-3.549 3.55a.75.75 0 0 1-1.168-.136L.941 4.523z"
572
+ />
573
+
574
+ </svg>
575
+ </span>
576
+ </span>
577
+ </div>
578
+ <div
579
+ class="jodit-ui-spacer"
580
+ />
581
+ <div
582
+ class="jodit-ui-group"
583
+ >
584
+ <span
585
+ aria-label="Show all"
586
+ class="jodit-toolbar-button jodit-toolbar-button_size_middle jodit-toolbar-button_variant_initial jodit-toolbar-button_dots jodit-ui-group__dots"
587
+ data-ref="dots"
588
+ ref="dots"
589
+ role="listitem"
590
+ >
591
+ <button
592
+ aria-pressed="false"
593
+ class="jodit-toolbar-button__button"
594
+ role="button"
595
+ tabindex="-1"
596
+ type="button"
597
+ >
598
+ <span
599
+ class="jodit-toolbar-button__icon"
600
+ >
601
+ <svg
602
+ class="jodit-icon_dots jodit-icon"
603
+ viewBox="0 0 24 24"
604
+ xmlns="http://www.w3.org/2000/svg"
605
+ >
606
+
607
+ <circle
608
+ cx="12"
609
+ cy="12"
610
+ r="2.2"
611
+ />
612
+
613
+ <circle
614
+ cx="12"
615
+ cy="5"
616
+ r="2.2"
617
+ />
618
+
619
+ <circle
620
+ cx="12"
621
+ cy="19"
622
+ r="2.2"
623
+ />
624
+
625
+ </svg>
626
+ </span>
627
+ <span
628
+ class="jodit-toolbar-button__text"
629
+ />
630
+ </button>
631
+ </span>
632
+ </div>
633
+ </div>
634
+ </div>
635
+ </div>
636
+ <div
637
+ class="jodit-workplace"
638
+ contenteditable="false"
639
+ style="min-height: 198px; height: auto;"
640
+ tabindex="-1"
641
+ >
642
+ <div
643
+ aria-disabled="true"
644
+ class="jodit-wysiwyg"
645
+ spellcheck="false"
646
+ style="min-height: 198px;"
647
+ tabindex="-1"
648
+ >
649
+ <p>
650
+ Hello, world!
651
+ </p>
652
+ </div>
653
+ <div
654
+ class="jodit-source"
655
+ >
656
+ <textarea
657
+ class="jodit-source__mirror"
658
+ readonly="true"
659
+ style="min-height: 198px;"
660
+ />
661
+ </div>
662
+ </div>
663
+ <div
664
+ class="jodit-status-bar"
665
+ >
666
+ <div
667
+ class="jodit-status-bar__item jodit-status-bar__item-right"
668
+ >
669
+ <span>
670
+ Chars: 0
671
+ </span>
672
+ </div>
673
+ <div
674
+ class="jodit-status-bar__item jodit-status-bar__item-right"
675
+ >
676
+ <span>
677
+ Words: 0
678
+ </span>
679
+ </div>
680
+ <div
681
+ class="jodit-status-bar__item"
682
+ >
683
+ <div
684
+ class="jodit-xpath"
685
+ />
686
+ </div>
687
+ <div
688
+ class="jodit-status-bar__item jodit-status-bar__item-right"
689
+ >
690
+ <a
691
+ class="jodit-status-bar-link"
692
+ href="https://xdsoft.net/jodit/"
693
+ style="text-transform: uppercase"
694
+ tabindex="-1"
695
+ target="_blank"
696
+ >
697
+
698
+ Powered by Jodit
699
+
700
+ </a>
701
+ </div>
702
+ </div>
703
+ </div>
704
+ <textarea
705
+ style="display: none;"
706
+ >
707
+ &lt;p&gt;Hello, world!&lt;/p&gt;
708
+ </textarea>
709
+ </div>
710
+ </DocumentFragment>
711
+ `;
712
+
713
+ exports[`Smoke Test should render without crashing 1`] = `
714
+ <DocumentFragment>
715
+ <div
716
+ class="jodit-react-container"
717
+ >
718
+ <div
719
+ class="jodit-container jodit jodit_theme_default jodit-wysiwyg_mode"
720
+ contenteditable="false"
721
+ style="min-height: 200px; max-height: auto; min-width: 200px; max-width: 100%; height: auto; width: auto;"
722
+ >
723
+ <div
724
+ class="jodit-toolbar__box"
725
+ >
726
+ <div
727
+ class="jodit-toolbar-editor-collection jodit-toolbar-editor-collection_mode_horizontal jodit-toolbar-editor-collection_size_middle"
728
+ >
729
+ <input
730
+ disabled="true"
731
+ style="width: 0; height:0; position: absolute; visibility: hidden;"
732
+ tab-index="-1"
733
+ />
734
+ <div
735
+ class="jodit-ui-group jodit-ui-group_line_true"
736
+ >
737
+ <div
738
+ class="jodit-ui-group jodit-ui-group_separated_true jodit-ui-group_group_font-style"
739
+ >
740
+ <span
741
+ aria-label="Bold"
742
+ class="jodit-toolbar-button jodit-toolbar-button_size_middle jodit-toolbar-button_variant_initial jodit-toolbar-button_bold jodit-ui-group__bold"
743
+ data-ref="bold"
744
+ ref="bold"
745
+ role="listitem"
746
+ >
747
+ <button
748
+ aria-pressed="false"
749
+ class="jodit-toolbar-button__button"
750
+ role="button"
751
+ tabindex="-1"
752
+ type="button"
753
+ >
754
+ <span
755
+ class="jodit-toolbar-button__icon"
756
+ >
757
+ <svg
758
+ class="jodit-icon_bold jodit-icon"
759
+ viewBox="0 0 1792 1792"
760
+ xmlns="http://www.w3.org/2000/svg"
761
+ >
762
+
763
+ <path
764
+ d="M747 1521q74 32 140 32 376 0 376-335 0-114-41-180-27-44-61.5-74t-67.5-46.5-80.5-25-84-10.5-94.5-2q-73 0-101 10 0 53-.5 159t-.5 158q0 8-1 67.5t-.5 96.5 4.5 83.5 12 66.5zm-14-746q42 7 109 7 82 0 143-13t110-44.5 74.5-89.5 25.5-142q0-70-29-122.5t-79-82-108-43.5-124-14q-50 0-130 13 0 50 4 151t4 152q0 27-.5 80t-.5 79q0 46 1 69zm-541 889l2-94q15-4 85-16t106-27q7-12 12.5-27t8.5-33.5 5.5-32.5 3-37.5.5-34v-65.5q0-982-22-1025-4-8-22-14.5t-44.5-11-49.5-7-48.5-4.5-30.5-3l-4-83q98-2 340-11.5t373-9.5q23 0 68.5.5t67.5.5q70 0 136.5 13t128.5 42 108 71 74 104.5 28 137.5q0 52-16.5 95.5t-39 72-64.5 57.5-73 45-84 40q154 35 256.5 134t102.5 248q0 100-35 179.5t-93.5 130.5-138 85.5-163.5 48.5-176 14q-44 0-132-3t-132-3q-106 0-307 11t-231 12z"
765
+ />
766
+
767
+ </svg>
768
+ </span>
769
+ <span
770
+ class="jodit-toolbar-button__text"
771
+ />
772
+ </button>
773
+ </span>
774
+ <span
775
+ aria-label="Italic"
776
+ class="jodit-toolbar-button jodit-toolbar-button_size_middle jodit-toolbar-button_variant_initial jodit-toolbar-button_italic jodit-ui-group__italic"
777
+ data-ref="italic"
778
+ ref="italic"
779
+ role="listitem"
780
+ >
781
+ <button
782
+ aria-pressed="false"
783
+ class="jodit-toolbar-button__button"
784
+ role="button"
785
+ tabindex="-1"
786
+ type="button"
787
+ >
788
+ <span
789
+ class="jodit-toolbar-button__icon"
790
+ >
791
+ <svg
792
+ class="jodit-icon_italic jodit-icon"
793
+ viewBox="0 0 1792 1792"
794
+ xmlns="http://www.w3.org/2000/svg"
795
+ >
796
+
797
+ <path
798
+ d="M384 1662l17-85q6-2 81.5-21.5t111.5-37.5q28-35 41-101 1-7 62-289t114-543.5 52-296.5v-25q-24-13-54.5-18.5t-69.5-8-58-5.5l19-103q33 2 120 6.5t149.5 7 120.5 2.5q48 0 98.5-2.5t121-7 98.5-6.5q-5 39-19 89-30 10-101.5 28.5t-108.5 33.5q-8 19-14 42.5t-9 40-7.5 45.5-6.5 42q-27 148-87.5 419.5t-77.5 355.5q-2 9-13 58t-20 90-16 83.5-6 57.5l1 18q17 4 185 31-3 44-16 99-11 0-32.5 1.5t-32.5 1.5q-29 0-87-10t-86-10q-138-2-206-2-51 0-143 9t-121 11z"
799
+ />
800
+
801
+ </svg>
802
+ </span>
803
+ <span
804
+ class="jodit-toolbar-button__text"
805
+ />
806
+ </button>
807
+ </span>
808
+ <span
809
+ aria-label="Underline"
810
+ class="jodit-toolbar-button jodit-toolbar-button_size_middle jodit-toolbar-button_variant_initial jodit-toolbar-button_underline jodit-ui-group__underline"
811
+ data-ref="underline"
812
+ ref="underline"
813
+ role="listitem"
814
+ >
815
+ <button
816
+ aria-pressed="false"
817
+ class="jodit-toolbar-button__button"
818
+ role="button"
819
+ tabindex="-1"
820
+ type="button"
821
+ >
822
+ <span
823
+ class="jodit-toolbar-button__icon"
824
+ >
825
+ <svg
826
+ class="jodit-icon_underline jodit-icon"
827
+ viewBox="0 0 1792 1792"
828
+ xmlns="http://www.w3.org/2000/svg"
829
+ >
830
+
831
+ <path
832
+ d="M176 223q-37-2-45-4l-3-88q13-1 40-1 60 0 112 4 132 7 166 7 86 0 168-3 116-4 146-5 56 0 86-2l-1 14 2 64v9q-60 9-124 9-60 0-79 25-13 14-13 132 0 13 .5 32.5t.5 25.5l1 229 14 280q6 124 51 202 35 59 96 92 88 47 177 47 104 0 191-28 56-18 99-51 48-36 65-64 36-56 53-114 21-73 21-229 0-79-3.5-128t-11-122.5-13.5-159.5l-4-59q-5-67-24-88-34-35-77-34l-100 2-14-3 2-86h84l205 10q76 3 196-10l18 2q6 38 6 51 0 7-4 31-45 12-84 13-73 11-79 17-15 15-15 41 0 7 1.5 27t1.5 31q8 19 22 396 6 195-15 304-15 76-41 122-38 65-112 123-75 57-182 89-109 33-255 33-167 0-284-46-119-47-179-122-61-76-83-195-16-80-16-237v-333q0-188-17-213-25-36-147-39zm1488 1409v-64q0-14-9-23t-23-9h-1472q-14 0-23 9t-9 23v64q0 14 9 23t23 9h1472q14 0 23-9t9-23z"
833
+ />
834
+
835
+ </svg>
836
+ </span>
837
+ <span
838
+ class="jodit-toolbar-button__text"
839
+ />
840
+ </button>
841
+ </span>
842
+ <span
843
+ aria-label="Strike through"
844
+ class="jodit-toolbar-button jodit-toolbar-button_size_middle jodit-toolbar-button_variant_initial jodit-toolbar-button_strikethrough jodit-ui-group__strikethrough"
845
+ data-ref="strikethrough"
846
+ ref="strikethrough"
847
+ role="listitem"
848
+ >
849
+ <button
850
+ aria-pressed="false"
851
+ class="jodit-toolbar-button__button"
852
+ role="button"
853
+ tabindex="-1"
854
+ type="button"
855
+ >
856
+ <span
857
+ class="jodit-toolbar-button__icon"
858
+ >
859
+ <svg
860
+ class="jodit-icon_strikethrough jodit-icon"
861
+ viewBox="0 0 1792 1792"
862
+ xmlns="http://www.w3.org/2000/svg"
863
+ >
864
+
865
+ <path
866
+ d="M1760 896q14 0 23 9t9 23v64q0 14-9 23t-23 9h-1728q-14 0-23-9t-9-23v-64q0-14 9-23t23-9h1728zm-1277-64q-28-35-51-80-48-97-48-188 0-181 134-309 133-127 393-127 50 0 167 19 66 12 177 48 10 38 21 118 14 123 14 183 0 18-5 45l-12 3-84-6-14-2q-50-149-103-205-88-91-210-91-114 0-182 59-67 58-67 146 0 73 66 140t279 129q69 20 173 66 58 28 95 52h-743zm507 256h411q7 39 7 92 0 111-41 212-23 55-71 104-37 35-109 81-80 48-153 66-80 21-203 21-114 0-195-23l-140-40q-57-16-72-28-8-8-8-22v-13q0-108-2-156-1-30 0-68l2-37v-44l102-2q15 34 30 71t22.5 56 12.5 27q35 57 80 94 43 36 105 57 59 22 132 22 64 0 139-27 77-26 122-86 47-61 47-129 0-84-81-157-34-29-137-71z"
867
+ />
868
+
869
+ </svg>
870
+ </span>
871
+ <span
872
+ class="jodit-toolbar-button__text"
873
+ />
874
+ </button>
875
+ </span>
876
+ <span
877
+ aria-label="Clear Formatting"
878
+ class="jodit-toolbar-button jodit-toolbar-button_size_middle jodit-toolbar-button_variant_initial jodit-toolbar-button_eraser jodit-ui-group__eraser"
879
+ data-ref="eraser"
880
+ ref="eraser"
881
+ role="listitem"
882
+ >
883
+ <button
884
+ aria-pressed="false"
885
+ class="jodit-toolbar-button__button"
886
+ role="button"
887
+ tabindex="-1"
888
+ type="button"
889
+ >
890
+ <span
891
+ class="jodit-toolbar-button__icon"
892
+ >
893
+ <svg
894
+ class="jodit-icon_eraser jodit-icon"
895
+ viewBox="0 0 1792 1792"
896
+ xmlns="http://www.w3.org/2000/svg"
897
+ >
898
+
899
+ <path
900
+ d="M832 1408l336-384h-768l-336 384h768zm1013-1077q15 34 9.5 71.5t-30.5 65.5l-896 1024q-38 44-96 44h-768q-38 0-69.5-20.5t-47.5-54.5q-15-34-9.5-71.5t30.5-65.5l896-1024q38-44 96-44h768q38 0 69.5 20.5t47.5 54.5z"
901
+ />
902
+
903
+ </svg>
904
+ </span>
905
+ <span
906
+ class="jodit-toolbar-button__text"
907
+ />
908
+ </button>
909
+ </span>
910
+ </div>
911
+ <div
912
+ class="jodit-ui-group jodit-ui-group_separated_true jodit-ui-group_group_list jodit-ui-group_before-spacer_true"
913
+ >
914
+ <span
915
+ aria-label="Insert Unordered List"
916
+ class="jodit-toolbar-button jodit-toolbar-button_size_middle jodit-toolbar-button_variant_initial jodit-toolbar-button_ul jodit-toolbar-button_with-trigger_true jodit-ui-group__ul"
917
+ data-ref="ul"
918
+ ref="ul"
919
+ role="listitem"
920
+ >
921
+ <button
922
+ aria-pressed="false"
923
+ class="jodit-toolbar-button__button"
924
+ role="button"
925
+ tabindex="-1"
926
+ type="button"
927
+ >
928
+ <span
929
+ class="jodit-toolbar-button__icon"
930
+ >
931
+ <svg
932
+ class="jodit-icon_ul jodit-icon"
933
+ viewBox="0 0 1792 1792"
934
+ xmlns="http://www.w3.org/2000/svg"
935
+ >
936
+
937
+ <path
938
+ d="M384 1408q0 80-56 136t-136 56-136-56-56-136 56-136 136-56 136 56 56 136zm0-512q0 80-56 136t-136 56-136-56-56-136 56-136 136-56 136 56 56 136zm1408 416v192q0 13-9.5 22.5t-22.5 9.5h-1216q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1216q13 0 22.5 9.5t9.5 22.5zm-1408-928q0 80-56 136t-136 56-136-56-56-136 56-136 136-56 136 56 56 136zm1408 416v192q0 13-9.5 22.5t-22.5 9.5h-1216q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1216q13 0 22.5 9.5t9.5 22.5zm0-512v192q0 13-9.5 22.5t-22.5 9.5h-1216q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1216q13 0 22.5 9.5t9.5 22.5z"
939
+ stroke-width="0"
940
+ />
941
+
942
+ </svg>
943
+ </span>
944
+ <span
945
+ class="jodit-toolbar-button__text"
946
+ />
947
+ </button>
948
+ <span
949
+ class="jodit-toolbar-button__trigger"
950
+ role="trigger"
951
+ >
952
+ <svg
953
+ viewBox="0 0 10 10"
954
+ xmlns="http://www.w3.org/2000/svg"
955
+ >
956
+
957
+ <path
958
+ d="M.941 4.523a.75.75 0 1 1 1.06-1.06l3.006 3.005 3.005-3.005a.75.75 0 1 1 1.06 1.06l-3.549 3.55a.75.75 0 0 1-1.168-.136L.941 4.523z"
959
+ />
960
+
961
+ </svg>
962
+ </span>
963
+ </span>
964
+ <span
965
+ aria-label="Insert Ordered List"
966
+ class="jodit-toolbar-button jodit-toolbar-button_size_middle jodit-toolbar-button_variant_initial jodit-toolbar-button_ol jodit-toolbar-button_with-trigger_true jodit-ui-group__ol"
967
+ data-ref="ol"
968
+ ref="ol"
969
+ role="listitem"
970
+ >
971
+ <button
972
+ aria-pressed="false"
973
+ class="jodit-toolbar-button__button"
974
+ role="button"
975
+ tabindex="-1"
976
+ type="button"
977
+ >
978
+ <span
979
+ class="jodit-toolbar-button__icon"
980
+ >
981
+ <svg
982
+ class="jodit-icon_ol jodit-icon"
983
+ viewBox="0 0 1792 1792"
984
+ xmlns="http://www.w3.org/2000/svg"
985
+ >
986
+
987
+ <path
988
+ d="M381 1620q0 80-54.5 126t-135.5 46q-106 0-172-66l57-88q49 45 106 45 29 0 50.5-14.5t21.5-42.5q0-64-105-56l-26-56q8-10 32.5-43.5t42.5-54 37-38.5v-1q-16 0-48.5 1t-48.5 1v53h-106v-152h333v88l-95 115q51 12 81 49t30 88zm2-627v159h-362q-6-36-6-54 0-51 23.5-93t56.5-68 66-47.5 56.5-43.5 23.5-45q0-25-14.5-38.5t-39.5-13.5q-46 0-81 58l-85-59q24-51 71.5-79.5t105.5-28.5q73 0 123 41.5t50 112.5q0 50-34 91.5t-75 64.5-75.5 50.5-35.5 52.5h127v-60h105zm1409 319v192q0 13-9.5 22.5t-22.5 9.5h-1216q-13 0-22.5-9.5t-9.5-22.5v-192q0-14 9-23t23-9h1216q13 0 22.5 9.5t9.5 22.5zm-1408-899v99h-335v-99h107q0-41 .5-122t.5-121v-12h-2q-8 17-50 54l-71-76 136-127h106v404h108zm1408 387v192q0 13-9.5 22.5t-22.5 9.5h-1216q-13 0-22.5-9.5t-9.5-22.5v-192q0-14 9-23t23-9h1216q13 0 22.5 9.5t9.5 22.5zm0-512v192q0 13-9.5 22.5t-22.5 9.5h-1216q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1216q13 0 22.5 9.5t9.5 22.5z"
989
+ stroke-width="0"
990
+ />
991
+
992
+ </svg>
993
+ </span>
994
+ <span
995
+ class="jodit-toolbar-button__text"
996
+ />
997
+ </button>
998
+ <span
999
+ class="jodit-toolbar-button__trigger"
1000
+ role="trigger"
1001
+ >
1002
+ <svg
1003
+ viewBox="0 0 10 10"
1004
+ xmlns="http://www.w3.org/2000/svg"
1005
+ >
1006
+
1007
+ <path
1008
+ d="M.941 4.523a.75.75 0 1 1 1.06-1.06l3.006 3.005 3.005-3.005a.75.75 0 1 1 1.06 1.06l-3.549 3.55a.75.75 0 0 1-1.168-.136L.941 4.523z"
1009
+ />
1010
+
1011
+ </svg>
1012
+ </span>
1013
+ </span>
1014
+ </div>
1015
+ <div
1016
+ class="jodit-ui-spacer"
1017
+ />
1018
+ <div
1019
+ class="jodit-ui-group"
1020
+ />
1021
+ <div
1022
+ class="jodit-ui-group jodit-ui-group_separated_true jodit-ui-group_group_font"
1023
+ >
1024
+ <span
1025
+ aria-label="Font family"
1026
+ class="jodit-toolbar-button jodit-toolbar-button_size_middle jodit-toolbar-button_variant_initial jodit-toolbar-button_font jodit-toolbar-button_with-trigger_true jodit-ui-group__font"
1027
+ data-ref="font"
1028
+ ref="font"
1029
+ role="listitem"
1030
+ >
1031
+ <button
1032
+ aria-pressed="false"
1033
+ class="jodit-toolbar-button__button"
1034
+ role="button"
1035
+ tabindex="-1"
1036
+ type="button"
1037
+ >
1038
+ <span
1039
+ class="jodit-toolbar-button__icon"
1040
+ >
1041
+ <svg
1042
+ class="jodit-icon_font jodit-icon"
1043
+ viewBox="0 0 1792 1792"
1044
+ xmlns="http://www.w3.org/2000/svg"
1045
+ >
1046
+
1047
+ <path
1048
+ d="M789 559l-170 450q33 0 136.5 2t160.5 2q19 0 57-2-87-253-184-452zm-725 1105l2-79q23-7 56-12.5t57-10.5 49.5-14.5 44.5-29 31-50.5l237-616 280-724h128q8 14 11 21l205 480q33 78 106 257.5t114 274.5q15 34 58 144.5t72 168.5q20 45 35 57 19 15 88 29.5t84 20.5q6 38 6 57 0 4-.5 13t-.5 13q-63 0-190-8t-191-8q-76 0-215 7t-178 8q0-43 4-78l131-28q1 0 12.5-2.5t15.5-3.5 14.5-4.5 15-6.5 11-8 9-11 2.5-14q0-16-31-96.5t-72-177.5-42-100l-450-2q-26 58-76.5 195.5t-50.5 162.5q0 22 14 37.5t43.5 24.5 48.5 13.5 57 8.5 41 4q1 19 1 58 0 9-2 27-58 0-174.5-10t-174.5-10q-8 0-26.5 4t-21.5 4q-80 14-188 14z"
1049
+ />
1050
+
1051
+ </svg>
1052
+ </span>
1053
+ <span
1054
+ class="jodit-toolbar-button__text"
1055
+ />
1056
+ </button>
1057
+ <span
1058
+ class="jodit-toolbar-button__trigger"
1059
+ role="trigger"
1060
+ >
1061
+ <svg
1062
+ viewBox="0 0 10 10"
1063
+ xmlns="http://www.w3.org/2000/svg"
1064
+ >
1065
+
1066
+ <path
1067
+ d="M.941 4.523a.75.75 0 1 1 1.06-1.06l3.006 3.005 3.005-3.005a.75.75 0 1 1 1.06 1.06l-3.549 3.55a.75.75 0 0 1-1.168-.136L.941 4.523z"
1068
+ />
1069
+
1070
+ </svg>
1071
+ </span>
1072
+ </span>
1073
+ <span
1074
+ aria-label="Font size"
1075
+ class="jodit-toolbar-button jodit-toolbar-button_size_middle jodit-toolbar-button_variant_initial jodit-toolbar-button_fontsize jodit-toolbar-button_with-trigger_true jodit-ui-group__fontsize"
1076
+ data-ref="fontsize"
1077
+ ref="fontsize"
1078
+ role="listitem"
1079
+ >
1080
+ <button
1081
+ aria-pressed="false"
1082
+ class="jodit-toolbar-button__button"
1083
+ role="button"
1084
+ tabindex="-1"
1085
+ type="button"
1086
+ >
1087
+ <span
1088
+ class="jodit-toolbar-button__icon"
1089
+ >
1090
+ <svg
1091
+ class="jodit-icon_fontsize jodit-icon"
1092
+ viewBox="0 0 1792 1792"
1093
+ xmlns="http://www.w3.org/2000/svg"
1094
+ >
1095
+
1096
+ <path
1097
+ d="M1744 1408q33 0 42 18.5t-11 44.5l-126 162q-20 26-49 26t-49-26l-126-162q-20-26-11-44.5t42-18.5h80v-1024h-80q-33 0-42-18.5t11-44.5l126-162q20-26 49-26t49 26l126 162q20 26 11 44.5t-42 18.5h-80v1024h80zm-1663-1279l54 27q12 5 211 5 44 0 132-2t132-2q36 0 107.5.5t107.5.5h293q6 0 21 .5t20.5 0 16-3 17.5-9 15-17.5l42-1q4 0 14 .5t14 .5q2 112 2 336 0 80-5 109-39 14-68 18-25-44-54-128-3-9-11-48t-14.5-73.5-7.5-35.5q-6-8-12-12.5t-15.5-6-13-2.5-18-.5-16.5.5q-17 0-66.5-.5t-74.5-.5-64 2-71 6q-9 81-8 136 0 94 2 388t2 455q0 16-2.5 71.5t0 91.5 12.5 69q40 21 124 42.5t120 37.5q5 40 5 50 0 14-3 29l-34 1q-76 2-218-8t-207-10q-50 0-151 9t-152 9q-3-51-3-52v-9q17-27 61.5-43t98.5-29 78-27q19-42 19-383 0-101-3-303t-3-303v-117q0-2 .5-15.5t.5-25-1-25.5-3-24-5-14q-11-12-162-12-33 0-93 12t-80 26q-19 13-34 72.5t-31.5 111-42.5 53.5q-42-26-56-44v-383z"
1098
+ />
1099
+
1100
+ </svg>
1101
+ </span>
1102
+ <span
1103
+ class="jodit-toolbar-button__text"
1104
+ />
1105
+ </button>
1106
+ <span
1107
+ class="jodit-toolbar-button__trigger"
1108
+ role="trigger"
1109
+ >
1110
+ <svg
1111
+ viewBox="0 0 10 10"
1112
+ xmlns="http://www.w3.org/2000/svg"
1113
+ >
1114
+
1115
+ <path
1116
+ d="M.941 4.523a.75.75 0 1 1 1.06-1.06l3.006 3.005 3.005-3.005a.75.75 0 1 1 1.06 1.06l-3.549 3.55a.75.75 0 0 1-1.168-.136L.941 4.523z"
1117
+ />
1118
+
1119
+ </svg>
1120
+ </span>
1121
+ </span>
1122
+ <span
1123
+ aria-label="Insert format block"
1124
+ class="jodit-toolbar-button jodit-toolbar-button_size_middle jodit-toolbar-button_variant_initial jodit-toolbar-button_paragraph jodit-toolbar-button_with-trigger_true jodit-ui-group__paragraph"
1125
+ data-ref="paragraph"
1126
+ ref="paragraph"
1127
+ role="listitem"
1128
+ >
1129
+ <button
1130
+ aria-pressed="false"
1131
+ class="jodit-toolbar-button__button"
1132
+ role="button"
1133
+ tabindex="-1"
1134
+ type="button"
1135
+ >
1136
+ <span
1137
+ class="jodit-toolbar-button__icon"
1138
+ >
1139
+ <svg
1140
+ class="jodit-icon_paragraph jodit-icon"
1141
+ viewBox="0 0 1792 1792"
1142
+ xmlns="http://www.w3.org/2000/svg"
1143
+ >
1144
+ <path
1145
+ d="M1534 189v73q0 29-18.5 61t-42.5 32q-50 0-54 1-26 6-32 31-3 11-3 64v1152q0 25-18 43t-43 18h-108q-25 0-43-18t-18-43v-1218h-143v1218q0 25-17.5 43t-43.5 18h-108q-26 0-43.5-18t-17.5-43v-496q-147-12-245-59-126-58-192-179-64-117-64-259 0-166 88-286 88-118 209-159 111-37 417-37h479q25 0 43 18t18 43z"
1146
+ />
1147
+ </svg>
1148
+ </span>
1149
+ <span
1150
+ class="jodit-toolbar-button__text"
1151
+ />
1152
+ </button>
1153
+ <span
1154
+ class="jodit-toolbar-button__trigger"
1155
+ role="trigger"
1156
+ >
1157
+ <svg
1158
+ viewBox="0 0 10 10"
1159
+ xmlns="http://www.w3.org/2000/svg"
1160
+ >
1161
+
1162
+ <path
1163
+ d="M.941 4.523a.75.75 0 1 1 1.06-1.06l3.006 3.005 3.005-3.005a.75.75 0 1 1 1.06 1.06l-3.549 3.55a.75.75 0 0 1-1.168-.136L.941 4.523z"
1164
+ />
1165
+
1166
+ </svg>
1167
+ </span>
1168
+ </span>
1169
+ <span
1170
+ aria-label="Line height"
1171
+ class="jodit-toolbar-button jodit-toolbar-button_size_middle jodit-toolbar-button_variant_initial jodit-toolbar-button_lineHeight jodit-toolbar-button_with-trigger_true jodit-ui-group__lineHeight"
1172
+ data-ref="lineHeight"
1173
+ ref="lineHeight"
1174
+ role="listitem"
1175
+ >
1176
+ <button
1177
+ aria-pressed="false"
1178
+ class="jodit-toolbar-button__button"
1179
+ role="button"
1180
+ tabindex="-1"
1181
+ type="button"
1182
+ >
1183
+ <span
1184
+ class="jodit-toolbar-button__icon"
1185
+ >
1186
+ <svg
1187
+ class="jodit-icon_lineHeight jodit-icon"
1188
+ viewBox="0 0 24 24"
1189
+ xmlns="http://www.w3.org/2000/svg"
1190
+ >
1191
+
1192
+ <path
1193
+ d="M5.09668 6.99707H7.17358L4.17358 3.99707L1.17358 6.99707H3.09668V17.0031H1.15881L4.15881 20.0031L7.15881 17.0031H5.09668V6.99707Z"
1194
+ />
1195
+
1196
+ <path
1197
+ d="M22.8412 7H8.84119V5H22.8412V7Z"
1198
+ />
1199
+
1200
+ <path
1201
+ d="M22.8412 11H8.84119V9H22.8412V11Z"
1202
+ />
1203
+
1204
+ <path
1205
+ d="M8.84119 15H22.8412V13H8.84119V15Z"
1206
+ />
1207
+
1208
+ <path
1209
+ d="M22.8412 19H8.84119V17H22.8412V19Z"
1210
+ />
1211
+
1212
+ </svg>
1213
+ </span>
1214
+ <span
1215
+ class="jodit-toolbar-button__text"
1216
+ />
1217
+ </button>
1218
+ <span
1219
+ class="jodit-toolbar-button__trigger"
1220
+ role="trigger"
1221
+ >
1222
+ <svg
1223
+ viewBox="0 0 10 10"
1224
+ xmlns="http://www.w3.org/2000/svg"
1225
+ >
1226
+
1227
+ <path
1228
+ d="M.941 4.523a.75.75 0 1 1 1.06-1.06l3.006 3.005 3.005-3.005a.75.75 0 1 1 1.06 1.06l-3.549 3.55a.75.75 0 0 1-1.168-.136L.941 4.523z"
1229
+ />
1230
+
1231
+ </svg>
1232
+ </span>
1233
+ </span>
1234
+ </div>
1235
+ <div
1236
+ class="jodit-ui-group jodit-ui-group_separated_true jodit-ui-group_group_color jodit-ui-group_before-spacer_true"
1237
+ >
1238
+ <span
1239
+ aria-label="Fill color or set the text color"
1240
+ class="jodit-toolbar-button jodit-toolbar-button_size_middle jodit-toolbar-button_variant_initial jodit-toolbar-button_brush jodit-toolbar-button_with-trigger_true jodit-ui-group__brush"
1241
+ data-ref="brush"
1242
+ ref="brush"
1243
+ role="listitem"
1244
+ >
1245
+ <button
1246
+ aria-pressed="false"
1247
+ class="jodit-toolbar-button__button"
1248
+ role="button"
1249
+ tabindex="-1"
1250
+ type="button"
1251
+ >
1252
+ <span
1253
+ class="jodit-toolbar-button__icon"
1254
+ >
1255
+ <svg
1256
+ class="jodit-icon_brush jodit-icon"
1257
+ viewBox="0 0 1792 1792"
1258
+ xmlns="http://www.w3.org/2000/svg"
1259
+ >
1260
+
1261
+ <path
1262
+ d="M896 1152q0-36-20-69-1-1-15.5-22.5t-25.5-38-25-44-21-50.5q-4-16-21-16t-21 16q-7 23-21 50.5t-25 44-25.5 38-15.5 22.5q-20 33-20 69 0 53 37.5 90.5t90.5 37.5 90.5-37.5 37.5-90.5zm512-128q0 212-150 362t-362 150-362-150-150-362q0-145 81-275 6-9 62.5-90.5t101-151 99.5-178 83-201.5q9-30 34-47t51-17 51.5 17 33.5 47q28 93 83 201.5t99.5 178 101 151 62.5 90.5q81 127 81 275z"
1263
+ />
1264
+
1265
+ </svg>
1266
+ </span>
1267
+ <span
1268
+ class="jodit-toolbar-button__text"
1269
+ />
1270
+ </button>
1271
+ <span
1272
+ class="jodit-toolbar-button__trigger"
1273
+ role="trigger"
1274
+ >
1275
+ <svg
1276
+ viewBox="0 0 10 10"
1277
+ xmlns="http://www.w3.org/2000/svg"
1278
+ >
1279
+
1280
+ <path
1281
+ d="M.941 4.523a.75.75 0 1 1 1.06-1.06l3.006 3.005 3.005-3.005a.75.75 0 1 1 1.06 1.06l-3.549 3.55a.75.75 0 0 1-1.168-.136L.941 4.523z"
1282
+ />
1283
+
1284
+ </svg>
1285
+ </span>
1286
+ </span>
1287
+ </div>
1288
+ <div
1289
+ class="jodit-ui-spacer"
1290
+ />
1291
+ <div
1292
+ class="jodit-ui-group"
1293
+ >
1294
+ <span
1295
+ aria-label="Show all"
1296
+ class="jodit-toolbar-button jodit-toolbar-button_size_middle jodit-toolbar-button_variant_initial jodit-toolbar-button_dots jodit-ui-group__dots"
1297
+ data-ref="dots"
1298
+ ref="dots"
1299
+ role="listitem"
1300
+ >
1301
+ <button
1302
+ aria-pressed="false"
1303
+ class="jodit-toolbar-button__button"
1304
+ role="button"
1305
+ tabindex="-1"
1306
+ type="button"
1307
+ >
1308
+ <span
1309
+ class="jodit-toolbar-button__icon"
1310
+ >
1311
+ <svg
1312
+ class="jodit-icon_dots jodit-icon"
1313
+ viewBox="0 0 24 24"
1314
+ xmlns="http://www.w3.org/2000/svg"
1315
+ >
1316
+
1317
+ <circle
1318
+ cx="12"
1319
+ cy="12"
1320
+ r="2.2"
1321
+ />
1322
+
1323
+ <circle
1324
+ cx="12"
1325
+ cy="5"
1326
+ r="2.2"
1327
+ />
1328
+
1329
+ <circle
1330
+ cx="12"
1331
+ cy="19"
1332
+ r="2.2"
1333
+ />
1334
+
1335
+ </svg>
1336
+ </span>
1337
+ <span
1338
+ class="jodit-toolbar-button__text"
1339
+ />
1340
+ </button>
1341
+ </span>
1342
+ </div>
1343
+ </div>
1344
+ </div>
1345
+ </div>
1346
+ <div
1347
+ class="jodit-workplace"
1348
+ contenteditable="false"
1349
+ style="min-height: 198px; height: auto;"
1350
+ tabindex="-1"
1351
+ >
1352
+ <div
1353
+ aria-disabled="false"
1354
+ class="jodit-wysiwyg"
1355
+ contenteditable="true"
1356
+ spellcheck="false"
1357
+ style="min-height: 198px;"
1358
+ tabindex="-1"
1359
+ >
1360
+ <p>
1361
+ Hello, world!
1362
+ </p>
1363
+ </div>
1364
+ <div
1365
+ class="jodit-source"
1366
+ >
1367
+ <textarea
1368
+ class="jodit-source__mirror"
1369
+ style="min-height: 198px;"
1370
+ />
1371
+ </div>
1372
+ </div>
1373
+ <div
1374
+ class="jodit-status-bar"
1375
+ >
1376
+ <div
1377
+ class="jodit-status-bar__item jodit-status-bar__item-right"
1378
+ >
1379
+ <span>
1380
+ Chars: 0
1381
+ </span>
1382
+ </div>
1383
+ <div
1384
+ class="jodit-status-bar__item jodit-status-bar__item-right"
1385
+ >
1386
+ <span>
1387
+ Words: 0
1388
+ </span>
1389
+ </div>
1390
+ <div
1391
+ class="jodit-status-bar__item"
1392
+ >
1393
+ <div
1394
+ class="jodit-xpath"
1395
+ />
1396
+ </div>
1397
+ <div
1398
+ class="jodit-status-bar__item jodit-status-bar__item-right"
1399
+ >
1400
+ <a
1401
+ class="jodit-status-bar-link"
1402
+ href="https://xdsoft.net/jodit/"
1403
+ style="text-transform: uppercase"
1404
+ tabindex="-1"
1405
+ target="_blank"
1406
+ >
1407
+
1408
+ Powered by Jodit
1409
+
1410
+ </a>
1411
+ </div>
1412
+ </div>
1413
+ </div>
1414
+ <textarea
1415
+ style="display: none;"
1416
+ >
1417
+ &lt;p&gt;Hello, world!&lt;/p&gt;
1418
+ </textarea>
1419
+ </div>
1420
+ </DocumentFragment>
1421
+ `;