@ckeditor/ckeditor5-source-editing 44.1.0 → 44.2.0-alpha.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.
Files changed (388) hide show
  1. package/LICENSE.md +1 -1
  2. package/README.md +4 -4
  3. package/build/source-editing.js +3 -3
  4. package/build/translations/af.js +1 -1
  5. package/build/translations/ar.js +1 -1
  6. package/build/translations/ast.js +1 -1
  7. package/build/translations/az.js +1 -1
  8. package/build/translations/bg.js +1 -1
  9. package/build/translations/bn.js +1 -1
  10. package/build/translations/bs.js +1 -1
  11. package/build/translations/ca.js +1 -1
  12. package/build/translations/cs.js +1 -1
  13. package/build/translations/da.js +1 -1
  14. package/build/translations/de-ch.js +1 -1
  15. package/build/translations/de.js +1 -1
  16. package/build/translations/el.js +1 -1
  17. package/build/translations/en-au.js +1 -1
  18. package/build/translations/en-gb.js +1 -1
  19. package/build/translations/eo.js +1 -1
  20. package/build/translations/es-co.js +1 -1
  21. package/build/translations/es.js +1 -1
  22. package/build/translations/et.js +1 -1
  23. package/build/translations/eu.js +1 -1
  24. package/build/translations/fa.js +1 -1
  25. package/build/translations/fi.js +1 -1
  26. package/build/translations/fr.js +1 -1
  27. package/build/translations/gl.js +1 -1
  28. package/build/translations/gu.js +1 -1
  29. package/build/translations/he.js +1 -1
  30. package/build/translations/hi.js +1 -1
  31. package/build/translations/hr.js +1 -1
  32. package/build/translations/hu.js +1 -1
  33. package/build/translations/hy.js +1 -1
  34. package/build/translations/id.js +1 -1
  35. package/build/translations/it.js +1 -1
  36. package/build/translations/ja.js +1 -1
  37. package/build/translations/jv.js +1 -1
  38. package/build/translations/kk.js +1 -1
  39. package/build/translations/km.js +1 -1
  40. package/build/translations/kn.js +1 -1
  41. package/build/translations/ko.js +1 -1
  42. package/build/translations/ku.js +1 -1
  43. package/build/translations/lt.js +1 -1
  44. package/build/translations/lv.js +1 -1
  45. package/build/translations/ms.js +1 -1
  46. package/build/translations/nb.js +1 -1
  47. package/build/translations/ne.js +1 -1
  48. package/build/translations/nl.js +1 -1
  49. package/build/translations/no.js +1 -1
  50. package/build/translations/oc.js +1 -1
  51. package/build/translations/pl.js +1 -1
  52. package/build/translations/pt-br.js +1 -1
  53. package/build/translations/pt.js +1 -1
  54. package/build/translations/ro.js +1 -1
  55. package/build/translations/ru.js +1 -1
  56. package/build/translations/si.js +1 -1
  57. package/build/translations/sk.js +1 -1
  58. package/build/translations/sl.js +1 -1
  59. package/build/translations/sq.js +1 -1
  60. package/build/translations/sr-latn.js +1 -1
  61. package/build/translations/sr.js +1 -1
  62. package/build/translations/sv.js +1 -1
  63. package/build/translations/th.js +1 -1
  64. package/build/translations/ti.js +1 -1
  65. package/build/translations/tk.js +1 -1
  66. package/build/translations/tr.js +1 -1
  67. package/build/translations/tt.js +1 -1
  68. package/build/translations/ug.js +1 -1
  69. package/build/translations/uk.js +1 -1
  70. package/build/translations/ur.js +1 -1
  71. package/build/translations/uz.js +1 -1
  72. package/build/translations/vi.js +1 -1
  73. package/build/translations/zh-cn.js +1 -1
  74. package/build/translations/zh.js +1 -1
  75. package/ckeditor5-metadata.json +3 -4
  76. package/dist/index-content.css +2 -2
  77. package/dist/index-editor.css +2 -2
  78. package/dist/index.css +6 -6
  79. package/dist/index.css.map +1 -1
  80. package/dist/index.js +7 -9
  81. package/dist/index.js.map +1 -1
  82. package/dist/translations/af.d.ts +2 -2
  83. package/dist/translations/af.js +3 -3
  84. package/dist/translations/af.umd.js +3 -3
  85. package/dist/translations/ar.d.ts +2 -2
  86. package/dist/translations/ar.js +3 -3
  87. package/dist/translations/ar.umd.js +3 -3
  88. package/dist/translations/ast.d.ts +2 -2
  89. package/dist/translations/ast.js +3 -3
  90. package/dist/translations/ast.umd.js +3 -3
  91. package/dist/translations/az.d.ts +2 -2
  92. package/dist/translations/az.js +3 -3
  93. package/dist/translations/az.umd.js +3 -3
  94. package/dist/translations/bg.d.ts +2 -2
  95. package/dist/translations/bg.js +3 -3
  96. package/dist/translations/bg.umd.js +3 -3
  97. package/dist/translations/bn.d.ts +2 -2
  98. package/dist/translations/bn.js +3 -3
  99. package/dist/translations/bn.umd.js +3 -3
  100. package/dist/translations/bs.d.ts +2 -2
  101. package/dist/translations/bs.js +3 -3
  102. package/dist/translations/bs.umd.js +3 -3
  103. package/dist/translations/ca.d.ts +2 -2
  104. package/dist/translations/ca.js +3 -3
  105. package/dist/translations/ca.umd.js +3 -3
  106. package/dist/translations/cs.d.ts +2 -2
  107. package/dist/translations/cs.js +3 -3
  108. package/dist/translations/cs.umd.js +3 -3
  109. package/dist/translations/da.d.ts +2 -2
  110. package/dist/translations/da.js +3 -3
  111. package/dist/translations/da.umd.js +3 -3
  112. package/dist/translations/de-ch.d.ts +2 -2
  113. package/dist/translations/de-ch.js +3 -3
  114. package/dist/translations/de-ch.umd.js +3 -3
  115. package/dist/translations/de.d.ts +2 -2
  116. package/dist/translations/de.js +3 -3
  117. package/dist/translations/de.umd.js +3 -3
  118. package/dist/translations/el.d.ts +2 -2
  119. package/dist/translations/el.js +3 -3
  120. package/dist/translations/el.umd.js +3 -3
  121. package/dist/translations/en-au.d.ts +2 -2
  122. package/dist/translations/en-au.js +3 -3
  123. package/dist/translations/en-au.umd.js +3 -3
  124. package/dist/translations/en-gb.d.ts +2 -2
  125. package/dist/translations/en-gb.js +3 -3
  126. package/dist/translations/en-gb.umd.js +3 -3
  127. package/dist/translations/en.d.ts +2 -2
  128. package/dist/translations/en.js +3 -3
  129. package/dist/translations/en.umd.js +3 -3
  130. package/dist/translations/eo.d.ts +2 -2
  131. package/dist/translations/eo.js +3 -3
  132. package/dist/translations/eo.umd.js +3 -3
  133. package/dist/translations/es-co.d.ts +2 -2
  134. package/dist/translations/es-co.js +3 -3
  135. package/dist/translations/es-co.umd.js +3 -3
  136. package/dist/translations/es.d.ts +2 -2
  137. package/dist/translations/es.js +3 -3
  138. package/dist/translations/es.umd.js +3 -3
  139. package/dist/translations/et.d.ts +2 -2
  140. package/dist/translations/et.js +3 -3
  141. package/dist/translations/et.umd.js +3 -3
  142. package/dist/translations/eu.d.ts +2 -2
  143. package/dist/translations/eu.js +3 -3
  144. package/dist/translations/eu.umd.js +3 -3
  145. package/dist/translations/fa.d.ts +2 -2
  146. package/dist/translations/fa.js +3 -3
  147. package/dist/translations/fa.umd.js +3 -3
  148. package/dist/translations/fi.d.ts +2 -2
  149. package/dist/translations/fi.js +3 -3
  150. package/dist/translations/fi.umd.js +3 -3
  151. package/dist/translations/fr.d.ts +2 -2
  152. package/dist/translations/fr.js +3 -3
  153. package/dist/translations/fr.umd.js +3 -3
  154. package/dist/translations/gl.d.ts +2 -2
  155. package/dist/translations/gl.js +3 -3
  156. package/dist/translations/gl.umd.js +3 -3
  157. package/dist/translations/gu.d.ts +2 -2
  158. package/dist/translations/gu.js +3 -3
  159. package/dist/translations/gu.umd.js +3 -3
  160. package/dist/translations/he.d.ts +2 -2
  161. package/dist/translations/he.js +3 -3
  162. package/dist/translations/he.umd.js +3 -3
  163. package/dist/translations/hi.d.ts +2 -2
  164. package/dist/translations/hi.js +3 -3
  165. package/dist/translations/hi.umd.js +3 -3
  166. package/dist/translations/hr.d.ts +2 -2
  167. package/dist/translations/hr.js +3 -3
  168. package/dist/translations/hr.umd.js +3 -3
  169. package/dist/translations/hu.d.ts +2 -2
  170. package/dist/translations/hu.js +3 -3
  171. package/dist/translations/hu.umd.js +3 -3
  172. package/dist/translations/hy.d.ts +2 -2
  173. package/dist/translations/hy.js +3 -3
  174. package/dist/translations/hy.umd.js +3 -3
  175. package/dist/translations/id.d.ts +2 -2
  176. package/dist/translations/id.js +3 -3
  177. package/dist/translations/id.umd.js +3 -3
  178. package/dist/translations/it.d.ts +2 -2
  179. package/dist/translations/it.js +3 -3
  180. package/dist/translations/it.umd.js +3 -3
  181. package/dist/translations/ja.d.ts +2 -2
  182. package/dist/translations/ja.js +3 -3
  183. package/dist/translations/ja.umd.js +3 -3
  184. package/dist/translations/jv.d.ts +2 -2
  185. package/dist/translations/jv.js +3 -3
  186. package/dist/translations/jv.umd.js +3 -3
  187. package/dist/translations/kk.d.ts +2 -2
  188. package/dist/translations/kk.js +3 -3
  189. package/dist/translations/kk.umd.js +3 -3
  190. package/dist/translations/km.d.ts +2 -2
  191. package/dist/translations/km.js +3 -3
  192. package/dist/translations/km.umd.js +3 -3
  193. package/dist/translations/kn.d.ts +2 -2
  194. package/dist/translations/kn.js +3 -3
  195. package/dist/translations/kn.umd.js +3 -3
  196. package/dist/translations/ko.d.ts +2 -2
  197. package/dist/translations/ko.js +3 -3
  198. package/dist/translations/ko.umd.js +3 -3
  199. package/dist/translations/ku.d.ts +2 -2
  200. package/dist/translations/ku.js +3 -3
  201. package/dist/translations/ku.umd.js +3 -3
  202. package/dist/translations/lt.d.ts +2 -2
  203. package/dist/translations/lt.js +3 -3
  204. package/dist/translations/lt.umd.js +3 -3
  205. package/dist/translations/lv.d.ts +2 -2
  206. package/dist/translations/lv.js +3 -3
  207. package/dist/translations/lv.umd.js +3 -3
  208. package/dist/translations/ms.d.ts +2 -2
  209. package/dist/translations/ms.js +3 -3
  210. package/dist/translations/ms.umd.js +3 -3
  211. package/dist/translations/nb.d.ts +2 -2
  212. package/dist/translations/nb.js +3 -3
  213. package/dist/translations/nb.umd.js +3 -3
  214. package/dist/translations/ne.d.ts +2 -2
  215. package/dist/translations/ne.js +3 -3
  216. package/dist/translations/ne.umd.js +3 -3
  217. package/dist/translations/nl.d.ts +2 -2
  218. package/dist/translations/nl.js +3 -3
  219. package/dist/translations/nl.umd.js +3 -3
  220. package/dist/translations/no.d.ts +2 -2
  221. package/dist/translations/no.js +3 -3
  222. package/dist/translations/no.umd.js +3 -3
  223. package/dist/translations/oc.d.ts +2 -2
  224. package/dist/translations/oc.js +3 -3
  225. package/dist/translations/oc.umd.js +3 -3
  226. package/dist/translations/pl.d.ts +2 -2
  227. package/dist/translations/pl.js +3 -3
  228. package/dist/translations/pl.umd.js +3 -3
  229. package/dist/translations/pt-br.d.ts +2 -2
  230. package/dist/translations/pt-br.js +3 -3
  231. package/dist/translations/pt-br.umd.js +3 -3
  232. package/dist/translations/pt.d.ts +2 -2
  233. package/dist/translations/pt.js +3 -3
  234. package/dist/translations/pt.umd.js +3 -3
  235. package/dist/translations/ro.d.ts +2 -2
  236. package/dist/translations/ro.js +3 -3
  237. package/dist/translations/ro.umd.js +3 -3
  238. package/dist/translations/ru.d.ts +2 -2
  239. package/dist/translations/ru.js +3 -3
  240. package/dist/translations/ru.umd.js +3 -3
  241. package/dist/translations/si.d.ts +2 -2
  242. package/dist/translations/si.js +3 -3
  243. package/dist/translations/si.umd.js +3 -3
  244. package/dist/translations/sk.d.ts +2 -2
  245. package/dist/translations/sk.js +3 -3
  246. package/dist/translations/sk.umd.js +3 -3
  247. package/dist/translations/sl.d.ts +2 -2
  248. package/dist/translations/sl.js +3 -3
  249. package/dist/translations/sl.umd.js +3 -3
  250. package/dist/translations/sq.d.ts +2 -2
  251. package/dist/translations/sq.js +3 -3
  252. package/dist/translations/sq.umd.js +3 -3
  253. package/dist/translations/sr-latn.d.ts +2 -2
  254. package/dist/translations/sr-latn.js +3 -3
  255. package/dist/translations/sr-latn.umd.js +3 -3
  256. package/dist/translations/sr.d.ts +2 -2
  257. package/dist/translations/sr.js +3 -3
  258. package/dist/translations/sr.umd.js +3 -3
  259. package/dist/translations/sv.d.ts +2 -2
  260. package/dist/translations/sv.js +3 -3
  261. package/dist/translations/sv.umd.js +3 -3
  262. package/dist/translations/th.d.ts +2 -2
  263. package/dist/translations/th.js +3 -3
  264. package/dist/translations/th.umd.js +3 -3
  265. package/dist/translations/ti.d.ts +2 -2
  266. package/dist/translations/ti.js +3 -3
  267. package/dist/translations/ti.umd.js +3 -3
  268. package/dist/translations/tk.d.ts +2 -2
  269. package/dist/translations/tk.js +3 -3
  270. package/dist/translations/tk.umd.js +3 -3
  271. package/dist/translations/tr.d.ts +2 -2
  272. package/dist/translations/tr.js +3 -3
  273. package/dist/translations/tr.umd.js +3 -3
  274. package/dist/translations/tt.d.ts +2 -2
  275. package/dist/translations/tt.js +3 -3
  276. package/dist/translations/tt.umd.js +3 -3
  277. package/dist/translations/ug.d.ts +2 -2
  278. package/dist/translations/ug.js +3 -3
  279. package/dist/translations/ug.umd.js +3 -3
  280. package/dist/translations/uk.d.ts +2 -2
  281. package/dist/translations/uk.js +3 -3
  282. package/dist/translations/uk.umd.js +3 -3
  283. package/dist/translations/ur.d.ts +2 -2
  284. package/dist/translations/ur.js +3 -3
  285. package/dist/translations/ur.umd.js +3 -3
  286. package/dist/translations/uz.d.ts +2 -2
  287. package/dist/translations/uz.js +3 -3
  288. package/dist/translations/uz.umd.js +3 -3
  289. package/dist/translations/vi.d.ts +2 -2
  290. package/dist/translations/vi.js +3 -3
  291. package/dist/translations/vi.umd.js +3 -3
  292. package/dist/translations/zh-cn.d.ts +2 -2
  293. package/dist/translations/zh-cn.js +3 -3
  294. package/dist/translations/zh-cn.umd.js +3 -3
  295. package/dist/translations/zh.d.ts +2 -2
  296. package/dist/translations/zh.js +3 -3
  297. package/dist/translations/zh.umd.js +3 -3
  298. package/lang/contexts.json +0 -1
  299. package/lang/translations/af.po +1 -5
  300. package/lang/translations/ar.po +1 -5
  301. package/lang/translations/ast.po +1 -5
  302. package/lang/translations/az.po +1 -5
  303. package/lang/translations/bg.po +1 -5
  304. package/lang/translations/bn.po +1 -5
  305. package/lang/translations/bs.po +1 -5
  306. package/lang/translations/ca.po +1 -5
  307. package/lang/translations/cs.po +1 -5
  308. package/lang/translations/da.po +1 -5
  309. package/lang/translations/de-ch.po +1 -5
  310. package/lang/translations/de.po +1 -5
  311. package/lang/translations/el.po +1 -5
  312. package/lang/translations/en-au.po +1 -5
  313. package/lang/translations/en-gb.po +1 -5
  314. package/lang/translations/en.po +1 -5
  315. package/lang/translations/eo.po +1 -5
  316. package/lang/translations/es-co.po +1 -5
  317. package/lang/translations/es.po +1 -5
  318. package/lang/translations/et.po +1 -5
  319. package/lang/translations/eu.po +1 -5
  320. package/lang/translations/fa.po +1 -5
  321. package/lang/translations/fi.po +1 -5
  322. package/lang/translations/fr.po +1 -5
  323. package/lang/translations/gl.po +1 -5
  324. package/lang/translations/gu.po +1 -5
  325. package/lang/translations/he.po +1 -5
  326. package/lang/translations/hi.po +1 -5
  327. package/lang/translations/hr.po +1 -5
  328. package/lang/translations/hu.po +1 -5
  329. package/lang/translations/hy.po +1 -5
  330. package/lang/translations/id.po +1 -5
  331. package/lang/translations/it.po +1 -5
  332. package/lang/translations/ja.po +1 -5
  333. package/lang/translations/jv.po +1 -5
  334. package/lang/translations/kk.po +1 -5
  335. package/lang/translations/km.po +1 -5
  336. package/lang/translations/kn.po +1 -5
  337. package/lang/translations/ko.po +1 -5
  338. package/lang/translations/ku.po +1 -5
  339. package/lang/translations/lt.po +1 -5
  340. package/lang/translations/lv.po +1 -5
  341. package/lang/translations/ms.po +1 -5
  342. package/lang/translations/nb.po +1 -5
  343. package/lang/translations/ne.po +1 -5
  344. package/lang/translations/nl.po +1 -5
  345. package/lang/translations/no.po +1 -5
  346. package/lang/translations/oc.po +1 -5
  347. package/lang/translations/pl.po +1 -5
  348. package/lang/translations/pt-br.po +1 -5
  349. package/lang/translations/pt.po +1 -5
  350. package/lang/translations/ro.po +1 -5
  351. package/lang/translations/ru.po +1 -5
  352. package/lang/translations/si.po +1 -5
  353. package/lang/translations/sk.po +1 -5
  354. package/lang/translations/sl.po +1 -5
  355. package/lang/translations/sq.po +1 -5
  356. package/lang/translations/sr-latn.po +1 -5
  357. package/lang/translations/sr.po +1 -5
  358. package/lang/translations/sv.po +1 -5
  359. package/lang/translations/th.po +1 -5
  360. package/lang/translations/ti.po +1 -5
  361. package/lang/translations/tk.po +1 -5
  362. package/lang/translations/tr.po +1 -5
  363. package/lang/translations/tt.po +1 -5
  364. package/lang/translations/ug.po +1 -5
  365. package/lang/translations/uk.po +1 -5
  366. package/lang/translations/ur.po +1 -5
  367. package/lang/translations/uz.po +1 -5
  368. package/lang/translations/vi.po +1 -5
  369. package/lang/translations/zh-cn.po +1 -5
  370. package/lang/translations/zh.po +1 -5
  371. package/package.json +29 -7
  372. package/src/augmentation.d.ts +1 -1
  373. package/src/augmentation.js +1 -1
  374. package/src/index.d.ts +1 -1
  375. package/src/index.js +1 -1
  376. package/src/sourceediting.d.ts +2 -2
  377. package/src/sourceediting.js +5 -6
  378. package/src/sourceeditingconfig.d.ts +2 -2
  379. package/src/sourceeditingconfig.js +1 -1
  380. package/src/utils/formathtml.d.ts +1 -1
  381. package/src/utils/formathtml.js +1 -1
  382. package/theme/sourceediting.css +1 -1
  383. package/dist/augmentation.d.ts +0 -22
  384. package/dist/index.d.ts +0 -14
  385. package/dist/sourceediting.d.ts +0 -112
  386. package/dist/sourceeditingconfig.d.ts +0 -38
  387. package/dist/utils/formathtml.d.ts +0 -23
  388. package/theme/icons/source-editing.svg +0 -1
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
1
+ # Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
3
  # Want to contribute to this file? Submit your changes via a GitHub Pull Request.
