@ckeditor/ckeditor5-autoformat 0.0.0-internal-20241017.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 (256) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/LICENSE.md +17 -0
  3. package/README.md +26 -0
  4. package/build/autoformat.js +5 -0
  5. package/build/translations/ar.js +1 -0
  6. package/build/translations/bg.js +1 -0
  7. package/build/translations/bn.js +1 -0
  8. package/build/translations/ca.js +1 -0
  9. package/build/translations/cs.js +1 -0
  10. package/build/translations/da.js +1 -0
  11. package/build/translations/de.js +1 -0
  12. package/build/translations/el.js +1 -0
  13. package/build/translations/es-co.js +1 -0
  14. package/build/translations/es.js +1 -0
  15. package/build/translations/et.js +1 -0
  16. package/build/translations/fa.js +1 -0
  17. package/build/translations/fi.js +1 -0
  18. package/build/translations/fr.js +1 -0
  19. package/build/translations/gl.js +1 -0
  20. package/build/translations/he.js +1 -0
  21. package/build/translations/hi.js +1 -0
  22. package/build/translations/hr.js +1 -0
  23. package/build/translations/hu.js +1 -0
  24. package/build/translations/id.js +1 -0
  25. package/build/translations/it.js +1 -0
  26. package/build/translations/ja.js +1 -0
  27. package/build/translations/ko.js +1 -0
  28. package/build/translations/lt.js +1 -0
  29. package/build/translations/lv.js +1 -0
  30. package/build/translations/ms.js +1 -0
  31. package/build/translations/nl.js +1 -0
  32. package/build/translations/no.js +1 -0
  33. package/build/translations/pl.js +1 -0
  34. package/build/translations/pt-br.js +1 -0
  35. package/build/translations/pt.js +1 -0
  36. package/build/translations/ro.js +1 -0
  37. package/build/translations/ru.js +1 -0
  38. package/build/translations/sk.js +1 -0
  39. package/build/translations/sr-latn.js +1 -0
  40. package/build/translations/sr.js +1 -0
  41. package/build/translations/sv.js +1 -0
  42. package/build/translations/th.js +1 -0
  43. package/build/translations/tr.js +1 -0
  44. package/build/translations/tt.js +1 -0
  45. package/build/translations/ug.js +1 -0
  46. package/build/translations/uk.js +1 -0
  47. package/build/translations/vi.js +1 -0
  48. package/build/translations/zh-cn.js +1 -0
  49. package/build/translations/zh.js +1 -0
  50. package/ckeditor5-metadata.json +11 -0
  51. package/dist/augmentation.d.ts +14 -0
  52. package/dist/autoformat.d.ts +89 -0
  53. package/dist/blockautoformatediting.d.ts +61 -0
  54. package/dist/index-content.css +4 -0
  55. package/dist/index-editor.css +4 -0
  56. package/dist/index.css +4 -0
  57. package/dist/index.d.ts +15 -0
  58. package/dist/index.js +520 -0
  59. package/dist/index.js.map +1 -0
  60. package/dist/inlineautoformatediting.d.ts +87 -0
  61. package/dist/translations/ar.d.ts +8 -0
  62. package/dist/translations/ar.js +5 -0
  63. package/dist/translations/ar.umd.js +11 -0
  64. package/dist/translations/bg.d.ts +8 -0
  65. package/dist/translations/bg.js +5 -0
  66. package/dist/translations/bg.umd.js +11 -0
  67. package/dist/translations/bn.d.ts +8 -0
  68. package/dist/translations/bn.js +5 -0
  69. package/dist/translations/bn.umd.js +11 -0
  70. package/dist/translations/ca.d.ts +8 -0
  71. package/dist/translations/ca.js +5 -0
  72. package/dist/translations/ca.umd.js +11 -0
  73. package/dist/translations/cs.d.ts +8 -0
  74. package/dist/translations/cs.js +5 -0
  75. package/dist/translations/cs.umd.js +11 -0
  76. package/dist/translations/da.d.ts +8 -0
  77. package/dist/translations/da.js +5 -0
  78. package/dist/translations/da.umd.js +11 -0
  79. package/dist/translations/de.d.ts +8 -0
  80. package/dist/translations/de.js +5 -0
  81. package/dist/translations/de.umd.js +11 -0
  82. package/dist/translations/el.d.ts +8 -0
  83. package/dist/translations/el.js +5 -0
  84. package/dist/translations/el.umd.js +11 -0
  85. package/dist/translations/en.d.ts +8 -0
  86. package/dist/translations/en.js +5 -0
  87. package/dist/translations/en.umd.js +11 -0
  88. package/dist/translations/es-co.d.ts +8 -0
  89. package/dist/translations/es-co.js +5 -0
  90. package/dist/translations/es-co.umd.js +11 -0
  91. package/dist/translations/es.d.ts +8 -0
  92. package/dist/translations/es.js +5 -0
  93. package/dist/translations/es.umd.js +11 -0
  94. package/dist/translations/et.d.ts +8 -0
  95. package/dist/translations/et.js +5 -0
  96. package/dist/translations/et.umd.js +11 -0
  97. package/dist/translations/fa.d.ts +8 -0
  98. package/dist/translations/fa.js +5 -0
  99. package/dist/translations/fa.umd.js +11 -0
  100. package/dist/translations/fi.d.ts +8 -0
  101. package/dist/translations/fi.js +5 -0
  102. package/dist/translations/fi.umd.js +11 -0
  103. package/dist/translations/fr.d.ts +8 -0
  104. package/dist/translations/fr.js +5 -0
  105. package/dist/translations/fr.umd.js +11 -0
  106. package/dist/translations/gl.d.ts +8 -0
  107. package/dist/translations/gl.js +5 -0
  108. package/dist/translations/gl.umd.js +11 -0
  109. package/dist/translations/he.d.ts +8 -0
  110. package/dist/translations/he.js +5 -0
  111. package/dist/translations/he.umd.js +11 -0
  112. package/dist/translations/hi.d.ts +8 -0
  113. package/dist/translations/hi.js +5 -0
  114. package/dist/translations/hi.umd.js +11 -0
  115. package/dist/translations/hr.d.ts +8 -0
  116. package/dist/translations/hr.js +5 -0
  117. package/dist/translations/hr.umd.js +11 -0
  118. package/dist/translations/hu.d.ts +8 -0
  119. package/dist/translations/hu.js +5 -0
  120. package/dist/translations/hu.umd.js +11 -0
  121. package/dist/translations/id.d.ts +8 -0
  122. package/dist/translations/id.js +5 -0
  123. package/dist/translations/id.umd.js +11 -0
  124. package/dist/translations/it.d.ts +8 -0
  125. package/dist/translations/it.js +5 -0
  126. package/dist/translations/it.umd.js +11 -0
  127. package/dist/translations/ja.d.ts +8 -0
  128. package/dist/translations/ja.js +5 -0
  129. package/dist/translations/ja.umd.js +11 -0
  130. package/dist/translations/ko.d.ts +8 -0
  131. package/dist/translations/ko.js +5 -0
  132. package/dist/translations/ko.umd.js +11 -0
  133. package/dist/translations/lt.d.ts +8 -0
  134. package/dist/translations/lt.js +5 -0
  135. package/dist/translations/lt.umd.js +11 -0
  136. package/dist/translations/lv.d.ts +8 -0
  137. package/dist/translations/lv.js +5 -0
  138. package/dist/translations/lv.umd.js +11 -0
  139. package/dist/translations/ms.d.ts +8 -0
  140. package/dist/translations/ms.js +5 -0
  141. package/dist/translations/ms.umd.js +11 -0
  142. package/dist/translations/nl.d.ts +8 -0
  143. package/dist/translations/nl.js +5 -0
  144. package/dist/translations/nl.umd.js +11 -0
  145. package/dist/translations/no.d.ts +8 -0
  146. package/dist/translations/no.js +5 -0
  147. package/dist/translations/no.umd.js +11 -0
  148. package/dist/translations/pl.d.ts +8 -0
  149. package/dist/translations/pl.js +5 -0
  150. package/dist/translations/pl.umd.js +11 -0
  151. package/dist/translations/pt-br.d.ts +8 -0
  152. package/dist/translations/pt-br.js +5 -0
  153. package/dist/translations/pt-br.umd.js +11 -0
  154. package/dist/translations/pt.d.ts +8 -0
  155. package/dist/translations/pt.js +5 -0
  156. package/dist/translations/pt.umd.js +11 -0
  157. package/dist/translations/ro.d.ts +8 -0
  158. package/dist/translations/ro.js +5 -0
  159. package/dist/translations/ro.umd.js +11 -0
  160. package/dist/translations/ru.d.ts +8 -0
  161. package/dist/translations/ru.js +5 -0
  162. package/dist/translations/ru.umd.js +11 -0
  163. package/dist/translations/sk.d.ts +8 -0
  164. package/dist/translations/sk.js +5 -0
  165. package/dist/translations/sk.umd.js +11 -0
  166. package/dist/translations/sr-latn.d.ts +8 -0
  167. package/dist/translations/sr-latn.js +5 -0
  168. package/dist/translations/sr-latn.umd.js +11 -0
  169. package/dist/translations/sr.d.ts +8 -0
  170. package/dist/translations/sr.js +5 -0
  171. package/dist/translations/sr.umd.js +11 -0
  172. package/dist/translations/sv.d.ts +8 -0
  173. package/dist/translations/sv.js +5 -0
  174. package/dist/translations/sv.umd.js +11 -0
  175. package/dist/translations/th.d.ts +8 -0
  176. package/dist/translations/th.js +5 -0
  177. package/dist/translations/th.umd.js +11 -0
  178. package/dist/translations/tr.d.ts +8 -0
  179. package/dist/translations/tr.js +5 -0
  180. package/dist/translations/tr.umd.js +11 -0
  181. package/dist/translations/tt.d.ts +8 -0
  182. package/dist/translations/tt.js +5 -0
  183. package/dist/translations/tt.umd.js +11 -0
  184. package/dist/translations/ug.d.ts +8 -0
  185. package/dist/translations/ug.js +5 -0
  186. package/dist/translations/ug.umd.js +11 -0
  187. package/dist/translations/uk.d.ts +8 -0
  188. package/dist/translations/uk.js +5 -0
  189. package/dist/translations/uk.umd.js +11 -0
  190. package/dist/translations/vi.d.ts +8 -0
  191. package/dist/translations/vi.js +5 -0
  192. package/dist/translations/vi.umd.js +11 -0
  193. package/dist/translations/zh-cn.d.ts +8 -0
  194. package/dist/translations/zh-cn.js +5 -0
  195. package/dist/translations/zh-cn.umd.js +11 -0
  196. package/dist/translations/zh.d.ts +8 -0
  197. package/dist/translations/zh.js +5 -0
  198. package/dist/translations/zh.umd.js +11 -0
  199. package/lang/contexts.json +3 -0
  200. package/lang/translations/ar.po +22 -0
  201. package/lang/translations/bg.po +22 -0
  202. package/lang/translations/bn.po +22 -0
  203. package/lang/translations/ca.po +22 -0
  204. package/lang/translations/cs.po +22 -0
  205. package/lang/translations/da.po +22 -0
  206. package/lang/translations/de.po +22 -0
  207. package/lang/translations/el.po +22 -0
  208. package/lang/translations/en.po +22 -0
  209. package/lang/translations/es-co.po +22 -0
  210. package/lang/translations/es.po +22 -0
  211. package/lang/translations/et.po +22 -0
  212. package/lang/translations/fa.po +22 -0
  213. package/lang/translations/fi.po +22 -0
  214. package/lang/translations/fr.po +22 -0
  215. package/lang/translations/gl.po +22 -0
  216. package/lang/translations/he.po +22 -0
  217. package/lang/translations/hi.po +22 -0
  218. package/lang/translations/hr.po +22 -0
  219. package/lang/translations/hu.po +22 -0
  220. package/lang/translations/id.po +22 -0
  221. package/lang/translations/it.po +22 -0
  222. package/lang/translations/ja.po +22 -0
  223. package/lang/translations/ko.po +22 -0
  224. package/lang/translations/lt.po +22 -0
  225. package/lang/translations/lv.po +22 -0
  226. package/lang/translations/ms.po +22 -0
  227. package/lang/translations/nl.po +22 -0
  228. package/lang/translations/no.po +22 -0
  229. package/lang/translations/pl.po +22 -0
  230. package/lang/translations/pt-br.po +22 -0
  231. package/lang/translations/pt.po +22 -0
  232. package/lang/translations/ro.po +22 -0
  233. package/lang/translations/ru.po +22 -0
  234. package/lang/translations/sk.po +22 -0
  235. package/lang/translations/sr-latn.po +22 -0
  236. package/lang/translations/sr.po +22 -0
  237. package/lang/translations/sv.po +22 -0
  238. package/lang/translations/th.po +22 -0
  239. package/lang/translations/tr.po +22 -0
  240. package/lang/translations/tt.po +22 -0
  241. package/lang/translations/ug.po +22 -0
  242. package/lang/translations/uk.po +22 -0
  243. package/lang/translations/vi.po +22 -0
  244. package/lang/translations/zh-cn.po +22 -0
  245. package/lang/translations/zh.po +22 -0
  246. package/package.json +42 -0
  247. package/src/augmentation.d.ts +10 -0
  248. package/src/augmentation.js +5 -0
  249. package/src/autoformat.d.ts +85 -0
  250. package/src/autoformat.js +206 -0
  251. package/src/blockautoformatediting.d.ts +57 -0
  252. package/src/blockautoformatediting.js +137 -0
  253. package/src/index.d.ts +11 -0
  254. package/src/index.js +11 -0
  255. package/src/inlineautoformatediting.d.ts +83 -0
  256. package/src/inlineautoformatediting.js +174 -0
