@atlaskit/editor-common 63.0.0 → 65.0.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 (248) hide show
  1. package/CHANGELOG.md +52 -0
  2. package/dist/cjs/i18n/cs.js +3 -3
  3. package/dist/cjs/i18n/da.js +3 -3
  4. package/dist/cjs/i18n/de.js +3 -3
  5. package/dist/cjs/i18n/en_ZZ.js +27 -0
  6. package/dist/cjs/i18n/es.js +3 -3
  7. package/dist/cjs/i18n/fi.js +3 -3
  8. package/dist/cjs/i18n/fr.js +3 -3
  9. package/dist/cjs/i18n/hu.js +3 -3
  10. package/dist/cjs/i18n/it.js +3 -3
  11. package/dist/cjs/i18n/ja.js +3 -3
  12. package/dist/cjs/i18n/ko.js +3 -3
  13. package/dist/cjs/i18n/nb.js +3 -3
  14. package/dist/cjs/i18n/nl.js +3 -3
  15. package/dist/cjs/i18n/pl.js +3 -3
  16. package/dist/cjs/i18n/pt_BR.js +3 -3
  17. package/dist/cjs/i18n/ru.js +3 -3
  18. package/dist/cjs/i18n/sv.js +3 -3
  19. package/dist/cjs/i18n/th.js +3 -3
  20. package/dist/cjs/i18n/tr.js +3 -3
  21. package/dist/cjs/i18n/uk.js +3 -3
  22. package/dist/cjs/i18n/vi.js +3 -3
  23. package/dist/cjs/i18n/zh.js +3 -2
  24. package/dist/cjs/i18n/zh_TW.js +3 -3
  25. package/dist/cjs/index.js +1 -29
  26. package/dist/cjs/safe-plugin/index.js +42 -0
  27. package/dist/cjs/styles/index.js +0 -8
  28. package/dist/cjs/styles/shared/annotation.js +25 -17
  29. package/dist/cjs/styles/shared/block-marks.js +2 -2
  30. package/dist/cjs/styles/shared/blockquote.js +2 -2
  31. package/dist/cjs/styles/shared/code-mark.js +9 -5
  32. package/dist/cjs/styles/shared/column-layout.js +2 -2
  33. package/dist/cjs/styles/shared/date.js +2 -2
  34. package/dist/cjs/styles/shared/headings.js +5 -2
  35. package/dist/cjs/styles/shared/indentation.js +2 -2
  36. package/dist/cjs/styles/shared/lists.js +4 -2
  37. package/dist/cjs/styles/shared/media-single.js +2 -2
  38. package/dist/cjs/styles/shared/paragraph.js +2 -2
  39. package/dist/cjs/styles/shared/shadow.js +2 -2
  40. package/dist/cjs/styles/shared/table.js +37 -33
  41. package/dist/cjs/styles/shared/task-decision.js +2 -2
  42. package/dist/cjs/styles/shared/text-color.js +2 -2
  43. package/dist/cjs/styles/shared/whitespace.js +2 -2
  44. package/dist/cjs/types/collab.js +5 -0
  45. package/dist/cjs/ui/BaseTheme/index.js +27 -11
  46. package/dist/cjs/ui/Caption/index.js +10 -7
  47. package/dist/cjs/ui/MediaSingle/index.js +3 -1
  48. package/dist/cjs/ui/MediaSingle/link.js +4 -6
  49. package/dist/cjs/ui/Mention/index.js +1 -3
  50. package/dist/cjs/ui/Mention/mention-with-profilecard.js +33 -194
  51. package/dist/cjs/ui/Mention/mention-with-providers.js +1 -5
  52. package/dist/cjs/ui/Messages/index.js +25 -22
  53. package/dist/cjs/ui/UnsupportedBlock/index.js +9 -6
  54. package/dist/cjs/ui/UnsupportedInline/index.js +8 -6
  55. package/dist/cjs/ui/WidthProvider/index.js +8 -9
  56. package/dist/cjs/ui/clear-next-sibling-margin-top.js +4 -5
  57. package/dist/cjs/ui/index.js +12 -12
  58. package/dist/cjs/utils/browser.js +1 -1
  59. package/dist/cjs/version.json +1 -1
  60. package/dist/es2019/i18n/cs.js +3 -3
  61. package/dist/es2019/i18n/da.js +3 -3
  62. package/dist/es2019/i18n/de.js +3 -3
  63. package/dist/es2019/i18n/en_ZZ.js +19 -0
  64. package/dist/es2019/i18n/es.js +3 -3
  65. package/dist/es2019/i18n/fi.js +3 -3
  66. package/dist/es2019/i18n/fr.js +3 -3
  67. package/dist/es2019/i18n/hu.js +3 -3
  68. package/dist/es2019/i18n/it.js +3 -3
  69. package/dist/es2019/i18n/ja.js +3 -3
  70. package/dist/es2019/i18n/ko.js +3 -3
  71. package/dist/es2019/i18n/nb.js +3 -3
  72. package/dist/es2019/i18n/nl.js +3 -3
  73. package/dist/es2019/i18n/pl.js +3 -3
  74. package/dist/es2019/i18n/pt_BR.js +3 -3
  75. package/dist/es2019/i18n/ru.js +3 -3
  76. package/dist/es2019/i18n/sv.js +3 -3
  77. package/dist/es2019/i18n/th.js +3 -3
  78. package/dist/es2019/i18n/tr.js +3 -3
  79. package/dist/es2019/i18n/uk.js +3 -3
  80. package/dist/es2019/i18n/vi.js +3 -3
  81. package/dist/es2019/i18n/zh.js +3 -2
  82. package/dist/es2019/i18n/zh_TW.js +3 -3
  83. package/dist/es2019/index.js +2 -7
  84. package/dist/es2019/safe-plugin/index.js +10 -0
  85. package/dist/es2019/styles/index.js +0 -1
  86. package/dist/es2019/styles/shared/annotation.js +11 -11
  87. package/dist/es2019/styles/shared/block-marks.js +3 -2
  88. package/dist/es2019/styles/shared/blockquote.js +1 -1
  89. package/dist/es2019/styles/shared/code-mark.js +14 -11
  90. package/dist/es2019/styles/shared/column-layout.js +1 -1
  91. package/dist/es2019/styles/shared/date.js +1 -1
  92. package/dist/es2019/styles/shared/headings.js +8 -8
  93. package/dist/es2019/styles/shared/indentation.js +1 -1
  94. package/dist/es2019/styles/shared/lists.js +17 -1
  95. package/dist/es2019/styles/shared/media-single.js +1 -1
  96. package/dist/es2019/styles/shared/paragraph.js +1 -1
  97. package/dist/es2019/styles/shared/shadow.js +1 -1
  98. package/dist/es2019/styles/shared/table.js +14 -12
  99. package/dist/es2019/styles/shared/task-decision.js +1 -1
  100. package/dist/es2019/styles/shared/text-color.js +1 -1
  101. package/dist/es2019/styles/shared/whitespace.js +1 -1
  102. package/dist/es2019/types/collab.js +1 -0
  103. package/dist/es2019/ui/BaseTheme/index.js +16 -5
  104. package/dist/es2019/ui/Caption/index.js +11 -5
  105. package/dist/es2019/ui/MediaSingle/index.js +3 -1
  106. package/dist/es2019/ui/MediaSingle/link.js +3 -4
  107. package/dist/es2019/ui/Mention/index.js +1 -3
  108. package/dist/es2019/ui/Mention/mention-with-profilecard.js +33 -146
  109. package/dist/es2019/ui/Mention/mention-with-providers.js +1 -5
  110. package/dist/es2019/ui/Messages/index.js +30 -22
  111. package/dist/es2019/ui/UnsupportedBlock/index.js +9 -5
  112. package/dist/es2019/ui/UnsupportedInline/index.js +8 -5
  113. package/dist/es2019/ui/WidthProvider/index.js +10 -8
  114. package/dist/es2019/ui/clear-next-sibling-margin-top.js +2 -2
  115. package/dist/es2019/ui/index.js +2 -2
  116. package/dist/es2019/utils/browser.js +1 -1
  117. package/dist/es2019/version.json +1 -1
  118. package/dist/esm/i18n/cs.js +3 -3
  119. package/dist/esm/i18n/da.js +3 -3
  120. package/dist/esm/i18n/de.js +3 -3
  121. package/dist/esm/i18n/en_ZZ.js +19 -0
  122. package/dist/esm/i18n/es.js +3 -3
  123. package/dist/esm/i18n/fi.js +3 -3
  124. package/dist/esm/i18n/fr.js +3 -3
  125. package/dist/esm/i18n/hu.js +3 -3
  126. package/dist/esm/i18n/it.js +3 -3
  127. package/dist/esm/i18n/ja.js +3 -3
  128. package/dist/esm/i18n/ko.js +3 -3
  129. package/dist/esm/i18n/nb.js +3 -3
  130. package/dist/esm/i18n/nl.js +3 -3
  131. package/dist/esm/i18n/pl.js +3 -3
  132. package/dist/esm/i18n/pt_BR.js +3 -3
  133. package/dist/esm/i18n/ru.js +3 -3
  134. package/dist/esm/i18n/sv.js +3 -3
  135. package/dist/esm/i18n/th.js +3 -3
  136. package/dist/esm/i18n/tr.js +3 -3
  137. package/dist/esm/i18n/uk.js +3 -3
  138. package/dist/esm/i18n/vi.js +3 -3
  139. package/dist/esm/i18n/zh.js +3 -2
  140. package/dist/esm/i18n/zh_TW.js +3 -3
  141. package/dist/esm/index.js +2 -7
  142. package/dist/esm/safe-plugin/index.js +27 -0
  143. package/dist/esm/styles/index.js +0 -1
  144. package/dist/esm/styles/shared/annotation.js +21 -17
  145. package/dist/esm/styles/shared/block-marks.js +2 -2
  146. package/dist/esm/styles/shared/blockquote.js +1 -1
  147. package/dist/esm/styles/shared/code-mark.js +9 -6
  148. package/dist/esm/styles/shared/column-layout.js +1 -1
  149. package/dist/esm/styles/shared/date.js +1 -1
  150. package/dist/esm/styles/shared/headings.js +4 -2
  151. package/dist/esm/styles/shared/indentation.js +1 -1
  152. package/dist/esm/styles/shared/lists.js +3 -2
  153. package/dist/esm/styles/shared/media-single.js +1 -1
  154. package/dist/esm/styles/shared/paragraph.js +1 -1
  155. package/dist/esm/styles/shared/shadow.js +1 -1
  156. package/dist/esm/styles/shared/table.js +37 -33
  157. package/dist/esm/styles/shared/task-decision.js +1 -1
  158. package/dist/esm/styles/shared/text-color.js +1 -1
  159. package/dist/esm/styles/shared/whitespace.js +1 -1
  160. package/dist/esm/types/collab.js +1 -0
  161. package/dist/esm/ui/BaseTheme/index.js +23 -12
  162. package/dist/esm/ui/Caption/index.js +10 -5
  163. package/dist/esm/ui/MediaSingle/index.js +3 -1
  164. package/dist/esm/ui/MediaSingle/link.js +2 -3
  165. package/dist/esm/ui/Mention/index.js +1 -3
  166. package/dist/esm/ui/Mention/mention-with-profilecard.js +33 -189
  167. package/dist/esm/ui/Mention/mention-with-providers.js +1 -5
  168. package/dist/esm/ui/Messages/index.js +26 -20
  169. package/dist/esm/ui/UnsupportedBlock/index.js +9 -5
  170. package/dist/esm/ui/UnsupportedInline/index.js +8 -5
  171. package/dist/esm/ui/WidthProvider/index.js +7 -6
  172. package/dist/esm/ui/clear-next-sibling-margin-top.js +2 -2
  173. package/dist/esm/ui/index.js +2 -2
  174. package/dist/esm/utils/browser.js +1 -1
  175. package/dist/esm/version.json +1 -1
  176. package/dist/types/__tests_external__/page-objects/Editor.d.ts +0 -1
  177. package/dist/types/__tests_external__/page-objects/EditorMedia.d.ts +0 -1
  178. package/dist/types/__tests_external__/page-objects/EditorSmartLink.d.ts +0 -1
  179. package/dist/types/__tests_external__/page-objects/Renderer.d.ts +0 -1
  180. package/dist/types/collab/types.d.ts +14 -2
  181. package/dist/types/collab.d.ts +1 -1
  182. package/dist/types/i18n/cs.d.ts +2 -2
  183. package/dist/types/i18n/da.d.ts +2 -2
  184. package/dist/types/i18n/de.d.ts +2 -2
  185. package/dist/types/i18n/en_ZZ.d.ts +19 -0
  186. package/dist/types/i18n/es.d.ts +2 -2
  187. package/dist/types/i18n/fi.d.ts +2 -2
  188. package/dist/types/i18n/fr.d.ts +2 -2
  189. package/dist/types/i18n/hu.d.ts +2 -2
  190. package/dist/types/i18n/it.d.ts +2 -2
  191. package/dist/types/i18n/ja.d.ts +2 -2
  192. package/dist/types/i18n/ko.d.ts +2 -2
  193. package/dist/types/i18n/nb.d.ts +2 -2
  194. package/dist/types/i18n/nl.d.ts +2 -2
  195. package/dist/types/i18n/pl.d.ts +2 -2
  196. package/dist/types/i18n/pt_BR.d.ts +2 -2
  197. package/dist/types/i18n/ru.d.ts +2 -2
  198. package/dist/types/i18n/sv.d.ts +2 -2
  199. package/dist/types/i18n/th.d.ts +2 -2
  200. package/dist/types/i18n/tr.d.ts +2 -2
  201. package/dist/types/i18n/uk.d.ts +2 -2
  202. package/dist/types/i18n/vi.d.ts +2 -2
  203. package/dist/types/i18n/zh.d.ts +2 -2
  204. package/dist/types/i18n/zh_TW.d.ts +2 -2
  205. package/dist/types/index.d.ts +1 -14
  206. package/dist/types/safe-plugin/index.d.ts +6 -0
  207. package/dist/types/styles/index.d.ts +0 -1
  208. package/dist/types/styles/shared/annotation.d.ts +5 -4
  209. package/dist/types/styles/shared/block-marks.d.ts +1 -1
  210. package/dist/types/styles/shared/blockquote.d.ts +1 -1
  211. package/dist/types/styles/shared/code-mark.d.ts +2 -1
  212. package/dist/types/styles/shared/column-layout.d.ts +1 -1
  213. package/dist/types/styles/shared/date.d.ts +1 -1
  214. package/dist/types/styles/shared/headings.d.ts +2 -1
  215. package/dist/types/styles/shared/indentation.d.ts +1 -1
  216. package/dist/types/styles/shared/lists.d.ts +1 -1
  217. package/dist/types/styles/shared/media-single.d.ts +1 -1
  218. package/dist/types/styles/shared/panel.d.ts +1 -1
  219. package/dist/types/styles/shared/paragraph.d.ts +1 -1
  220. package/dist/types/styles/shared/rule.d.ts +1 -1
  221. package/dist/types/styles/shared/shadow.d.ts +1 -1
  222. package/dist/types/styles/shared/table.d.ts +2 -1
  223. package/dist/types/styles/shared/task-decision.d.ts +1 -1
  224. package/dist/types/styles/shared/text-color.d.ts +1 -1
  225. package/dist/types/styles/shared/whitespace.d.ts +1 -1
  226. package/dist/types/types/collab.d.ts +8 -0
  227. package/dist/types/types/index.d.ts +1 -0
  228. package/dist/types/ui/Caption/index.d.ts +3 -1
  229. package/dist/types/ui/Expand/index.d.ts +2 -2
  230. package/dist/types/ui/MediaSingle/index.d.ts +2 -1
  231. package/dist/types/ui/MediaSingle/link.d.ts +1 -2
  232. package/dist/types/ui/MediaSingle/styled.d.ts +2 -2
  233. package/dist/types/ui/Mention/index.d.ts +0 -3
  234. package/dist/types/ui/Mention/mention-with-profilecard.d.ts +2 -25
  235. package/dist/types/ui/Mention/mention-with-providers.d.ts +0 -3
  236. package/dist/types/ui/Messages/index.d.ts +5 -3
  237. package/dist/types/ui/UnsupportedBlock/index.d.ts +1 -0
  238. package/dist/types/ui/UnsupportedInline/index.d.ts +1 -0
  239. package/dist/types/ui/WidthProvider/index.d.ts +3 -1
  240. package/dist/types/ui/clear-next-sibling-margin-top.d.ts +1 -2
  241. package/dist/types/ui/index.d.ts +3 -3
  242. package/dist/types/utils/getModeFromTheme.d.ts +1 -1
  243. package/package.json +18 -16
  244. package/safe-plugin/package.json +7 -0
  245. package/dist/cjs/styles/shared/inline-nodes.js +0 -17
  246. package/dist/es2019/styles/shared/inline-nodes.js +0 -7
  247. package/dist/esm/styles/shared/inline-nodes.js +0 -7
  248. package/dist/types/styles/shared/inline-nodes.d.ts +0 -2