4
4
  #
@@ -11,10 +11,6 @@ msgstr ""
11
11
  "Plural-Forms: nplurals=2; plural=(n > 1);\n"
12
12
  "Content-Type: text/plain; charset=UTF-8\n"
13
13
 
14
- msgctxt "The label of the source editing feature toolbar button."
15
- msgid "Source"
16
- msgstr ""
17
-
18
14
  msgctxt "The accessible label of the menu bar button that changes the editor mode to raw source (HTML) editing."
19
15
  msgid "Show source"
20
16
  msgstr ""
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
1
+ # Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
3
  # Want to contribute to this file? Submit your changes via a GitHub Pull Request.
4
4
  #
@@ -11,10 +11,6 @@ msgstr ""
11
11
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
12
12
  "Content-Type: text/plain; charset=UTF-8\n"
13
13
 
14
- msgctxt "The label of the source editing feature toolbar button."
15
- msgid "Source"
16
- msgstr ""
17
-
18
14
  msgctxt "The accessible label of the menu bar button that changes the editor mode to raw source (HTML) editing."
19
15
  msgid "Show source"
20
16
  msgstr ""
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
1
+ # Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
3
  # Want to contribute to this file? Submit your changes via a GitHub Pull Request.
4
4
  #
@@ -11,10 +11,6 @@ msgstr ""
11
11
  "Plural-Forms: nplurals=2; plural=(n > 1);\n"