@@ -0,0 +1,22 @@
1
+ # Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2
+ #
3
+ # !!! IMPORTANT !!!
4
+ #
5
+ # Before you edit this file, please keep in mind that contributing to the project
6
+ # translations is possible ONLY via the Transifex online service.
7
+ #
8
+ # To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
9
+ #
10
+ # To learn more, check out the official contributor's guide:
11
+ # https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
12
+ #
13
+ msgid ""
14
+ msgstr ""
15
+ "Language-Team: Portuguese (https://app.transifex.com/ckeditor/teams/11143/pt/)\n"
16
+ "Language: pt\n"
17
+ "Plural-Forms: nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
19
+
20
+ msgctxt "Keystroke description for assistive technologies: keystroke for reverting autoformatting action."
21
+ msgid "Revert autoformatting action"
22
+ msgstr "Reverter ação de formatação automática"
@@ -0,0 +1,22 @@
1
+ # Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2
+ #
3
+ # !!! IMPORTANT !!!
4
+ #
5
+ # Before you edit this file, please keep in mind that contributing to the project
6
+ # translations is possible ONLY via the Transifex online service.
7
+ #
8
+ # To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
9
+ #
10
+ # To learn more, check out the official contributor's guide:
11
+ # https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
12
+ #
13
+ msgid ""
14
+ msgstr ""
15
+ "Language-Team: Romanian (https://app.transifex.com/ckeditor/teams/11143/ro/)\n"
16
+ "Language: ro\n"
17
+ "Plural-Forms: nplurals=3; plural=(n==1?0:(((n%100>19)||((n%100==0)&&(n!=0)))?2:1));\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
19
+
20
+ msgctxt "Keystroke description for assistive technologies: keystroke for reverting autoformatting action."
21
+ msgid "Revert autoformatting action"
22
+ msgstr "Anulează acțiunea de formatare automată"
@@ -0,0 +1,22 @@
1
+ # Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2
+ #
3
+ # !!! IMPORTANT !!!
4
+ #
5
+ # Before you edit this file, please keep in mind that contributing to the project
6
+ # translations is possible ONLY via the Transifex online service.
7
+ #
8
+ # To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
9
+ #
10
+ # To learn more, check out the official contributor's guide:
11
+ # https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
12
+ #
13
+ msgid ""
14
+ msgstr ""
15
+ "Language-Team: Russian (https://app.transifex.com/ckeditor/teams/11143/ru/)\n"
16
+ "Language: ru\n"
17
+ "Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n%100>=11 && n%100<=14)? 2 : 3);\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
19
+
20
+ msgctxt "Keystroke description for assistive technologies: keystroke for reverting autoformatting action."
21
+ msgid "Revert autoformatting action"
22
+ msgstr "Отменить действие автоформатирования"
@@ -0,0 +1,22 @@
1
+ # Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2
+ #
3
+ # !!! IMPORTANT !!!
4
+ #
5
+ # Before you edit this file, please keep in mind that contributing to the project
6
+ # translations is possible ONLY via the Transifex online service.
7
+ #
8
+ # To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
9
+ #
10
+ # To learn more, check out the official contributor's guide:
11
+ # https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
12
+ #
13
+ msgid ""
14
+ msgstr ""
15
+ "Language-Team: Slovak (https://app.transifex.com/ckeditor/teams/11143/sk/)\n"
16
+ "Language: sk\n"
17
+ "Plural-Forms: nplurals=4; plural=(n % 1 == 0 && n == 1 ? 0 : n % 1 == 0 && n >= 2 && n <= 4 ? 1 : n % 1 != 0 ? 2: 3);\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
19
+
20
+ msgctxt "Keystroke description for assistive technologies: keystroke for reverting autoformatting action."
21
+ msgid "Revert autoformatting action"
22
+ msgstr "Vrátiť späť automatické formátovanie"
@@ -0,0 +1,22 @@
1
+ # Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2
+ #
3
+ # !!! IMPORTANT !!!
4
+ #
5
+ # Before you edit this file, please keep in mind that contributing to the project
6
+ # translations is possible ONLY via the Transifex online service.
7
+ #
8
+ # To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
9
+ #
10
+ # To learn more, check out the official contributor's guide:
11
+ # https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
12
+ #
13
+ msgid ""
14
+ msgstr ""
15
+ "Language-Team: Serbian (Latin) (https://app.transifex.com/ckeditor/teams/11143/sr@latin/)\n"
16
+ "Language: sr@latin\n"
17
+ "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"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
19
+
20
+ msgctxt "Keystroke description for assistive technologies: keystroke for reverting autoformatting action."
21
+ msgid "Revert autoformatting action"
22
+ msgstr "Vrati radnju automatskog formatiranja"
@@ -0,0 +1,22 @@
1
+ # Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2
+ #
3
+ # !!! IMPORTANT !!!
4
+ #
5
+ # Before you edit this file, please keep in mind that contributing to the project
6
+ # translations is possible ONLY via the Transifex online service.
7
+ #
8
+ # To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
9
+ #
10
+ # To learn more, check out the official contributor's guide:
11
+ # https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
12
+ #
13
+ msgid ""
14
+ msgstr ""
15
+ "Language-Team: Serbian (https://app.transifex.com/ckeditor/teams/11143/sr/)\n"
16
+ "Language: sr\n"
17
+ "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"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
19
+
20
+ msgctxt "Keystroke description for assistive technologies: keystroke for reverting autoformatting action."
21
+ msgid "Revert autoformatting action"
22
+ msgstr "Vrati na automatsko formatiranje"
@@ -0,0 +1,22 @@
1
+ # Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2
+ #
3
+ # !!! IMPORTANT !!!
4
+ #
5
+ # Before you edit this file, please keep in mind that contributing to the project
6
+ # translations is possible ONLY via the Transifex online service.
7
+ #
8
+ # To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
9
+ #
10
+ # To learn more, check out the official contributor's guide:
11
+ # https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
12
+ #
13
+ msgid ""
14
+ msgstr ""
15
+ "Language-Team: Swedish (https://app.transifex.com/ckeditor/teams/11143/sv/)\n"
16
+ "Language: sv\n"
17
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
19
+
20
+ msgctxt "Keystroke description for assistive technologies: keystroke for reverting autoformatting action."
21
+ msgid "Revert autoformatting action"
22
+ msgstr "Ångra automatisk formatering"
@@ -0,0 +1,22 @@
1
+ # Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2
+ #
3
+ # !!! IMPORTANT !!!
4
+ #
5
+ # Before you edit this file, please keep in mind that contributing to the project
6
+ # translations is possible ONLY via the Transifex online service.
7
+ #
8
+ # To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
9
+ #
10
+ # To learn more, check out the official contributor's guide:
11
+ # https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
12
+ #
13
+ msgid ""
14
+ msgstr ""
15
+ "Language-Team: Thai (https://app.transifex.com/ckeditor/teams/11143/th/)\n"
16
+ "Language: th\n"
17
+ "Plural-Forms: nplurals=1; plural=0;\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
19
+
20
+ msgctxt "Keystroke description for assistive technologies: keystroke for reverting autoformatting action."
21
+ msgid "Revert autoformatting action"
22
+ msgstr "ยกเลิกการดำเนินการจัดรูปแบบอัตโนมัติ"
@@ -0,0 +1,22 @@
1
+ # Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2
+ #
3
+ # !!! IMPORTANT !!!
4
+ #
5
+ # Before you edit this file, please keep in mind that contributing to the project
6
+ # translations is possible ONLY via the Transifex online service.
7
+ #
8
+ # To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
9
+ #
10
+ # To learn more, check out the official contributor's guide:
11
+ # https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
12
+ #
13
+ msgid ""
14
+ msgstr ""
15
+ "Language-Team: Turkish (https://app.transifex.com/ckeditor/teams/11143/tr/)\n"
16
+ "Language: tr\n"
17
+ "Plural-Forms: nplurals=2; plural=(n > 1);\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
19
+
20
+ msgctxt "Keystroke description for assistive technologies: keystroke for reverting autoformatting action."
21
+ msgid "Revert autoformatting action"
22
+ msgstr "Otomatik biçimlendirme işlemini geri al"
@@ -0,0 +1,22 @@
1
+ # Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2
+ #
3
+ # !!! IMPORTANT !!!
4
+ #
5
+ # Before you edit this file, please keep in mind that contributing to the project
6
+ # translations is possible ONLY via the Transifex online service.
7
+ #
8
+ # To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
9
+ #
10
+ # To learn more, check out the official contributor's guide:
11
+ # https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
12
+ #
13
+ msgid ""
14
+ msgstr ""
15
+ "Language-Team: Tatar (https://app.transifex.com/ckeditor/teams/11143/tt/)\n"
16
+ "Language: tt\n"
17
+ "Plural-Forms: nplurals=1; plural=0;\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
19
+
20
+ msgctxt "Keystroke description for assistive technologies: keystroke for reverting autoformatting action."
21
+ msgid "Revert autoformatting action"
22
+ msgstr "Автоматик форматлау гамәлләрен бетер"
@@ -0,0 +1,22 @@
1
+ # Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2
+ #
3
+ # !!! IMPORTANT !!!
4
+ #
5
+ # Before you edit this file, please keep in mind that contributing to the project
6
+ # translations is possible ONLY via the Transifex online service.
7
+ #
8
+ # To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
9
+ #
10
+ # To learn more, check out the official contributor's guide:
11
+ # https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
12
+ #
13
+ msgid ""
14
+ msgstr ""
15
+ "Language-Team: Uyghur (https://app.transifex.com/ckeditor/teams/11143/ug/)\n"
16
+ "Language: ug\n"
17
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
19
+
20
+ msgctxt "Keystroke description for assistive technologies: keystroke for reverting autoformatting action."
21
+ msgid "Revert autoformatting action"
22
+ msgstr "ئۆزلۈكىدىن پىچىم مەشغۇلاتىنى ئەسلىگە قايتۇرىدۇ"
@@ -0,0 +1,22 @@
1
+ # Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2
+ #
3
+ # !!! IMPORTANT !!!
4
+ #
5
+ # Before you edit this file, please keep in mind that contributing to the project
6
+ # translations is possible ONLY via the Transifex online service.
7
+ #
8
+ # To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
9
+ #
10
+ # To learn more, check out the official contributor's guide:
11
+ # https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
12
+ #
13
+ msgid ""
14
+ msgstr ""
15
+ "Language-Team: Ukrainian (https://app.transifex.com/ckeditor/teams/11143/uk/)\n"
16
+ "Language: uk\n"
17
+ "Plural-Forms: nplurals=4; plural=(n % 1 == 0 && n % 10 == 1 && n % 100 != 11 ? 0 : n % 1 == 0 && n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 12 || n % 100 > 14) ? 1 : n % 1 == 0 && (n % 10 ==0 || (n % 10 >=5 && n % 10 <=9) || (n % 100 >=11 && n % 100 <=14 )) ? 2: 3);\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
19
+
20
+ msgctxt "Keystroke description for assistive technologies: keystroke for reverting autoformatting action."
21
+ msgid "Revert autoformatting action"
22
+ msgstr "Скасувати дію автоформатування"
@@ -0,0 +1,22 @@
1
+ # Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2
+ #
3
+ # !!! IMPORTANT !!!
4
+ #
5
+ # Before you edit this file, please keep in mind that contributing to the project
6
+ # translations is possible ONLY via the Transifex online service.
7
+ #
8
+ # To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
9
+ #
10
+ # To learn more, check out the official contributor's guide:
11
+ # https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
12
+ #
13
+ msgid ""
14
+ msgstr ""
15
+ "Language-Team: Vietnamese (https://app.transifex.com/ckeditor/teams/11143/vi/)\n"
16
+ "Language: vi\n"
17
+ "Plural-Forms: nplurals=1; plural=0;\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
19
+
20
+ msgctxt "Keystroke description for assistive technologies: keystroke for reverting autoformatting action."
21
+ msgid "Revert autoformatting action"
22
+ msgstr "Hoàn nguyên thao tác tự động định dạng"
@@ -0,0 +1,22 @@
1
+ # Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2
+ #
3
+ # !!! IMPORTANT !!!
4
+ #
5
+ # Before you edit this file, please keep in mind that contributing to the project
6
+ # translations is possible ONLY via the Transifex online service.
7
+ #
8
+ # To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
9
+ #
10
+ # To learn more, check out the official contributor's guide:
11
+ # https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
12
+ #
13
+ msgid ""
14
+ msgstr ""
15
+ "Language-Team: Chinese (China) (https://app.transifex.com/ckeditor/teams/11143/zh_CN/)\n"
16
+ "Language: zh_CN\n"
17
+ "Plural-Forms: nplurals=1; plural=0;\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
19
+
20
+ msgctxt "Keystroke description for assistive technologies: keystroke for reverting autoformatting action."
21
+ msgid "Revert autoformatting action"
22
+ msgstr "恢复自动格式化操作"
@@ -0,0 +1,22 @@
1
+ # Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2
+ #
3
+ # !!! IMPORTANT !!!
4
+ #
5
+ # Before you edit this file, please keep in mind that contributing to the project
6
+ # translations is possible ONLY via the Transifex online service.
7
+ #
8
+ # To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
9
+ #
10
+ # To learn more, check out the official contributor's guide:
11
+ # https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
12
+ #
13
+ msgid ""
14
+ msgstr ""
15
+ "Language-Team: Chinese (Taiwan) (https://app.transifex.com/ckeditor/teams/11143/zh_TW/)\n"
16
+ "Language: zh_TW\n"
17
+ "Plural-Forms: nplurals=1; plural=0;\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
19
+
20
+ msgctxt "Keystroke description for assistive technologies: keystroke for reverting autoformatting action."
21
+ msgid "Revert autoformatting action"
22
+ msgstr "復原自動格式化操作"
package/package.json ADDED
@@ -0,0 +1,42 @@
1
+ {
2
+ "name": "@ckeditor/ckeditor5-autoformat",
3
+ "version": "0.0.0-internal-20241017.0",
4
+ "description": "Autoformatting feature for CKEditor 5.",
5
+ "keywords": [
6
+ "ckeditor",
7
+ "ckeditor5",
8
+ "ckeditor 5",
9
+ "ckeditor5-feature",
10
+ "ckeditor5-plugin",
11
+ "ckeditor5-dll"
12
+ ],
13
+ "type": "module",
14
+ "main": "src/index.js",
15
+ "dependencies": {
16
+ "@ckeditor/ckeditor5-core": "0.0.0-internal-20241017.0",
17
+ "@ckeditor/ckeditor5-engine": "0.0.0-internal-20241017.0",
18
+ "@ckeditor/ckeditor5-typing": "0.0.0-internal-20241017.0",
19
+ "@ckeditor/ckeditor5-utils": "0.0.0-internal-20241017.0",
20
+ "ckeditor5": "0.0.0-internal-20241017.0"
21
+ },
22
+ "author": "CKSource (http://cksource.com/)",
23
+ "license": "GPL-2.0-or-later",
24
+ "homepage": "https://ckeditor.com/ckeditor-5",
25
+ "bugs": "https://github.com/ckeditor/ckeditor5/issues",
26
+ "repository": {
27
+ "type": "git",
28
+ "url": "https://github.com/ckeditor/ckeditor5.git",
29
+ "directory": "packages/ckeditor5-autoformat"
30
+ },
31
+ "files": [
32
+ "dist",
33
+ "lang",
34
+ "src/**/*.js",
35
+ "src/**/*.d.ts",
36
+ "theme",
37
+ "build",
38
+ "ckeditor5-metadata.json",
39
+ "CHANGELOG.md"
40
+ ],
41
+ "types": "src/index.d.ts"
42
+ }
@@ -0,0 +1,10 @@
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
+ import type { Autoformat } from './index.js';
6
+ declare module '@ckeditor/ckeditor5-core' {
7
+ interface PluginsMap {
8
+ [Autoformat.pluginName]: Autoformat;
9
+ }
10
+ }
@@ -0,0 +1,5 @@
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
+ export {};
@@ -0,0 +1,85 @@
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
+ import { Plugin } from 'ckeditor5/src/core.js';
6
+ import { Delete } from 'ckeditor5/src/typing.js';
7
+ /**
8
+ * Enables a set of predefined autoformatting actions.
9
+ *
10
+ * For a detailed overview, check the {@glink features/autoformat Autoformatting} feature guide
11
+ * and the {@glink api/autoformat package page}.
12
+ */
13
+ export default class Autoformat extends Plugin {
14
+ /**
15
+ * @inheritDoc
16
+ */
17
+ static get requires(): readonly [typeof Delete];
18
+ /**
19
+ * @inheritDoc
20
+ */
21
+ static get pluginName(): "Autoformat";
22
+ /**
23
+ * @inheritDoc
24
+ */
25
+ static get isOfficialPlugin(): true;
26
+ /**
27
+ * @inheritDoc
28
+ */
29
+ afterInit(): void;
30
+ /**
31
+ * Adds autoformatting related to the {@link module:list/list~List}.
32
+ *
33
+ * When typed:
34
+ * - `* ` or `- ` &ndash; A paragraph will be changed into a bulleted list.
35
+ * - `1. ` or `1) ` &ndash; A paragraph will be changed into a numbered list ("1" can be any digit or a list of digits).
36
+ * - `[] ` or `[ ] ` &ndash; A paragraph will be changed into a to-do list.
37
+ * - `[x] ` or `[ x ] ` &ndash; A paragraph will be changed into a checked to-do list.
38
+ */
39
+ private _addListAutoformats;
40
+ /**
41
+ * Adds autoformatting related to the {@link module:basic-styles/bold~Bold},
42
+ * {@link module:basic-styles/italic~Italic}, {@link module:basic-styles/code~Code}
43
+ * and {@link module:basic-styles/strikethrough~Strikethrough}
44
+ *
45
+ * When typed:
46
+ * - `**foobar**` &ndash; `**` characters are removed and `foobar` is set to bold,
47
+ * - `__foobar__` &ndash; `__` characters are removed and `foobar` is set to bold,
48
+ * - `*foobar*` &ndash; `*` characters are removed and `foobar` is set to italic,
49
+ * - `_foobar_` &ndash; `_` characters are removed and `foobar` is set to italic,
50
+ * - ``` `foobar` &ndash; ``` ` ``` characters are removed and `foobar` is set to code,
51
+ * - `~~foobar~~` &ndash; `~~` characters are removed and `foobar` is set to strikethrough.
52
+ */
53
+ private _addBasicStylesAutoformats;
54
+ /**
55
+ * Adds autoformatting related to {@link module:heading/heading~Heading}.
56
+ *
57
+ * It is using a number at the end of the command name to associate it with the proper trigger:
58
+ *
59
+ * * `heading` with a `heading1` value will be executed when typing `#`,
60
+ * * `heading` with a `heading2` value will be executed when typing `##`,
61
+ * * ... up to `heading6` for `######`.
62
+ */
63
+ private _addHeadingAutoformats;
64
+ /**
65
+ * Adds autoformatting related to {@link module:block-quote/blockquote~BlockQuote}.
66
+ *
67
+ * When typed:
68
+ * * `> ` &ndash; A paragraph will be changed to a block quote.
69
+ */
70
+ private _addBlockQuoteAutoformats;
71
+ /**
72
+ * Adds autoformatting related to {@link module:code-block/codeblock~CodeBlock}.
73
+ *
74
+ * When typed:
75
+ * - `` ``` `` &ndash; A paragraph will be changed to a code block.
76
+ */
77
+ private _addCodeBlockAutoformats;
78
+ /**
79
+ * Adds autoformatting related to {@link module:horizontal-line/horizontalline~HorizontalLine}.
80
+ *
81
+ * When typed:
82
+ * - `` --- `` &ndash; Will be replaced with a horizontal line.
83
+ */
84
+ private _addHorizontalLineAutoformats;
85
+ }