package/CHANGELOG.md CHANGED
@@ -1,5 +1,57 @@
1
1
  # @atlaskit/editor-common
2
2
 
3
+ ## 65.0.0
4
+
5
+ ### Major Changes
6
+
7
+ - [`09453a633c9`](https://bitbucket.org/atlassian/atlassian-frontend/commits/09453a633c9) - Removed root entry point file of editor-common. Consumers is now forced to use child entry points.
8
+
9
+ ### Minor Changes
10
+
11
+ - [`9712e78abb0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9712e78abb0) - ED-14255 moved some usages of editor-shared-styles to emotion
12
+
13
+ ### Patch Changes
14
+
15
+ - [`d0eed99c3e3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d0eed99c3e3) - ED-14264 Moved styles to emotion css
16
+ - [`f9a144c5a71`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f9a144c5a71) - ED-14255 migrated table styles to use emotion
17
+ - [`bb6f3bd5c95`](https://bitbucket.org/atlassian/atlassian-frontend/commits/bb6f3bd5c95) - ED-14290 add ThemeProviders for emotion
18
+ - [`3fcadf8ab52`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3fcadf8ab52) - ED-14263 migrate editor common styled usagese to emotion
19
+ - [`d0dff8da956`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d0dff8da956) - [ED-14514] In NCS backed editor wait for media uploads to complete before getting the final acknowledged state in getResolvedEditorState EditorAction. Fixes from ED-14588 were also copied over and a fix on media uploads in the collaborative-editing atlaskit example.
20
+ ResolvedEditorState type updated for compatability with synchrony code.
21
+ - Updated dependencies
22
+
23
+ ## 64.0.0
24
+
25
+ ### Major Changes
26
+
27
+ - [`b32b7a39a70`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b32b7a39a70) - CETI-166 Increase the standard panel icons size to make it consistent with the emojis in the panel content area
28
+
29
+ ### Minor Changes
30
+
31
+ - [`4e234e7fe93`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4e234e7fe93) - CETI-240 handle add custom emoji in floating toolbar
32
+ - [`5293a48368e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5293a48368e) - fix image size in layout with ref and width observer
33
+ - [`304351e4b1e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/304351e4b1e) - CETI-241 - Added additional panel ADF attributes (panelIconId, panelIconText) to uniquely identify custom panel emojis. The change has been categorised as major since it is a change to the full-schema ADF. However, the custom panel feature is behind a feature flag, has not yet been released to production, and is only currently planned for release to Confluence. See ADF change #61 for further details.
34
+ - [`9c9557fcdd8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9c9557fcdd8) - AK-279 Moved copy button outside of heading, that made heading accessible
35
+ - [`172ccc62c2a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/172ccc62c2a) - ED-14117 Export SafePlugin definition in new entry point
36
+
37
+ ### Patch Changes
38
+
39
+ - [`97412280671`](https://bitbucket.org/atlassian/atlassian-frontend/commits/97412280671) - [ED-13939] Add analytics event to track "can't syncup with collab service" error
40
+ - [`88ada10af2c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/88ada10af2c) - [ED-14097] Moved getFinalAcknowledgedState control to editor and made the API public
41
+ - [`85648c038a4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/85648c038a4) - ED-13939 Rename newCollabSyncUpError analytics event to newCollabSyncUpErrorNoSteps
42
+ - [`8f0bfd2b1ef`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8f0bfd2b1ef) - Use ProfileCardTrigger to display profile card popup instead of custom popup implementation
43
+ - [`16294b02fd4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/16294b02fd4) - CETI-242 Change the Color palette labels for panel
44
+ - [`86c3cb500c1`](https://bitbucket.org/atlassian/atlassian-frontend/commits/86c3cb500c1) - Placeholder not rendering properly in firefox when empty issue fixed.
45
+ - [`78c6a40ef5e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/78c6a40ef5e) - [ED-13118] Removing dead workaround code that causes tapping after a bullet item with a smart link to select the smart link
46
+ - [`e292f108d4b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e292f108d4b) - Ensure metadata is persisted when it is updated by another participant during an editing session
47
+ - Updated dependencies
48
+
49
+ ## 63.0.1
50
+
51
+ ### Patch Changes
52
+
53
+ - [`b921ec55066`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b921ec55066) - Fix chrome version parsing logic to accept 3 digits instead of just 2
54
+
3
55
  ## 63.0.0
4
56
 
5
57
  ### Major Changes
@@ -8,13 +8,13 @@ exports.default = void 0;
8
8
  /**
9
9
  * NOTE:
10
10
  *
11
- * This file is automatically generated by i18n-tools.
11
+ * This file is automatically generated by Traduki 2.0.
12
12
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
13
13
  */
14
- // Czech
14
+ //Czech
15
15
  var _default = {
16
- 'fabric.editor.codeBidiWarningLabel': 'Obousměrné znaky mění pořadí vykreslování textu. Může to být použito k zakrytí škodlivého kódu.',
17
16
  'fabric.editor.captionPlaceholder': 'Přidejte popisek',
17
+ 'fabric.editor.codeBidiWarningLabel': 'Obousměrné znaky mění pořadí vykreslování textu. Může to být použito k zakrytí škodlivého kódu.',
18
18
  'fabric.editor.collapseNode': 'Sbalit obsah',
19
19
  'fabric.editor.expandDefaultTitle': 'Klikněte sem pro rozbalení...',
20
20
  'fabric.editor.expandNode': 'Rozbalit obsah',
@@ -8,13 +8,13 @@ exports.default = void 0;
8
8
  /**
9
9
  * NOTE:
10
10
  *
11
- * This file is automatically generated by i18n-tools.
11
+ * This file is automatically generated by Traduki 2.0.
12
12
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
13
13
  */
14
- // Danish
14
+ //Danish (Denmark)
15
15
  var _default = {
16
- 'fabric.editor.codeBidiWarningLabel': 'Tegn med tovejsfunktionalitet ændrer rækkefølgen, som teksten er gengivet i. Dette kan udnyttes til at skjule skadelig kode.',
17
16
  'fabric.editor.captionPlaceholder': 'Tilføj en billedtekst',
17
+ 'fabric.editor.codeBidiWarningLabel': 'Tegn med tovejsfunktionalitet ændrer rækkefølgen, som teksten er gengivet i. Dette kan udnyttes til at skjule skadelig kode.',
18
18
  'fabric.editor.collapseNode': 'skjul indhold',
19
19
  'fabric.editor.expandDefaultTitle': 'Klik her for at udvide...',
20
20
  'fabric.editor.expandNode': 'Udvid indhold',
@@ -8,13 +8,13 @@ exports.default = void 0;
8
8
  /**
9
9
  * NOTE:
10
10
  *
11
- * This file is automatically generated by i18n-tools.
11
+ * This file is automatically generated by Traduki 2.0.
12
12
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
13
13
  */
14
- // German
14
+ //German (Germany)
15
15
  var _default = {
16
- 'fabric.editor.codeBidiWarningLabel': 'Bidirektionale Zeichen ändern die Reihenfolge, in der Text gerendert wird. Dies könnte verwendet werden, um bösartigen Code zu verbergen.',
17
16
  'fabric.editor.captionPlaceholder': 'Eine Bildunterschrift hinzufügen',
17
+ 'fabric.editor.codeBidiWarningLabel': 'Bidirektionale Zeichen ändern die Reihenfolge, in der Text gerendert wird. Dies könnte verwendet werden, um bösartigen Code zu verbergen.',
18
18
  'fabric.editor.collapseNode': 'Inhaltsanzeige reduzieren',
19
19
  'fabric.editor.expandDefaultTitle': 'Klicken Sie hier, um zu erweitern …',
20
20
  'fabric.editor.expandNode': 'Inhaltsanzeige erweitern',
@@ -0,0 +1,27 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = void 0;
7
+
8
+ /**
9
+ * NOTE:
10
+ *
11
+ * This file is automatically generated by Traduki 2.0.
12
+ * DO NOT CHANGE IT BY HAND or your changes will be lost.
13
+ */
14
+ //
15
+ var _default = {
16
+ 'fabric.editor.captionPlaceholder': '⁣⁢Add a caption؜‌‍‌‌‌‌‍⁠‍⁣⁤',
17
+ 'fabric.editor.codeBidiWarningLabel': '⁣⁢Bidirectional characters change the order that text is rendered. This could be used to obscure malicious code.‌⁡؜‍⁠⁠‌؜‌⁣⁤',
18
+ 'fabric.editor.collapseNode': '⁣⁢Collapse content‍⁡‌⁠؜‍‍‌؜⁠‌⁡‍⁡‌⁣⁤',
19
+ 'fabric.editor.expandDefaultTitle': '⁣⁢Click here to expand...‍؜‍⁡‍‍؜⁡⁠‌⁡؜⁣⁤',
20
+ 'fabric.editor.expandNode': '⁣⁢Expand content⁡⁠⁠؜‍⁠؜‍‌؜؜⁡⁣⁤',
21
+ 'fabric.editor.expandPlaceholder': '⁣⁢Give this expand a title...؜⁠⁡‍؜؜؜⁡⁣⁤',
22
+ 'fabric.editor.openLink': '⁣⁢Open link in a new tab⁠⁡⁡‌‍‌⁠‌‌⁡⁡⁣⁤',
23
+ 'fabric.editor.unsupportedBlockContent': '⁣⁢This editor does not support displaying this content؜‍؜⁡‍؜‌؜⁡⁣⁤',
24
+ 'fabric.editor.unsupportedContentTooltip': '⁣⁢Content is not available in this editor, this will be preserved when you edit and save⁠‌‌؜‍‌‌⁡؜‍⁠‍⁡⁣⁤',
25
+ 'fabric.editor.unsupportedInlineContent': '⁣⁢Unsupported content⁠‍⁡؜⁠⁠⁣⁤'
26
+ };
27
+ exports.default = _default;
@@ -8,13 +8,13 @@ exports.default = void 0;
8
8
  /**
9
9
  * NOTE:
10
10
  *
11
- * This file is automatically generated by i18n-tools.
11
+ * This file is automatically generated by Traduki 2.0.
12
12
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
13
13
  */
14
- // Spanish
14
+ //Spanish (International)
15
15
  var _default = {
16
- 'fabric.editor.codeBidiWarningLabel': 'Los caracteres bidireccionales cambian el orden de renderización del texto. Esto podría utilizarse para ocultar código malicioso.',
17
16
  'fabric.editor.captionPlaceholder': 'Añadir un subtítulo',
17
+ 'fabric.editor.codeBidiWarningLabel': 'Los caracteres bidireccionales cambian el orden de renderización del texto. Esto podría utilizarse para ocultar código malicioso.',
18
18
  'fabric.editor.collapseNode': 'contraer contenido',
19
19
  'fabric.editor.expandDefaultTitle': 'Haz clic aquí para ampliar...',
20
20
  'fabric.editor.expandNode': 'Ampliar contenido',
@@ -8,13 +8,13 @@ exports.default = void 0;
8
8
  /**
9
9
  * NOTE:
10
10
  *
11
- * This file is automatically generated by i18n-tools.
11
+ * This file is automatically generated by Traduki 2.0.
12
12
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
13
13
  */
14
- // Finnish
14
+ //Finnish
15
15
  var _default = {
16
- 'fabric.editor.codeBidiWarningLabel': 'Kaksisuuntaiset merkit muuttavat tekstin renderöintijärjestystä. Tätä voidaan hyödyntää haitallisen koodin peittämisessä.',
17
16
  'fabric.editor.captionPlaceholder': 'Lisää kuvateksti',
17
+ 'fabric.editor.codeBidiWarningLabel': 'Kaksisuuntaiset merkit muuttavat tekstin renderöintijärjestystä. Tätä voidaan hyödyntää haitallisen koodin peittämisessä.',
18
18
  'fabric.editor.collapseNode': 'piilota sisältö',
19
19
  'fabric.editor.expandDefaultTitle': 'Klikkaa tähän laajentaaksesi...',
20
20
  'fabric.editor.expandNode': 'Laajenna sisältöä',
@@ -8,13 +8,13 @@ exports.default = void 0;
8
8
  /**
9
9
  * NOTE:
10
10
  *
11
- * This file is automatically generated by i18n-tools.
11
+ * This file is automatically generated by Traduki 2.0.
12
12
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
13
13
  */
14
- // French
14
+ //French (France)
15
15
  var _default = {
16
- 'fabric.editor.codeBidiWarningLabel': "Les caractères bidirectionnels changent l'ordre de rendu du texte. Ils peuvent être utilisés pour masquer du code malveillant.",
17
16
  'fabric.editor.captionPlaceholder': 'Ajouter une légende',
17
+ 'fabric.editor.codeBidiWarningLabel': "Les caractères bidirectionnels changent l'ordre de rendu du texte. Ils peuvent être utilisés pour masquer du code malveillant.",
18
18
  'fabric.editor.collapseNode': 'Réduire le contenu',
19
19
  'fabric.editor.expandDefaultTitle': 'Cliquez ici pour développer...',
20
20
  'fabric.editor.expandNode': 'Développer le contenu',
@@ -8,13 +8,13 @@ exports.default = void 0;
8
8
  /**
9
9
  * NOTE:
10
10
  *
11
- * This file is automatically generated by i18n-tools.
11
+ * This file is automatically generated by Traduki 2.0.
12
12
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
13
13
  */
14
- // Hungarian
14
+ //Hungarian
15
15
  var _default = {
16
- 'fabric.editor.codeBidiWarningLabel': 'A kétirányú karakterek megváltoztatják a szöveg renderelési sorrendjét. Ez felhasználható rosszindulatú kód elfedésére.',
17
16
  'fabric.editor.captionPlaceholder': 'Képaláírás hozzáadása',
17
+ 'fabric.editor.codeBidiWarningLabel': 'A kétirányú karakterek megváltoztatják a szöveg renderelési sorrendjét. Ez felhasználható rosszindulatú kód elfedésére.',
18
18
  'fabric.editor.collapseNode': 'tartalom összecsukása',
19
19
  'fabric.editor.expandDefaultTitle': 'Kattints ide a kibontáshoz…',
20
20
  'fabric.editor.expandNode': 'Tartalom kibontása',
@@ -8,13 +8,13 @@ exports.default = void 0;
8
8
  /**
9
9
  * NOTE:
10
10
  *
11
- * This file is automatically generated by i18n-tools.
11
+ * This file is automatically generated by Traduki 2.0.
12
12
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
13
13
  */
14
- // Italian
14
+ //Italian (Italy)
15
15
  var _default = {
16
- 'fabric.editor.codeBidiWarningLabel': "I caratteri bidirezionali modificano l'ordine in cui è visualizzato il testo. Possono essere utilizzati per nascondere un codice dannoso.",
17
16
  'fabric.editor.captionPlaceholder': 'Aggiungi didascalia',
17
+ 'fabric.editor.codeBidiWarningLabel': "I caratteri bidirezionali modificano l'ordine in cui è visualizzato il testo. Possono essere utilizzati per nascondere un codice dannoso.",
18
18
  'fabric.editor.collapseNode': 'Comprimi contenuto',
19
19
  'fabric.editor.expandDefaultTitle': 'Clicca qui per espandere...',
20
20
  'fabric.editor.expandNode': 'Espandi contenuto',
@@ -8,13 +8,13 @@ exports.default = void 0;
8
8
  /**
9
9
  * NOTE:
10
10
  *
11
- * This file is automatically generated by i18n-tools.
11
+ * This file is automatically generated by Traduki 2.0.
12
12
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
13
13
  */
14
- // Japanese
14
+ //Japanese
15
15
  var _default = {
16
- 'fabric.editor.codeBidiWarningLabel': '双方向文字はテキストのレンダリング順序を変更します。このため、悪意あるコードを隠すために使用される場合があります。',
17
16
  'fabric.editor.captionPlaceholder': 'キャプションを追加',
17
+ 'fabric.editor.codeBidiWarningLabel': '双方向文字はテキストのレンダリング順序を変更します。このため、悪意のあるコードを隠すために使用される場合があります。',
18
18
  'fabric.editor.collapseNode': 'コンテンツを折りたたむ',
19
19
  'fabric.editor.expandDefaultTitle': 'こちらをクリックして展開…',
20
20
  'fabric.editor.expandNode': 'コンテンツを展開',
@@ -8,13 +8,13 @@ exports.default = void 0;
8
8
  /**
9
9
  * NOTE:
10
10
  *
11
- * This file is automatically generated by i18n-tools.
11
+ * This file is automatically generated by Traduki 2.0.
12
12
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
13
13
  */
14
- // Korean
14
+ //Korean
15
15
  var _default = {
16
- 'fabric.editor.codeBidiWarningLabel': '양방향 문자가 텍스트가 렌더링되는 순서를 변경합니다. 악성 코드를 가리는 데 사용할 수 있습니다.',
17
16
  'fabric.editor.captionPlaceholder': '캡션 추가',
17
+ 'fabric.editor.codeBidiWarningLabel': '양방향 문자가 텍스트가 렌더링되는 순서를 변경합니다. 악성 코드를 가리는 데 사용할 수 있습니다.',
18
18
  'fabric.editor.collapseNode': '콘텐츠 접기',
19
19
  'fabric.editor.expandDefaultTitle': '여기를 클릭하여 펼치기...',
20
20
  'fabric.editor.expandNode': '콘텐츠 펼치기',
@@ -8,13 +8,13 @@ exports.default = void 0;
8
8
  /**
9
9
  * NOTE:
10
10
  *
11
- * This file is automatically generated by i18n-tools.
11
+ * This file is automatically generated by Traduki 2.0.
12
12
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
13
13
  */
14
- // Norwegian Bokmål
14
+ //Norwegian (Bokmål)
15
15
  var _default = {
16
- 'fabric.editor.codeBidiWarningLabel': 'Toveistegn endrer rekkefølgen som tekst vises i. Dette kan brukes til å skjule skadelig kode.',
17
16
  'fabric.editor.captionPlaceholder': 'Legg til bildetekst',
17
+ 'fabric.editor.codeBidiWarningLabel': 'Toveistegn endrer rekkefølgen som tekst vises i. Dette kan brukes til å skjule skadelig kode.',
18
18
  'fabric.editor.collapseNode': 'Minimer innhold',
19
19
  'fabric.editor.expandDefaultTitle': 'Klikk her for å utvide …',
20
20
  'fabric.editor.expandNode': 'Utvid innhold',
@@ -8,13 +8,13 @@ exports.default = void 0;
8
8
  /**
9
9
  * NOTE:
10
10
  *
11
- * This file is automatically generated by i18n-tools.
11
+ * This file is automatically generated by Traduki 2.0.
12
12
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
13
13
  */
14
- // Dutch
14
+ //Dutch (Netherlands)
15
15
  var _default = {
16
- 'fabric.editor.codeBidiWarningLabel': 'Bidirectionele tekens wijzigen de volgorde waarin de tekst wordt weergegeven. Dit kan worden gebruikt om schadelijke code te verdoezelen.',
17
16
  'fabric.editor.captionPlaceholder': 'Bijschrift toevoegen',
17
+ 'fabric.editor.codeBidiWarningLabel': 'Bidirectionele tekens wijzigen de volgorde waarin de tekst wordt weergegeven. Dit kan worden gebruikt om schadelijke code te verdoezelen.',
18
18
  'fabric.editor.collapseNode': 'Content inklappen',
19
19
  'fabric.editor.expandDefaultTitle': 'Klik hier om uit te breiden...',
20
20
  'fabric.editor.expandNode': 'Content uitbreiden',
@@ -8,13 +8,13 @@ exports.default = void 0;
8
8
  /**
9
9
  * NOTE:
10
10
  *
11
- * This file is automatically generated by i18n-tools.
11
+ * This file is automatically generated by Traduki 2.0.
12
12
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
13
13
  */
14
- // Polish
14
+ //Polish (Poland)
15
15
  var _default = {
16
- 'fabric.editor.codeBidiWarningLabel': 'Znaki dwukierunkowe zmieniają kolejność, w jakiej tekst jest renderowany. Może to zostać wykorzystane do ukrycia złośliwego kodu.',
17
16
  'fabric.editor.captionPlaceholder': 'Dodaj podpis',
17
+ 'fabric.editor.codeBidiWarningLabel': 'Znaki dwukierunkowe zmieniają kolejność, w jakiej tekst jest renderowany. Może to zostać wykorzystane do ukrycia złośliwego kodu.',
18
18
  'fabric.editor.collapseNode': 'Zwiń zawartość',
19
19
  'fabric.editor.expandDefaultTitle': 'Kliknij tutaj, aby rozwinąć...',
20
20
  'fabric.editor.expandNode': 'Rozwiń zawartość',
@@ -8,13 +8,13 @@ exports.default = void 0;
8
8
  /**
9
9
  * NOTE:
10
10
  *
11
- * This file is automatically generated by i18n-tools.
11
+ * This file is automatically generated by Traduki 2.0.
12
12
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
13
13
  */
14
- // Portuguese (Brazil)
14
+ //Portuguese (Brazil)
15
15
  var _default = {
16
- 'fabric.editor.codeBidiWarningLabel': 'Caracteres bidirecionais alteram a ordem em que o texto é renderizado. Eles podem ser usados para ocultar códigos mal-intencionados.',
17
16
  'fabric.editor.captionPlaceholder': 'Adicionar legenda',
17
+ 'fabric.editor.codeBidiWarningLabel': 'Caracteres bidirecionais alteram a ordem em que o texto é renderizado. Eles podem ser usados para ocultar códigos mal-intencionados.',
18
18
  'fabric.editor.collapseNode': 'Recolher conteúdo',
19
19
  'fabric.editor.expandDefaultTitle': 'Clique aqui para expandir...',
20
20
  'fabric.editor.expandNode': 'Expandir conteúdo',
@@ -8,13 +8,13 @@ exports.default = void 0;
8
8
  /**
9
9
  * NOTE:
10
10
  *
11
- * This file is automatically generated by i18n-tools.
11
+ * This file is automatically generated by Traduki 2.0.
12
12
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
13
13
  */
14
- // Russian
14
+ //Russian
15
15
  var _default = {
16
- 'fabric.editor.codeBidiWarningLabel': 'Двунаправленные символы изменяют порядок отображения текста. Они могут использоваться для маскировки вредоносного кода.',
17
16
  'fabric.editor.captionPlaceholder': 'Добавьте подпись',
17
+ 'fabric.editor.codeBidiWarningLabel': 'Двунаправленные символы изменяют порядок отображения текста. Они могут использоваться для маскировки вредоносного кода.',
18
18
  'fabric.editor.collapseNode': 'Свернуть содержимое',
19
19
  'fabric.editor.expandDefaultTitle': 'Нажмите здесь, чтобы развернуть…',
20
20
  'fabric.editor.expandNode': 'Разверните содержимое',
@@ -8,13 +8,13 @@ exports.default = void 0;
8
8
  /**
9
9
  * NOTE:
10
10
  *
11
- * This file is automatically generated by i18n-tools.
11
+ * This file is automatically generated by Traduki 2.0.
12
12
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
13
13
  */
14
- // Swedish
14
+ //Swedish
15
15
  var _default = {
16
- 'fabric.editor.codeBidiWarningLabel': 'Dubbelriktade tecken ändrar återgivningsordningen för text. Detta kan användas för att dölja skadlig kod.',
17
16
  'fabric.editor.captionPlaceholder': 'Lägg till en bildtext',
17
+ 'fabric.editor.codeBidiWarningLabel': 'Dubbelriktade tecken ändrar återgivningsordningen för text. Detta kan användas för att dölja skadlig kod.',
18
18
  'fabric.editor.collapseNode': 'komprimera innehåll',
19
19
  'fabric.editor.expandDefaultTitle': 'Klicka här för att expandera ...',
20
20
  'fabric.editor.expandNode': 'Expandera innehåll',
@@ -8,13 +8,13 @@ exports.default = void 0;
8
8
  /**
9
9
  * NOTE:
10
10
  *
11
- * This file is automatically generated by i18n-tools.
11
+ * This file is automatically generated by Traduki 2.0.
12
12
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
13
13
  */
14
- // Thai
14
+ //Thai (Thailand)
15
15
  var _default = {
16
- 'fabric.editor.codeBidiWarningLabel': 'ตัวอักษรแบบสองทิศทางเปลี่ยนลำดับการแสดงข้อความ ซึ่งอาจนำไปใช้เพื่อปิดบังรหัสที่มีวัตถุประสงค์ในทางที่ไม่ดีได้',
17
16
  'fabric.editor.captionPlaceholder': 'เพิ่มคำอธิบาย',
17
+ 'fabric.editor.codeBidiWarningLabel': 'ตัวอักษรแบบสองทิศทางเปลี่ยนลำดับการแสดงข้อความ ซึ่งอาจนำไปใช้เพื่อปิดบังรหัสที่มีวัตถุประสงค์ในทางที่ไม่ดีได้',
18
18
  'fabric.editor.collapseNode': 'ย่อเนื้อหา',
19
19
  'fabric.editor.expandDefaultTitle': 'คลิกที่นี่เพื่อขยาย...',
20
20
  'fabric.editor.expandNode': 'ขยายเนื้อหา',
@@ -8,13 +8,13 @@ exports.default = void 0;
8
8
  /**
9
9
  * NOTE:
10
10
  *
11
- * This file is automatically generated by i18n-tools.
11
+ * This file is automatically generated by Traduki 2.0.
12
12
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
13
13
  */
14
- // Turkish
14
+ //Turkish (Turkey)
15
15
  var _default = {
16
- 'fabric.editor.codeBidiWarningLabel': 'Çift yönlü karakterler metnin oluşturulduğu sırayı değiştirir. Bu, kötü amaçlı kodu gizlemek için kullanılabilir.',
17
16
  'fabric.editor.captionPlaceholder': 'Açıklama yazısı ekleyin',
17
+ 'fabric.editor.codeBidiWarningLabel': 'Çift yönlü karakterler metnin oluşturulduğu sırayı değiştirir. Bu, kötü amaçlı kodu gizlemek için kullanılabilir.',
18
18
  'fabric.editor.collapseNode': 'içeriği daraltın',
19
19
  'fabric.editor.expandDefaultTitle': 'Genişletmek için buraya tıklayın...',
20
20
  'fabric.editor.expandNode': 'İçeriği genişletin',
@@ -8,13 +8,13 @@ exports.default = void 0;
8
8
  /**
9
9
  * NOTE:
10
10
  *
11
- * This file is automatically generated by i18n-tools.
11
+ * This file is automatically generated by Traduki 2.0.
12
12
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
13
13
  */
14
- // Ukrainian
14
+ //Ukrainian (Ukraine)
15
15
  var _default = {
16
- 'fabric.editor.codeBidiWarningLabel': 'Двонаправлені символи змінюють порядок відображення тексту. Такий спосіб може використовуватися, щоб приховати зловмисний код.',
17
16
  'fabric.editor.captionPlaceholder': 'Додати підпис',
17
+ 'fabric.editor.codeBidiWarningLabel': 'Двонаправлені символи змінюють порядок відображення тексту. Такий спосіб може використовуватися, щоб приховати зловмисний код.',
18
18
  'fabric.editor.collapseNode': 'Згорніть вміст',
19
19
  'fabric.editor.expandDefaultTitle': 'Натисніть, щоб розгорнути…',
20
20
  'fabric.editor.expandNode': 'Розгорніть вміст',
@@ -8,13 +8,13 @@ exports.default = void 0;
8
8
  /**
9
9
  * NOTE:
10
10
  *
11
- * This file is automatically generated by i18n-tools.
11
+ * This file is automatically generated by Traduki 2.0.
12
12
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
13
13
  */
14
- // Vietnamese
14
+ //Vietnamese (Vietnam)
15
15
  var _default = {
16
- 'fabric.editor.codeBidiWarningLabel': 'Ký tự hai chiều thay đổi thứ tự kết xuất văn bản. Điều này có thể được dùng để che giấu mã độc hại.',
17
16
  'fabric.editor.captionPlaceholder': 'Thêm chú thích',
17
+ 'fabric.editor.codeBidiWarningLabel': 'Ký tự hai chiều thay đổi thứ tự kết xuất văn bản. Điều này có thể được dùng để che giấu mã độc hại.',
18
18
  'fabric.editor.collapseNode': 'thu gọn nội dung',
19
19
  'fabric.editor.expandDefaultTitle': 'Nhấp vào đây để mở rộng...',
20
20
  'fabric.editor.expandNode': 'Mở rộng nội dung',
@@ -8,12 +8,13 @@ exports.default = void 0;
8
8
  /**
9
9
  * NOTE:
10
10
  *
11
- * This file is automatically generated by i18n-tools.
11
+ * This file is automatically generated by Traduki 2.0.
12
12
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
13
13
  */
14
+ //Chinese (Simplified)
14
15
  var _default = {
15
- 'fabric.editor.codeBidiWarningLabel': '双向字符会更改文本的呈现顺序。这可能被用于掩盖恶意代码。',
16
16
  'fabric.editor.captionPlaceholder': '添加标题',
17
+ 'fabric.editor.codeBidiWarningLabel': '双向字符会更改文本的呈现顺序。这可能被用于掩盖恶意代码。',
17
18
  'fabric.editor.collapseNode': '收起内容',
18
19
  'fabric.editor.expandDefaultTitle': '点击此处展开...',
19
20
  'fabric.editor.expandNode': '展开内容',
@@ -8,13 +8,13 @@ exports.default = void 0;
8
8
  /**
9
9
  * NOTE:
10
10
  *
11
- * This file is automatically generated by i18n-tools.
11
+ * This file is automatically generated by Traduki 2.0.
12
12
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
13
13
  */
14
- // undefined
14
+ //Chinese (Traditional)
15
15
  var _default = {
16
- 'fabric.editor.codeBidiWarningLabel': '雙向字元會變更文字呈現的順序。這可用來將惡意程式碼模糊化。',
17
16
  'fabric.editor.captionPlaceholder': '新增標題',
17
+ 'fabric.editor.codeBidiWarningLabel': '雙向字元會變更文字呈現的順序。這可用來將惡意程式碼模糊化。',
18
18
  'fabric.editor.collapseNode': '摺疊內容',
19
19
  'fabric.editor.expandDefaultTitle': '按一下此處以展開...',
20
20
  'fabric.editor.expandNode': '展開內容',
package/dist/cjs/index.js CHANGED
@@ -2,32 +2,4 @@
2
2
 
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
- });
6
- Object.defineProperty(exports, "ProviderFactory", {
7
- enumerable: true,
8
- get: function get() {
9
- return _providerFactory.ProviderFactory;
10
- }
11
- });
12
- Object.defineProperty(exports, "WidthConsumer", {
13
- enumerable: true,
14
- get: function get() {
15
- return _ui.WidthConsumer;
16
- }
17
- });
18
- Object.defineProperty(exports, "WidthProvider", {
19
- enumerable: true,
20
- get: function get() {
21
- return _ui.WidthProvider;
22
- }
23
- });
24
- Object.defineProperty(exports, "WithProviders", {
25
- enumerable: true,
26
- get: function get() {
27
- return _providerFactory.WithProviders;
28
- }
29
- });
30
-
31
- var _providerFactory = require("./provider-factory");
32
-
33
- var _ui = require("./ui");
5
+ });
@@ -0,0 +1,42 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+
5
+ Object.defineProperty(exports, "__esModule", {
6
+ value: true
7
+ });
8
+ exports.SafePlugin = void 0;
9
+
10
+ var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));
11
+
12
+ var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));
13
+
14
+ var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));
15
+
16
+ var _possibleConstructorReturn2 = _interopRequireDefault(require("@babel/runtime/helpers/possibleConstructorReturn"));
17
+
18
+ var _getPrototypeOf2 = _interopRequireDefault(require("@babel/runtime/helpers/getPrototypeOf"));
19
+
20
+ var _prosemirrorState = require("prosemirror-state");
21
+
22
+ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }
23
+
24
+ function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
25
+
26
+ var SafePlugin = /*#__PURE__*/function (_Plugin) {
27
+ (0, _inherits2.default)(SafePlugin, _Plugin);
28
+
29
+ var _super = _createSuper(SafePlugin);
30
+
31
+ // This variable isn't (and shouldn't) be used anywhere. Its purpose is
32
+ // to distinguish Plugin from SafePlugin, thus ensuring that an 'unsafe'
33
+ // Plugin cannot be assigned as an item in EditorPlugin → pmPlugins.
34
+ function SafePlugin(spec) {
35
+ (0, _classCallCheck2.default)(this, SafePlugin);
36
+ return _super.call(this, spec);
37
+ }
38
+
39
+ return (0, _createClass2.default)(SafePlugin);
40
+ }(_prosemirrorState.Plugin);
41
+
42
+ exports.SafePlugin = SafePlugin;
@@ -135,12 +135,6 @@ Object.defineProperty(exports, "indentationSharedStyles", {
135
135
  return _indentation.indentationSharedStyles;
136
136
  }
137
137
  });
138
- Object.defineProperty(exports, "inlineNodeSharedStyle", {
139
- enumerable: true,
140
- get: function get() {
141
- return _inlineNodes.inlineNodeSharedStyle;
142
- }
143
- });
144
138
  Object.defineProperty(exports, "linkSharedStyle", {
145
139
  enumerable: true,
146
140
  get: function get() {
@@ -290,8 +284,6 @@ var _whitespace = require("./shared/whitespace");
290
284
 
291
285
  var _paragraph = require("./shared/paragraph");
292
286
 
293
- var _inlineNodes = require("./shared/inline-nodes");
294
-
295
287
  var _link = require("./shared/link");
296
288
 
297
289
  var _lists = require("./shared/lists");