12
12
  "Content-Type: text/plain; charset=UTF-8\n"
13
13
 
14
- msgctxt "The label of the source editing feature toolbar button."
15
- msgid "Source"
16
- msgstr "Kaynak"
17
-
18
14
  msgctxt "The accessible label of the menu bar button that changes the editor mode to raw source (HTML) editing."
19
15
  msgid "Show source"
20
16
  msgstr "Kaynağı göster"
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
1
+ # Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
3
  # Want to contribute to this file? Submit your changes via a GitHub Pull Request.
4
4
  #
@@ -11,10 +11,6 @@ msgstr ""
11
11
  "Plural-Forms: nplurals=1; plural=0;\n"
12
12
  "Content-Type: text/plain; charset=UTF-8\n"
13
13
 
14
- msgctxt "The label of the source editing feature toolbar button."
15
- msgid "Source"
16
- msgstr ""
17
-
18
14
  msgctxt "The accessible label of the menu bar button that changes the editor mode to raw source (HTML) editing."
19
15
  msgid "Show source"
20
16
  msgstr ""
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
1
+ # Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
3
  # Want to contribute to this file? Submit your changes via a GitHub Pull Request.
4
4
  #
@@ -11,10 +11,6 @@ msgstr ""
11
11
  "Plural-Forms: nplurals=1; plural=0;\n"
12
12
  "Content-Type: text/plain; charset=UTF-8\n"
13
13
 
14
- msgctxt "The label of the source editing feature toolbar button."
15
- msgid "Source"
16
- msgstr "مەنبە"
17
-
18
14
  msgctxt "The accessible label of the menu bar button that changes the editor mode to raw source (HTML) editing."
19
15
  msgid "Show source"
20
16
  msgstr ""
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
1
+ # Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
3
  # Want to contribute to this file? Submit your changes via a GitHub Pull Request.
4
4
  #
@@ -11,10 +11,6 @@ msgstr ""
11
11
  "Plural-Forms: nplurals=3; plural=(n % 10 == 1 && n % 100 != 11 ? 0 : n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 10 || n % 100 >= 20) ? 1 : 2);\n"
12
12
  "Content-Type: text/plain; charset=UTF-8\n"
13
13
 
14
- msgctxt "The label of the source editing feature toolbar button."
15
- msgid "Source"
16
- msgstr "Джерело"
17
-
18
14
  msgctxt "The accessible label of the menu bar button that changes the editor mode to raw source (HTML) editing."
19
15
  msgid "Show source"
20
16
  msgstr "Показати джерело"
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
1
+ # Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
3
  # Want to contribute to this file? Submit your changes via a GitHub Pull Request.
4
4
  #
@@ -11,10 +11,6 @@ msgstr ""
11
11
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
12
12
  "Content-Type: text/plain; charset=UTF-8\n"
13
13
 
14
- msgctxt "The label of the source editing feature toolbar button."
15
- msgid "Source"
16
- msgstr "مآخذ"
17
-
18
14
  msgctxt "The accessible label of the menu bar button that changes the editor mode to raw source (HTML) editing."
19
15
  msgid "Show source"
20
16
  msgstr ""
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
1
+ # Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
3
  # Want to contribute to this file? Submit your changes via a GitHub Pull Request.
4
4
  #
@@ -11,10 +11,6 @@ msgstr ""
11
11
  "Plural-Forms: nplurals=2; plural=(n > 1);\n"
12
12
  "Content-Type: text/plain; charset=UTF-8\n"
13
13
 
14
- msgctxt "The label of the source editing feature toolbar button."
15
- msgid "Source"
16
- msgstr ""
17
-
18
14
  msgctxt "The accessible label of the menu bar button that changes the editor mode to raw source (HTML) editing."
19
15
  msgid "Show source"
20
16
  msgstr ""
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
1
+ # Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
3
  # Want to contribute to this file? Submit your changes via a GitHub Pull Request.
4
4
  #
@@ -11,10 +11,6 @@ msgstr ""
11
11
  "Plural-Forms: nplurals=1; plural=0;\n"
12
12
  "Content-Type: text/plain; charset=UTF-8\n"
13
13
 
14
- msgctxt "The label of the source editing feature toolbar button."
15
- msgid "Source"
16
- msgstr "Nguồn"
17
-
18
14
  msgctxt "The accessible label of the menu bar button that changes the editor mode to raw source (HTML) editing."
19
15
  msgid "Show source"
20
16
  msgstr "Hiển thị nguồn"
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
1
+ # Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
3
  # Want to contribute to this file? Submit your changes via a GitHub Pull Request.
4
4
  #
@@ -11,10 +11,6 @@ msgstr ""
11
11
  "Plural-Forms: nplurals=1; plural=0;\n"
12
12
  "Content-Type: text/plain; charset=UTF-8\n"
13
13
 
14
- msgctxt "The label of the source editing feature toolbar button."
15
- msgid "Source"
16
- msgstr "源代码"
17
-
18
14
  msgctxt "The accessible label of the menu bar button that changes the editor mode to raw source (HTML) editing."
19
15
  msgid "Show source"
20
16
  msgstr "显示源代码"
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
1
+ # Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
3
  # Want to contribute to this file? Submit your changes via a GitHub Pull Request.
4
4
  #
@@ -11,10 +11,6 @@ msgstr ""
11
11
  "Plural-Forms: nplurals=1; plural=0;\n"
12
12
  "Content-Type: text/plain; charset=UTF-8\n"
13
13
 
14
- msgctxt "The label of the source editing feature toolbar button."
15
- msgid "Source"
16
- msgstr "原始碼"
17
-
18
14
  msgctxt "The accessible label of the menu bar button that changes the editor mode to raw source (HTML) editing."
19
15
  msgid "Show source"
20
16
  msgstr "顯示來源"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-source-editing",
3
- "version": "44.1.0",
3
+ "version": "44.2.0-alpha.0",
4
4
  "description": "Source editing feature for CKEditor 5.",
5
5
  "keywords": [
6
6
  "ckeditor",
@@ -13,11 +13,11 @@
13
13
  "type": "module",
14
14
  "main": "src/index.js",
15
15
  "dependencies": {
16
- "@ckeditor/ckeditor5-core": "44.1.0",
17
- "@ckeditor/ckeditor5-ui": "44.1.0",
18
- "@ckeditor/ckeditor5-utils": "44.1.0",
19
- "@ckeditor/ckeditor5-theme-lark": "44.1.0",
20
- "ckeditor5": "44.1.0"
16
+ "@ckeditor/ckeditor5-core": "44.2.0-alpha.0",
17
+ "@ckeditor/ckeditor5-ui": "44.2.0-alpha.0",
18
+ "@ckeditor/ckeditor5-utils": "44.2.0-alpha.0",
19
+ "@ckeditor/ckeditor5-theme-lark": "44.2.0-alpha.0",
20
+ "ckeditor5": "44.2.0-alpha.0"
21
21
  },
22
22
  "author": "CKSource (http://cksource.com/)",
23
23
  "license": "SEE LICENSE IN LICENSE.md",
@@ -38,5 +38,27 @@
38
38
  "ckeditor5-metadata.json",
39
39
  "CHANGELOG.md"
40
40
  ],
41
- "types": "src/index.d.ts"
41
+ "types": "src/index.d.ts",
42
+ "exports": {
43
+ ".": {
44
+ "types": "./src/index.d.ts",
45
+ "import": "./src/index.js",
46
+ "default": "./src/index.js"
47
+ },
48
+ "./dist/*": {
49
+ "types": "./src/index.d.ts",
50
+ "import": "./dist/*",
51
+ "default": "./dist/*"
52
+ },
53
+ "./src/*": {
54
+ "types": "./src/*.d.ts",
55
+ "import": "./src/*",
56
+ "default": "./src/*"
57
+ },
58
+ "./build/*": "./build/*",
59
+ "./lang/*": "./lang/*",
60
+ "./theme/*": "./theme/*",
61
+ "./ckeditor5-metadata.json": "./ckeditor5-metadata.json",
62
+ "./package.json": "./package.json"
63
+ }
42
64
  }
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
5
  import type { SourceEditing, SourceEditingConfig } from './index.js';
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
5
  export {};
package/src/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
5
  /**
package/src/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
5
  /**
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
5
  /**
@@ -12,7 +12,7 @@ import '../theme/sourceediting.css';
12
12
  *
13
13
  * It provides the possibility to view and edit the source of the document.
14
14
  *
15
- * For a detailed overview, check the {@glink features/source-editing source editing feature documentation} and the
15
+ * For a detailed overview, check the {@glink features/source-editing/source-editing source editing feature documentation} and the
16
16
  * {@glink api/source-editing package page}.
17
17
  */
18
18
  export default class SourceEditing extends Plugin {
@@ -1,24 +1,23 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
5
  /**
6
6
  * @module source-editing/sourceediting
7
7
  */
8
8
  /* global console */
9
- import { Plugin, PendingActions } from 'ckeditor5/src/core.js';
9
+ import { Plugin, PendingActions, icons } from 'ckeditor5/src/core.js';
10
10
  import { ButtonView, MenuBarMenuListItemButtonView } from 'ckeditor5/src/ui.js';
11
11
  import { CKEditorError, createElement, ElementReplacer } from 'ckeditor5/src/utils.js';
12
12
  import { formatHtml } from './utils/formathtml.js';
13
13
  import '../theme/sourceediting.css';
14
- import sourceEditingIcon from '../theme/icons/source-editing.svg';
15
14
  const COMMAND_FORCE_DISABLE_ID = 'SourceEditingMode';
16
15
  /**
17
16
  * The source editing feature.
18
17
  *
19
18
  * It provides the possibility to view and edit the source of the document.
20
19
  *
21
- * For a detailed overview, check the {@glink features/source-editing source editing feature documentation} and the
20
+ * For a detailed overview, check the {@glink features/source-editing/source-editing source editing feature documentation} and the
22
21
  * {@glink api/source-editing package page}.
23
22
  */
24
23
  export default class SourceEditing extends Plugin {
@@ -62,7 +61,7 @@ export default class SourceEditing extends Plugin {
62
61
  const buttonView = this._createButton(ButtonView);
63
62
  buttonView.set({
64
63
  label: t('Source'),
65
- icon: sourceEditingIcon,
64
+ icon: icons.source,
66
65
  tooltip: true,
67
66
  class: 'ck-source-editing-button'
68
67
  });
@@ -127,7 +126,7 @@ export default class SourceEditing extends Plugin {
127
126
  /**
128
127
  * Source editing feature is not fully compatible with real-time collaboration,
129
128
  * and using it may lead to data loss. Please read
130
- * {@glink features/source-editing#limitations-and-incompatibilities source editing feature guide} to learn more.
129
+ * {@glink features/source-editing/source-editing#limitations-and-incompatibilities source editing feature guide} to learn more.
131
130
  *
132
131
  * If you understand the possible risk of data loss, you can enable the source editing
133
132
  * by setting the
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
5
  /**
@@ -26,7 +26,7 @@ export interface SourceEditingConfig {
26
26
  * Set to `true` to enable source editing feature for real-time collaboration.
27
27
  *
28
28
  * Please note that source editing feature is not fully compatible with real-time collaboration and using it may lead to data loss.
29
- * {@glink features/source-editing#limitations-and-incompatibilities Read more}.
29
+ * {@glink features/source-editing/source-editing#limitations-and-incompatibilities Read more}.
30
30
  *
31
31
  * @default false
32
32
  */
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
5
  export {};
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
5
  /**
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
5
  /**
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
5
 
@@ -1,22 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- /**
6
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
- */
9
- import type { SourceEditing, SourceEditingConfig } from './index.js';
10
- declare module '@ckeditor/ckeditor5-core' {
11
- interface EditorConfig {
12
- /**
13
- * The configuration of the source editing feature.
14
- *
15
- * Read more in {@link module:source-editing/sourceeditingconfig~SourceEditingConfig}.
16
- */
17
- sourceEditing?: SourceEditingConfig;
18
- }
19
- interface PluginsMap {
20
- [SourceEditing.pluginName]: SourceEditing;
21
- }
22
- }
package/dist/index.d.ts DELETED
@@ -1,14 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- /**
6
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
- */
9
- /**
10
- * @module source-editing
11
- */
12
- export { default as SourceEditing } from './sourceediting.js';
13
- export type { SourceEditingConfig } from './sourceeditingconfig.js';
14
- import './augmentation.js';
@@ -1,112 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- /**
6
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
- */
9
- /**
10
- * @module source-editing/sourceediting
11
- */
12
- import { type Editor, Plugin, PendingActions } from 'ckeditor5/src/core.js';
13
- import '../theme/sourceediting.css';
14
- /**
15
- * The source editing feature.
16
- *
17
- * It provides the possibility to view and edit the source of the document.
18
- *
19
- * For a detailed overview, check the {@glink features/source-editing source editing feature documentation} and the
20
- * {@glink api/source-editing package page}.
21
- */
22
- export default class SourceEditing extends Plugin {
23
- /**
24
- * @inheritDoc
25
- */
26
- static get pluginName(): "SourceEditing";
27
- /**
28
- * @inheritDoc
29
- */
30
- static get isOfficialPlugin(): true;
31
- /**
32
- * @inheritDoc
33
- */
34
- static get requires(): readonly [typeof PendingActions];
35
- /**
36
- * Flag indicating whether the document source mode is active.
37
- *
38
- * @observable
39
- */
40
- isSourceEditingMode: boolean;
41
- /**
42
- * The element replacer instance used to replace the editing roots with the wrapper elements containing the document source.
43
- */
44
- private _elementReplacer;
45
- /**
46
- * Maps all root names to wrapper elements containing the document source.
47
- */
48
- private _replacedRoots;
49
- /**
50
- * Maps all root names to their document data.
51
- */
52
- private _dataFromRoots;
53
- /**
54
- * @inheritDoc
55
- */
56
- constructor(editor: Editor);
57
- /**
58
- * @inheritDoc
59
- */
60
- init(): void;
61
- /**
62
- * Updates the source data in all hidden editing roots.
63
- */
64
- updateEditorData(): void;
65
- private _checkCompatibility;
66
- /**
67
- * Creates source editing wrappers that replace each editing root. Each wrapper contains the document source from the corresponding
68
- * root.
69
- *
70
- * The wrapper element contains a textarea and it solves the problem, that the textarea element cannot auto expand its height based on
71
- * the content it contains. The solution is to make the textarea more like a plain div element, which expands in height as much as it
72
- * needs to, in order to display the whole document source without scrolling. The wrapper element is a parent for the textarea and for
73
- * the pseudo-element `::after`, that replicates the look, content, and position of the textarea. The pseudo-element replica is hidden,
74
- * but it is styled to be an identical visual copy of the textarea with the same content. Then, the wrapper is a grid container and both
75
- * of its children (the textarea and the `::after` pseudo-element) are positioned within a CSS grid to occupy the same grid cell. The
76
- * content in the pseudo-element `::after` is set in CSS and it stretches the grid to the appropriate size based on the textarea value.
77
- * Since both children occupy the same grid cell, both have always the same height.
78
- */
79
- private _showSourceEditing;
80
- /**
81
- * Restores all hidden editing roots and sets the source data in them.
82
- */
83
- private _hideSourceEditing;
84
- /**
85
- * Focuses the textarea containing document source from the first editing root.
86
- */
87
- private _focusSourceEditing;
88
- /**
89
- * Disables all commands.
90
- */
91
- private _disableCommands;
92
- /**
93
- * Clears forced disable for all commands, that was previously set through {@link #_disableCommands}.
94
- */
95
- private _enableCommands;
96
- /**
97
- * Adds or removes the `readonly` attribute from the textarea from all roots, if document source mode is active.
98
- *
99
- * @param isReadOnly Indicates whether all textarea elements should be read-only.
100
- */
101
- private _handleReadOnlyMode;
102
- /**
103
- * Checks, if the plugin is allowed to handle the source editing mode by itself. Currently, the source editing mode is supported only
104
- * for the {@link module:editor-classic/classiceditor~ClassicEditor classic editor}.
105
- */
106
- private _isAllowedToHandleSourceEditingMode;
107
- /**
108
- * If any {@link module:ui/dialog/dialogview~DialogView editor dialog} is currently visible, hide it.
109
- */
110
- private _hideVisibleDialog;
111
- private _createButton;
112
- }
@@ -1,38 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- /**
6
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
- */
9
- /**
10
- * @module source-editing/sourceeditingconfig
11
- */
12
- /**
13
- * The configuration of the source editing feature.
14
- *
15
- * ```ts
16
- * ClassicEditor
17
- * .create( {
18
- * sourceEditing: {
19
- * allowCollaborationFeatures: true
20
- * }
21
- * } )
22
- * .then( ... )
23
- * .catch( ... );
24
- * ```
25
- *
26
- * See {@link module:core/editor/editorconfig~EditorConfig all editor options}.
27
- */
28
- export interface SourceEditingConfig {
29
- /**
30
- * Set to `true` to enable source editing feature for real-time collaboration.
31
- *
32
- * Please note that source editing feature is not fully compatible with real-time collaboration and using it may lead to data loss.
33
- * {@glink features/source-editing#limitations-and-incompatibilities Read more}.
34
- *
35
- * @default false
36
- */
37
- allowCollaborationFeatures?: boolean;
38
- }
@@ -1,23 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- /**
6
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
- */
9
- /**
10
- * @module source-editing/utils/formathtml
11
- */
12
- /**
13
- * A simple (and naive) HTML code formatter that returns a formatted HTML markup that can be easily
14
- * parsed by human eyes. It beautifies the HTML code by adding new lines between elements that behave like block elements
15
- * (https://developer.mozilla.org/en-US/docs/Web/HTML/Block-level_elements
16
- * and a few more like `tr`, `td`, and similar ones) and inserting indents for nested content.
17
- *
18
- * WARNING: This function works only on a text that does not contain any indentations or new lines.
19
- * Calling this function on the already formatted text will damage the formatting.
20
- *
21
- * @param input An HTML string to format.
22
- */
23
- export declare function formatHtml(input: string): string;
@@ -1 +0,0 @@
1
- <svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="m12.5 0 5 4.5v15.003h-16V0h11zM3 1.5v3.25l-1.497 1-.003 8 1.5 1v3.254L7.685 18l-.001 1.504H17.5V8.002L16 9.428l-.004-4.22-4.222-3.692L3 1.5z"/><path d="M4.06 6.64a.75.75 0 0 1 .958 1.15l-.085.07L2.29 9.75l2.646 1.89c.302.216.4.62.232.951l-.058.095a.75.75 0 0 1-.951.232l-.095-.058-3.5-2.5V9.14l3.496-2.5zm4.194 6.22a.75.75 0 0 1-.958-1.149l.085-.07 2.643-1.89-2.646-1.89a.75.75 0 0 1-.232-.952l.058-.095a.75.75 0 0 1 .95-.232l.096.058 3.5 2.5v1.22l-3.496 2.5zm7.644-.836 2.122 2.122-5.825 5.809-2.125-.005.003-2.116zm2.539-1.847 1.414 1.414a.5.5 0 0 1 0 .707l-1.06 1.06-2.122-2.12 1.061-1.061a.5.5 0 0 1 .707 0z"/></svg>