@atlaskit/editor-common 76.11.7 → 76.12.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (166) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/dist/cjs/i18n/cs.js +41 -1
  3. package/dist/cjs/i18n/da.js +41 -1
  4. package/dist/cjs/i18n/de.js +41 -1
  5. package/dist/cjs/i18n/en.js +44 -1
  6. package/dist/cjs/i18n/en_GB.js +44 -1
  7. package/dist/cjs/i18n/en_ZZ.js +44 -1
  8. package/dist/cjs/i18n/es.js +41 -1
  9. package/dist/cjs/i18n/fi.js +41 -1
  10. package/dist/cjs/i18n/fr.js +41 -1
  11. package/dist/cjs/i18n/hu.js +41 -1
  12. package/dist/cjs/i18n/it.js +41 -1
  13. package/dist/cjs/i18n/ja.js +41 -1
  14. package/dist/cjs/i18n/ko.js +41 -1
  15. package/dist/cjs/i18n/nb.js +41 -1
  16. package/dist/cjs/i18n/nl.js +41 -1
  17. package/dist/cjs/i18n/pl.js +41 -1
  18. package/dist/cjs/i18n/pt_BR.js +41 -1
  19. package/dist/cjs/i18n/ru.js +41 -1
  20. package/dist/cjs/i18n/sv.js +41 -1
  21. package/dist/cjs/i18n/th.js +41 -1
  22. package/dist/cjs/i18n/tr.js +41 -1
  23. package/dist/cjs/i18n/uk.js +41 -1
  24. package/dist/cjs/i18n/vi.js +41 -1
  25. package/dist/cjs/i18n/zh.js +41 -1
  26. package/dist/cjs/i18n/zh_TW.js +41 -1
  27. package/dist/cjs/messages/date.js +14 -0
  28. package/dist/cjs/messages/index.js +7 -0
  29. package/dist/cjs/monitoring/error.js +1 -1
  30. package/dist/cjs/types/selection-toolbar.js +5 -0
  31. package/dist/cjs/ui/DropList/index.js +1 -1
  32. package/dist/cjs/utils/calculate-toolbar-position.js +146 -0
  33. package/dist/cjs/utils/index.js +13 -0
  34. package/dist/es2019/i18n/cs.js +41 -1
  35. package/dist/es2019/i18n/da.js +41 -1
  36. package/dist/es2019/i18n/de.js +41 -1
  37. package/dist/es2019/i18n/en.js +44 -1
  38. package/dist/es2019/i18n/en_GB.js +44 -1
  39. package/dist/es2019/i18n/en_ZZ.js +44 -1
  40. package/dist/es2019/i18n/es.js +41 -1
  41. package/dist/es2019/i18n/fi.js +41 -1
  42. package/dist/es2019/i18n/fr.js +41 -1
  43. package/dist/es2019/i18n/hu.js +41 -1
  44. package/dist/es2019/i18n/it.js +41 -1
  45. package/dist/es2019/i18n/ja.js +41 -1
  46. package/dist/es2019/i18n/ko.js +41 -1
  47. package/dist/es2019/i18n/nb.js +41 -1
  48. package/dist/es2019/i18n/nl.js +41 -1
  49. package/dist/es2019/i18n/pl.js +41 -1
  50. package/dist/es2019/i18n/pt_BR.js +41 -1
  51. package/dist/es2019/i18n/ru.js +41 -1
  52. package/dist/es2019/i18n/sv.js +41 -1
  53. package/dist/es2019/i18n/th.js +41 -1
  54. package/dist/es2019/i18n/tr.js +41 -1
  55. package/dist/es2019/i18n/uk.js +41 -1
  56. package/dist/es2019/i18n/vi.js +41 -1
  57. package/dist/es2019/i18n/zh.js +41 -1
  58. package/dist/es2019/i18n/zh_TW.js +41 -1
  59. package/dist/es2019/messages/date.js +8 -0
  60. package/dist/es2019/messages/index.js +1 -0
  61. package/dist/es2019/monitoring/error.js +1 -1
  62. package/dist/es2019/types/selection-toolbar.js +1 -0
  63. package/dist/es2019/ui/DropList/index.js +1 -1
  64. package/dist/es2019/utils/calculate-toolbar-position.js +140 -0
  65. package/dist/es2019/utils/index.js +2 -1
  66. package/dist/esm/i18n/cs.js +41 -1
  67. package/dist/esm/i18n/da.js +41 -1
  68. package/dist/esm/i18n/de.js +41 -1
  69. package/dist/esm/i18n/en.js +44 -1
  70. package/dist/esm/i18n/en_GB.js +44 -1
  71. package/dist/esm/i18n/en_ZZ.js +44 -1
  72. package/dist/esm/i18n/es.js +41 -1
  73. package/dist/esm/i18n/fi.js +41 -1
  74. package/dist/esm/i18n/fr.js +41 -1
  75. package/dist/esm/i18n/hu.js +41 -1
  76. package/dist/esm/i18n/it.js +41 -1
  77. package/dist/esm/i18n/ja.js +41 -1
  78. package/dist/esm/i18n/ko.js +41 -1
  79. package/dist/esm/i18n/nb.js +41 -1
  80. package/dist/esm/i18n/nl.js +41 -1
  81. package/dist/esm/i18n/pl.js +41 -1
  82. package/dist/esm/i18n/pt_BR.js +41 -1
  83. package/dist/esm/i18n/ru.js +41 -1
  84. package/dist/esm/i18n/sv.js +41 -1
  85. package/dist/esm/i18n/th.js +41 -1
  86. package/dist/esm/i18n/tr.js +41 -1
  87. package/dist/esm/i18n/uk.js +41 -1
  88. package/dist/esm/i18n/vi.js +41 -1
  89. package/dist/esm/i18n/zh.js +41 -1
  90. package/dist/esm/i18n/zh_TW.js +41 -1
  91. package/dist/esm/messages/date.js +8 -0
  92. package/dist/esm/messages/index.js +1 -0
  93. package/dist/esm/monitoring/error.js +1 -1
  94. package/dist/esm/types/selection-toolbar.js +1 -0
  95. package/dist/esm/ui/DropList/index.js +1 -1
  96. package/dist/esm/utils/calculate-toolbar-position.js +140 -0
  97. package/dist/esm/utils/index.js +2 -1
  98. package/dist/types/analytics/types/events.d.ts +1 -1
  99. package/dist/types/i18n/cs.d.ts +41 -1
  100. package/dist/types/i18n/da.d.ts +41 -1
  101. package/dist/types/i18n/de.d.ts +41 -1
  102. package/dist/types/i18n/en.d.ts +44 -1
  103. package/dist/types/i18n/en_GB.d.ts +44 -1
  104. package/dist/types/i18n/en_ZZ.d.ts +44 -1
  105. package/dist/types/i18n/es.d.ts +41 -1
  106. package/dist/types/i18n/fi.d.ts +41 -1
  107. package/dist/types/i18n/fr.d.ts +41 -1
  108. package/dist/types/i18n/hu.d.ts +41 -1
  109. package/dist/types/i18n/it.d.ts +41 -1
  110. package/dist/types/i18n/ja.d.ts +41 -1
  111. package/dist/types/i18n/ko.d.ts +41 -1
  112. package/dist/types/i18n/nb.d.ts +41 -1
  113. package/dist/types/i18n/nl.d.ts +41 -1
  114. package/dist/types/i18n/pl.d.ts +41 -1
  115. package/dist/types/i18n/pt_BR.d.ts +41 -1
  116. package/dist/types/i18n/ru.d.ts +41 -1
  117. package/dist/types/i18n/sv.d.ts +41 -1
  118. package/dist/types/i18n/th.d.ts +41 -1
  119. package/dist/types/i18n/tr.d.ts +41 -1
  120. package/dist/types/i18n/uk.d.ts +41 -1
  121. package/dist/types/i18n/vi.d.ts +41 -1
  122. package/dist/types/i18n/zh.d.ts +41 -1
  123. package/dist/types/i18n/zh_TW.d.ts +41 -1
  124. package/dist/types/messages/date.d.ts +7 -0
  125. package/dist/types/messages/index.d.ts +1 -0
  126. package/dist/types/types/editor-plugin.d.ts +9 -0
  127. package/dist/types/types/index.d.ts +1 -0
  128. package/dist/types/types/selection-toolbar.d.ts +19 -0
  129. package/dist/types/utils/calculate-toolbar-position.d.ts +10 -0
  130. package/dist/types/utils/extension-handler.d.ts +1 -1
  131. package/dist/types/utils/index.d.ts +1 -0
  132. package/dist/types-ts4.5/analytics/types/events.d.ts +1 -1
  133. package/dist/types-ts4.5/i18n/cs.d.ts +41 -1
  134. package/dist/types-ts4.5/i18n/da.d.ts +41 -1
  135. package/dist/types-ts4.5/i18n/de.d.ts +41 -1
  136. package/dist/types-ts4.5/i18n/en.d.ts +44 -1
  137. package/dist/types-ts4.5/i18n/en_GB.d.ts +44 -1
  138. package/dist/types-ts4.5/i18n/en_ZZ.d.ts +44 -1
  139. package/dist/types-ts4.5/i18n/es.d.ts +41 -1
  140. package/dist/types-ts4.5/i18n/fi.d.ts +41 -1
  141. package/dist/types-ts4.5/i18n/fr.d.ts +41 -1
  142. package/dist/types-ts4.5/i18n/hu.d.ts +41 -1
  143. package/dist/types-ts4.5/i18n/it.d.ts +41 -1
  144. package/dist/types-ts4.5/i18n/ja.d.ts +41 -1
  145. package/dist/types-ts4.5/i18n/ko.d.ts +41 -1
  146. package/dist/types-ts4.5/i18n/nb.d.ts +41 -1
  147. package/dist/types-ts4.5/i18n/nl.d.ts +41 -1
  148. package/dist/types-ts4.5/i18n/pl.d.ts +41 -1
  149. package/dist/types-ts4.5/i18n/pt_BR.d.ts +41 -1
  150. package/dist/types-ts4.5/i18n/ru.d.ts +41 -1
  151. package/dist/types-ts4.5/i18n/sv.d.ts +41 -1
  152. package/dist/types-ts4.5/i18n/th.d.ts +41 -1
  153. package/dist/types-ts4.5/i18n/tr.d.ts +41 -1
  154. package/dist/types-ts4.5/i18n/uk.d.ts +41 -1
  155. package/dist/types-ts4.5/i18n/vi.d.ts +41 -1
  156. package/dist/types-ts4.5/i18n/zh.d.ts +41 -1
  157. package/dist/types-ts4.5/i18n/zh_TW.d.ts +41 -1
  158. package/dist/types-ts4.5/messages/date.d.ts +7 -0
  159. package/dist/types-ts4.5/messages/index.d.ts +1 -0
  160. package/dist/types-ts4.5/types/editor-plugin.d.ts +9 -0
  161. package/dist/types-ts4.5/types/index.d.ts +1 -0
  162. package/dist/types-ts4.5/types/selection-toolbar.d.ts +19 -0
  163. package/dist/types-ts4.5/utils/calculate-toolbar-position.d.ts +10 -0
  164. package/dist/types-ts4.5/utils/extension-handler.d.ts +1 -1
  165. package/dist/types-ts4.5/utils/index.d.ts +1 -0
  166. package/package.json +7 -6
@@ -16,13 +16,19 @@ var _default = exports.default = {
16
16
  'fabric.editor.action': '動作項目',
17
17
  'fabric.editor.action.description': '建立並指派動作項目',
18
18
  'fabric.editor.addMediaFiles': '新增圖片、影片或檔案',
19
+ 'fabric.editor.alignCenter': '置中對齊',
19
20
  'fabric.editor.alignImageCenter': '置中對齊',
20
21
  'fabric.editor.alignImageLeft': '靠左對齊',
21
22
  'fabric.editor.alignImageRight': '靠右對齊',
23
+ 'fabric.editor.alignLeft': '靠左對齊',
24
+ 'fabric.editor.alignRight': '靠右對齊',
25
+ 'fabric.editor.annotationToolbar': '註解工具列',
22
26
  'fabric.editor.blockCardUnavailable': '內嵌連結位於 {node} 內,無法變更其檢視',
23
27
  'fabric.editor.blockDescription': '顯示有關連結的更多資訊,包括摘要和動作',
24
28
  'fabric.editor.blockTitle': '卡片',
25
29
  'fabric.editor.blockquote': '引述',
30
+ 'fabric.editor.blockquote.description': '插入引述或引文',
31
+ 'fabric.editor.blockquote2': '引述',
26
32
  'fabric.editor.bold': '粗體',
27
33
  'fabric.editor.bug': '錯誤',
28
34
  'fabric.editor.cancelButton': '取消',
@@ -38,11 +44,17 @@ var _default = exports.default = {
38
44
  'fabric.editor.codeBlockCopyButton.copyToClipboard': '複製文字',
39
45
  'fabric.editor.codeBlockWrapButton.unwrapCodeBlock': '關閉圍繞',
40
46
  'fabric.editor.codeBlockWrapButton.wrapCodeBlock': '開啟圍繞',
47
+ 'fabric.editor.codeblock': '程式碼片段',
48
+ 'fabric.editor.codeblock.description': '顯示程式碼並醒目提示語法',
41
49
  'fabric.editor.collapseNode': '摺疊內容',
42
50
  'fabric.editor.columns': '版面配置',
43
51
  'fabric.editor.columns.description': '使用區段建立頁面的結構',
44
52
  'fabric.editor.copiedToClipboard': '已複製!',
45
53
  'fabric.editor.copyToClipboard': '複製',
54
+ 'fabric.editor.createComment': '留言',
55
+ 'fabric.editor.createCommentInvalid': '您只能在文字和標題上留言',
56
+ 'fabric.editor.customPanel': '自訂面板',
57
+ 'fabric.editor.customPanel.description': '新增一個帶有表情符號和彩色背景的附註',
46
58
  'fabric.editor.datasourceTitle': '編輯搜尋查詢',
47
59
  'fabric.editor.date': '日期',
48
60
  'fabric.editor.date.description': '使用日曆新增日期',
@@ -69,6 +81,8 @@ var _default = exports.default = {
69
81
  'fabric.editor.emoji.description': '使用表情符號來傳達想法 🎉 和情緒 😄',
70
82
  'fabric.editor.emptyLink': '請輸入連結。',
71
83
  'fabric.editor.epic': '大型工作',
84
+ 'fabric.editor.errorPanel': '錯誤面板',
85
+ 'fabric.editor.errorPanel.description': '以彩色面板呼叫錯誤',
72
86
  'fabric.editor.expand': '擴充',
73
87
  'fabric.editor.expand.description': '插入擴充',
74
88
  'fabric.editor.expandDefaultTitle': '按一下此處以展開...',
@@ -76,6 +90,18 @@ var _default = exports.default = {
76
90
  'fabric.editor.expandPlaceholder': '為此展開設定標題...',
77
91
  'fabric.editor.feedbackDialog': '提供意見回饋',
78
92
  'fabric.editor.feedbackDialog.description': '請說明您對於新編輯器的使用體驗',
93
+ 'fabric.editor.heading1': '標題 1',
94
+ 'fabric.editor.heading1Description': '用於最高層級的標題',
95
+ 'fabric.editor.heading2': '標題 2',
96
+ 'fabric.editor.heading2Description': '用於主要區段',
97
+ 'fabric.editor.heading3': '標題 3',
98
+ 'fabric.editor.heading3Description': '用於子區段和群組標題',
99
+ 'fabric.editor.heading4': '標題 4',
100
+ 'fabric.editor.heading4Description': '用於多層標題',
101
+ 'fabric.editor.heading5': '標題 5',
102
+ 'fabric.editor.heading5Description': '用於分組清單項目',
103
+ 'fabric.editor.heading6': '標題 6',
104
+ 'fabric.editor.heading6Description': '用於低層級標題',
79
105
  'fabric.editor.headingLink.hyperlinkIconBlogLabel': '部落格',
80
106
  'fabric.editor.headingLink.hyperlinkIconBugLabel': '錯誤',
81
107
  'fabric.editor.headingLink.hyperlinkIconIssueLabel': '問題',
@@ -86,12 +112,15 @@ var _default = exports.default = {
86
112
  'fabric.editor.help.description': '瀏覽所有鍵盤快速鍵和 Markdown 選項',
87
113
  'fabric.editor.horizontalRule': '分隔線',
88
114
  'fabric.editor.horizontalRule.description': '使用水平線來區隔內容',
89
- 'fabric.editor.hyperlink.linkAriaLabel': '連結標籤',
115
+ 'fabric.editor.hyperlink.linkVisibleLabel': '貼上或搜尋連結',
90
116
  'fabric.editor.hyperlink.searchLinkAriaDescription': '當您在欄位中輸入內容時,建議會顯示在下方',
91
117
  'fabric.editor.hyperlink.searchLinkResults': '{count, plural, =0 {沒有找到任何結果} other {找到 {count,number} 個結果}}',
118
+ 'fabric.editor.hyperlink.textVisibleLabel': '顯示文字 (選擇性)',
92
119
  'fabric.editor.hyperlinkToolbarPlaceholder': '貼上或搜尋連結',
93
120
  'fabric.editor.image': '影像',
94
121
  'fabric.editor.improvement': '改善',
122
+ 'fabric.editor.infoPanel': '資訊面板',
123
+ 'fabric.editor.infoPanel.description': '以彩色面板醒目提示資訊',
95
124
  'fabric.editor.inlineDescription': '將連結顯示為內嵌文字',
96
125
  'fabric.editor.inlineTitle': '內嵌',
97
126
  'fabric.editor.insertMenu': '插入',
@@ -113,14 +142,19 @@ var _default = exports.default = {
113
142
  'fabric.editor.moreFormatting': '更多格式設定',
114
143
  'fabric.editor.navigate.toolbar.editor': '導覽至編輯器工具列',
115
144
  'fabric.editor.navigate.toolbar.floating': '導覽至浮動工具列',
145
+ 'fabric.editor.normal': '一般文字',
146
+ 'fabric.editor.notePanel': '附註面板',
147
+ 'fabric.editor.notePanel.description': '以彩色面板新增附註',
116
148
  'fabric.editor.off': '{formattingType} 關閉',
117
149
  'fabric.editor.on': '{formattingType} 開啟',
118
150
  'fabric.editor.openLink': '在新的索引標籤中開啟連結',
119
151
  'fabric.editor.orderedList': '編號清單',
120
152
  'fabric.editor.orderedList.description': '建立已排序的清單',
153
+ 'fabric.editor.other': '其他...',
121
154
  'fabric.editor.pageActionsLabel': '頁面動作',
122
155
  'fabric.editor.placeholderText': '預留位置文字',
123
156
  'fabric.editor.placeholderText.description': '在頁面中插入文字預留位置',
157
+ 'fabric.editor.redo': '重做',
124
158
  'fabric.editor.remove': '移除',
125
159
  'fabric.editor.removeEmoji': '移除表情符號',
126
160
  'fabric.editor.saveButton': '儲存',
@@ -132,12 +166,15 @@ var _default = exports.default = {
132
166
  'fabric.editor.subTask': '子任務',
133
167
  'fabric.editor.subscript': '下標',
134
168
  'fabric.editor.subscript.off.superscript.on': '下標關閉,上標開啟',
169
+ 'fabric.editor.successPanel': '成功面板',
170
+ 'fabric.editor.successPanel.description': '以彩色面板新增提示',
135
171
  'fabric.editor.superscript': '上標',
136
172
  'fabric.editor.superscript.off.subscript.on': '上標關閉,下標開啟',
137
173
  'fabric.editor.table': '表格',
138
174
  'fabric.editor.table.description': '插入表格',
139
175
  'fabric.editor.task': '任務',
140
176
  'fabric.editor.text.formatting.off': '文字格式設定關閉',
177
+ 'fabric.editor.textStyles': '文字樣式',
141
178
  'fabric.editor.time.ago': '前',
142
179
  'fabric.editor.time.updated': '已更新',
143
180
  'fabric.editor.time.viewed': '已檢視',
@@ -150,6 +187,7 @@ var _default = exports.default = {
150
187
  'fabric.editor.tooltip.taskList': '動作項目',
151
188
  'fabric.editor.unableToOpenLink': '無法開啟此連結',
152
189
  'fabric.editor.underline': '底線',
190
+ 'fabric.editor.undo': '復原',
153
191
  'fabric.editor.unlink': '取消連結',
154
192
  'fabric.editor.unorderedList': '項目符號清單',
155
193
  'fabric.editor.unorderedList.description': '建立未排序的清單',
@@ -161,6 +199,8 @@ var _default = exports.default = {
161
199
  'fabric.editor.urlTitle': 'URL',
162
200
  'fabric.editor.viewMore': '檢視更多',
163
201
  'fabric.editor.visit': '在新視窗中開啟連結',
202
+ 'fabric.editor.warningPanel': '警告面板',
203
+ 'fabric.editor.warningPanel.description': '以彩色面板新增注意附註',
164
204
  'fabric.editor.wrapLeft': '靠左圍繞',
165
205
  'fabric.editor.wrapRight': '靠右圍繞',
166
206
  'fabric.theme.blue': '藍色',
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.messages = void 0;
7
+ var _reactIntlNext = require("react-intl-next");
8
+ var messages = exports.messages = (0, _reactIntlNext.defineMessages)({
9
+ editText: {
10
+ id: 'fabric.editor.editDateText',
11
+ defaultMessage: 'Edit Date',
12
+ description: 'Title for the input that changes the date'
13
+ }
14
+ });
@@ -39,6 +39,12 @@ Object.defineProperty(exports, "codeBlockButtonMessages", {
39
39
  return _codeBlockButton.codeBlockButtonMessages;
40
40
  }
41
41
  });
42
+ Object.defineProperty(exports, "dateMessages", {
43
+ enumerable: true,
44
+ get: function get() {
45
+ return _date.messages;
46
+ }
47
+ });
42
48
  exports.default = void 0;
43
49
  Object.defineProperty(exports, "fullPageMessages", {
44
50
  enumerable: true,
@@ -117,6 +123,7 @@ var _toolbar = require("./toolbar");
117
123
  var _list = require("./list");
118
124
  var _undoRedo = require("./undo-redo");
119
125
  var _status = require("./status");
126
+ var _date = require("./date");
120
127
  var _default = exports.default = (0, _reactIntlNext.defineMessages)({
121
128
  layoutFixedWidth: {
122
129
  id: 'fabric.editor.layoutFixedWidth',
@@ -16,7 +16,7 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio
16
16
  function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
17
17
  var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
18
18
  var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
19
- var packageVersion = "76.11.7";
19
+ var packageVersion = "76.12.1";
20
20
  var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
21
21
  // Remove URL as it has UGC
22
22
  // TODO: Sanitise the URL instead of just removing it
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
@@ -24,7 +24,7 @@ var _templateObject, _templateObject2, _templateObject3;
24
24
  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); }; }
25
25
  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; } } /** @jsx jsx */
26
26
  var packageName = "@atlaskit/editor-common";
27
- var packageVersion = "76.11.7";
27
+ var packageVersion = "76.12.1";
28
28
  var halfFocusRing = 1;
29
29
  var dropOffset = '0, 8';
30
30
  var DropList = /*#__PURE__*/function (_Component) {
@@ -0,0 +1,146 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.calculateToolbarPositionTrackHead = exports.calculateToolbarPositionAboveSelection = void 0;
7
+ /*
8
+ Calculates the position of the floating toolbar relative to the selection.
9
+ This is a re-implementation which closely matches the behaviour on Confluence renderer.
10
+ The main difference is the popup is always above the selection.
11
+ Things to consider:
12
+ - popup is always above the selection
13
+ - coordinates of head X and getBoundingClientRect() are absolute in client viewport (not including scroll offsets)
14
+ - popup may appear in '.fabric-editor-popup-scroll-parent' (or body)
15
+ - we use the toolbarRect to center align toolbar
16
+ - use wrapperBounds to clamp values
17
+ - editorView.dom bounds differ to wrapperBounds, convert at the end
18
+ */
19
+ var calculateToolbarPositionAboveSelection = exports.calculateToolbarPositionAboveSelection = function calculateToolbarPositionAboveSelection(toolbarTitle) {
20
+ return function (editorView, nextPos) {
21
+ var toolbar = document.querySelector("div[aria-label=\"".concat(toolbarTitle, "\"]"));
22
+ if (!toolbar) {
23
+ return nextPos;
24
+ }
25
+ // scroll wrapper for full page, fall back to document body
26
+ // TODO: look into using getScrollGutterOptions()
27
+ var scrollWrapper = editorView.dom.closest('.fabric-editor-popup-scroll-parent') || document.body;
28
+ var wrapperBounds = scrollWrapper.getBoundingClientRect();
29
+ var selection = window && window.getSelection();
30
+ var range = selection && !selection.isCollapsed && selection.getRangeAt(0);
31
+ if (!range) {
32
+ return nextPos;
33
+ }
34
+ var toolbarRect = toolbar.getBoundingClientRect();
35
+ var _editorView$state$sel = editorView.state.selection,
36
+ head = _editorView$state$sel.head,
37
+ anchor = _editorView$state$sel.anchor;
38
+ var topCoords = editorView.coordsAtPos(Math.min(head, anchor));
39
+ var bottomCoords = editorView.coordsAtPos(Math.max(head, anchor) - Math.min(range.endOffset, 1));
40
+ var top = (topCoords.top || 0) - toolbarRect.height * 1.5;
41
+ var left = 0;
42
+ // If not on the same line
43
+ if (topCoords.top !== bottomCoords.top) {
44
+ // selecting downwards
45
+ if (head > anchor) {
46
+ left = Math.max(topCoords.right, bottomCoords.right);
47
+ } else {
48
+ left = Math.min(topCoords.left, bottomCoords.left);
49
+ }
50
+ /*
51
+ short selection above a long paragraph
52
+ eg. short {<}heading
53
+ The purpose of this text is to show the selection range{>}.
54
+ The horizontal positioning should center around "heading",
55
+ not where it ends at "range".
56
+ Note: if it was "head<b>ing</b>" then it would only center
57
+ around "head". Undesireable but matches the current renderer.
58
+ */
59
+ var cliffPosition = range.getClientRects()[0];
60
+ if (cliffPosition.right < left) {
61
+ left = cliffPosition.left + cliffPosition.width / 2;
62
+ }
63
+ } else {
64
+ // Otherwise center on the single line selection
65
+ left = topCoords.left + (bottomCoords.right - topCoords.left) / 2;
66
+ }
67
+ left -= toolbarRect.width / 2;
68
+ // Place toolbar below selection if not sufficient space above
69
+ if (top < wrapperBounds.top) {
70
+ var _getCoordsBelowSelect = getCoordsBelowSelection(bottomCoords, toolbarRect);
71
+ top = _getCoordsBelowSelect.top;
72
+ left = _getCoordsBelowSelect.left;
73
+ }
74
+ // remap positions from browser document to wrapperBounds
75
+ return {
76
+ top: top - wrapperBounds.top + scrollWrapper.scrollTop,
77
+ left: Math.max(0, left - wrapperBounds.left)
78
+ };
79
+ };
80
+ };
81
+ /*
82
+ Calculates the position of the floating toolbar relative to the selection.
83
+ This is a re-implementation which closely matches the behaviour on Confluence renderer.
84
+ The main difference is the popup is always above the selection.
85
+ Things to consider:
86
+ - stick as close to the head X release coordinates as possible
87
+ - coordinates of head X and getBoundingClientRect() are absolute in client viewport (not including scroll offsets)
88
+ - popup may appear in '.fabric-editor-popup-scroll-parent' (or body)
89
+ - we use the toolbarRect to center align toolbar
90
+ - use wrapperBounds to clamp values
91
+ - editorView.dom bounds differ to wrapperBounds, convert at the end
92
+ */
93
+ var calculateToolbarPositionTrackHead = exports.calculateToolbarPositionTrackHead = function calculateToolbarPositionTrackHead(toolbarTitle) {
94
+ return function (editorView, nextPos) {
95
+ var toolbar = document.querySelector("div[aria-label=\"".concat(toolbarTitle, "\"]"));
96
+ if (!toolbar) {
97
+ return nextPos;
98
+ }
99
+ // scroll wrapper for full page, fall back to document body
100
+ // TODO: look into using getScrollGutterOptions()
101
+ var scrollWrapper = editorView.dom.closest('.fabric-editor-popup-scroll-parent') || document.body;
102
+ var wrapperBounds = scrollWrapper.getBoundingClientRect();
103
+ var selection = window && window.getSelection();
104
+ var range = selection && !selection.isCollapsed && selection.getRangeAt(0);
105
+ if (!range) {
106
+ return nextPos;
107
+ }
108
+ var toolbarRect = toolbar.getBoundingClientRect();
109
+ var _editorView$state$sel2 = editorView.state.selection,
110
+ head = _editorView$state$sel2.head,
111
+ anchor = _editorView$state$sel2.anchor;
112
+ var topCoords = editorView.coordsAtPos(Math.min(head, anchor));
113
+ var bottomCoords = editorView.coordsAtPos(Math.max(head, anchor) - Math.min(range.endOffset, 1));
114
+ var top;
115
+ // If not the same line, display toolbar below.
116
+ if (head > anchor && topCoords.top !== bottomCoords.top) {
117
+ // We are taking the previous pos to the maxium, so avoid end of line positions
118
+ // returning the next line's rect.
119
+ top = (bottomCoords.top || 0) + toolbarRect.height / 1.15;
120
+ } else {
121
+ top = (topCoords.top || 0) - toolbarRect.height * 1.5;
122
+ }
123
+ var left = (head > anchor ? bottomCoords.right : topCoords.left) - toolbarRect.width / 2;
124
+ // Place toolbar below selection if not sufficient space above
125
+ if (top < wrapperBounds.top) {
126
+ var _getCoordsBelowSelect2 = getCoordsBelowSelection(bottomCoords, toolbarRect);
127
+ top = _getCoordsBelowSelect2.top;
128
+ left = _getCoordsBelowSelect2.left;
129
+ }
130
+ // remap positions from browser document to wrapperBounds
131
+ return {
132
+ top: top - wrapperBounds.top + scrollWrapper.scrollTop,
133
+ left: Math.max(0, left - wrapperBounds.left)
134
+ };
135
+ };
136
+ };
137
+
138
+ /**
139
+ * Returns the coordintes at the bottom the selection.
140
+ */
141
+ var getCoordsBelowSelection = function getCoordsBelowSelection(bottomCoords, toolbarRect) {
142
+ return {
143
+ top: (bottomCoords.top || 0) + toolbarRect.height / 1.15,
144
+ left: bottomCoords.right - toolbarRect.width / 2
145
+ };
146
+ };
@@ -184,6 +184,18 @@ Object.defineProperty(exports, "calculateSnapPoints", {
184
184
  return _richMediaUtils.calculateSnapPoints;
185
185
  }
186
186
  });
187
+ Object.defineProperty(exports, "calculateToolbarPositionAboveSelection", {
188
+ enumerable: true,
189
+ get: function get() {
190
+ return _calculateToolbarPosition.calculateToolbarPositionAboveSelection;
191
+ }
192
+ });
193
+ Object.defineProperty(exports, "calculateToolbarPositionTrackHead", {
194
+ enumerable: true,
195
+ get: function get() {
196
+ return _calculateToolbarPosition.calculateToolbarPositionTrackHead;
197
+ }
198
+ });
187
199
  Object.defineProperty(exports, "canApplyAnnotationOnRange", {
188
200
  enumerable: true,
189
201
  get: function get() {
@@ -1099,6 +1111,7 @@ var _inputRules = require("./input-rules");
1099
1111
  var _dedupe = require("./dedupe");
1100
1112
  var _createWrapSelectionTransaction = require("./create-wrap-selection-transaction");
1101
1113
  var _wrapSelectionIn = require("./wrap-selection-in");
1114
+ var _calculateToolbarPosition = require("./calculate-toolbar-position");
1102
1115
  // prosemirror-history does not export its plugin key
1103
1116
  var pmHistoryPluginKey = exports.pmHistoryPluginKey = 'history$';
1104
1117
  function shallowEqual() {
@@ -10,13 +10,19 @@ export default {
10
10
  'fabric.editor.action': 'Aktuální úkol',
11
11
  'fabric.editor.action.description': 'Vytvořit a přiřadit aktuální úkol',
12
12
  'fabric.editor.addMediaFiles': 'Přidat obrázek, video nebo soubor',
13
+ 'fabric.editor.alignCenter': 'Zarovnat na střed',
13
14
  'fabric.editor.alignImageCenter': 'Zarovnat na střed',
14
15
  'fabric.editor.alignImageLeft': 'Zarovnat vlevo',
15
16
  'fabric.editor.alignImageRight': 'Zarovnat vpravo',
17
+ 'fabric.editor.alignLeft': 'Zarovnat vlevo',
18
+ 'fabric.editor.alignRight': 'Zarovnat vpravo',
19
+ 'fabric.editor.annotationToolbar': 'Panel nástrojů poznámek',
16
20
  'fabric.editor.blockCardUnavailable': 'Vložený odkaz je uvnitř uzlu {node} a jeho zobrazení nelze změnit',
17
21
  'fabric.editor.blockDescription': 'Zobrazit další informace o odkazu, včetně souhrnu a akcí',
18
22
  'fabric.editor.blockTitle': 'Karta',
19
23
  'fabric.editor.blockquote': 'citace',
24
+ 'fabric.editor.blockquote.description': 'Vložit citaci',
25
+ 'fabric.editor.blockquote2': 'Citace',
20
26
  'fabric.editor.bold': 'Tučné',
21
27
  'fabric.editor.bug': 'Chyba',
22
28
  'fabric.editor.cancelButton': 'Zrušit',
@@ -32,11 +38,17 @@ export default {
32
38
  'fabric.editor.codeBlockCopyButton.copyToClipboard': 'Kopírovat jako text',
33
39
  'fabric.editor.codeBlockWrapButton.unwrapCodeBlock': 'Vypnout obalení',
34
40
  'fabric.editor.codeBlockWrapButton.wrapCodeBlock': 'Zapnout obalení',
41
+ 'fabric.editor.codeblock': 'Fragment kódu',
42
+ 'fabric.editor.codeblock.description': 'Zobrazit kód se zvýrazněním syntaxe',
35
43
  'fabric.editor.collapseNode': 'Sbalit obsah',
36
44
  'fabric.editor.columns': 'Rozvržení',
37
45
  'fabric.editor.columns.description': 'Uspořádejte svou stránku pomocí oddílů',
38
46
  'fabric.editor.copiedToClipboard': 'Zkopírováno!',
39
47
  'fabric.editor.copyToClipboard': 'Kopírovat',
48
+ 'fabric.editor.createComment': 'Komentář',
49
+ 'fabric.editor.createCommentInvalid': 'Komentovat můžete pouze text a nadpisy',
50
+ 'fabric.editor.customPanel': 'Vlastní panel',
51
+ 'fabric.editor.customPanel.description': 'Přidejte poznámku se smajlíkem a barevným pozadím.',
40
52
  'fabric.editor.datasourceTitle': 'Upravit vyhledávací dotaz',
41
53
  'fabric.editor.date': 'Datum',
42
54
  'fabric.editor.date.description': 'Přidat datum pomocí kalendáře',
@@ -63,6 +75,8 @@ export default {
63
75
  'fabric.editor.emoji.description': 'Používejte emoji k vyjádření nápadů 🎉 a emocí 😄',
64
76
  'fabric.editor.emptyLink': 'Zadejte odkaz.',
65
77
  'fabric.editor.epic': 'Epic',
78
+ 'fabric.editor.errorPanel': 'Panel chyb',
79
+ 'fabric.editor.errorPanel.description': 'Chyby zobrazit v barevném panelu',
66
80
  'fabric.editor.expand': 'Rozbalení',
67
81
  'fabric.editor.expand.description': 'Vložit rozbalení',
68
82
  'fabric.editor.expandDefaultTitle': 'Klikněte sem pro rozbalení...',
@@ -70,6 +84,18 @@ export default {
70
84
  'fabric.editor.expandPlaceholder': 'Dejte rozbalenému obsahu název...',
71
85
  'fabric.editor.feedbackDialog': 'Poskytnout zpětnou vazbu',
72
86
  'fabric.editor.feedbackDialog.description': 'Podělte se s námi o pocity z práce v novém editoru',
87
+ 'fabric.editor.heading1': 'Nadpis 1',
88
+ 'fabric.editor.heading1Description': 'Použít pro nadpis nejvyšší úrovně',
89
+ 'fabric.editor.heading2': 'Nadpis 2',
90
+ 'fabric.editor.heading2Description': 'Použít pro klíčové oddíly',
91
+ 'fabric.editor.heading3': 'Nadpis 3',
92
+ 'fabric.editor.heading3Description': 'Použít pro pododdíly a nadpisy skupin',
93
+ 'fabric.editor.heading4': 'Nadpis 4',
94
+ 'fabric.editor.heading4Description': 'Použít pro podnadpisy',
95
+ 'fabric.editor.heading5': 'Nadpis 5',
96
+ 'fabric.editor.heading5Description': 'Použít pro seskupení položek seznamu',
97
+ 'fabric.editor.heading6': 'Nadpis 6',
98
+ 'fabric.editor.heading6Description': 'Použít pro nadpis nejnižší úrovně',
73
99
  'fabric.editor.headingLink.hyperlinkIconBlogLabel': 'Blog',
74
100
  'fabric.editor.headingLink.hyperlinkIconBugLabel': 'Chyba',
75
101
  'fabric.editor.headingLink.hyperlinkIconIssueLabel': 'Požadavek',
@@ -80,12 +106,15 @@ export default {
80
106
  'fabric.editor.help.description': 'Projděte si všechny klávesové zkratky a možnosti markdownu',
81
107
  'fabric.editor.horizontalRule': 'Dílčí příčka',
82
108
  'fabric.editor.horizontalRule.description': 'Rozdělit obsah horizontální čárou',
83
- 'fabric.editor.hyperlink.linkAriaLabel': 'Popisek odkazu',
109
+ 'fabric.editor.hyperlink.linkVisibleLabel': 'Vložit nebo vyhledat odkaz',
84
110
  'fabric.editor.hyperlink.searchLinkAriaDescription': 'Níže se objeví návrhy na základě vámi napsaného textu v poli',
85
111
  'fabric.editor.hyperlink.searchLinkResults': '{count, plural, =0 {nebyly nalezeny žádné výsledky} one {{count,number} nalezený výsledek} few {{count,number} nalezené výsledky} many {{count,number} nalezeného výsledku} other {{count,number} nalezených výsledků}}',
112
+ 'fabric.editor.hyperlink.textVisibleLabel': 'Zobrazený text (volitelné)',
86
113
  'fabric.editor.hyperlinkToolbarPlaceholder': 'Vložit nebo vyhledat odkaz',
87
114
  'fabric.editor.image': 'Obrázek',
88
115
  'fabric.editor.improvement': 'Vylepšení',
116
+ 'fabric.editor.infoPanel': 'Informační panel',
117
+ 'fabric.editor.infoPanel.description': 'Zvýraznit informace v barevném panelu',
89
118
  'fabric.editor.inlineDescription': 'Zobrazit odkaz jako vložený text',
90
119
  'fabric.editor.inlineTitle': 'Vložený',
91
120
  'fabric.editor.insertMenu': 'Vložit',
@@ -107,14 +136,19 @@ export default {
107
136
  'fabric.editor.moreFormatting': 'Další formátování',
108
137
  'fabric.editor.navigate.toolbar.editor': 'Přejít na panel nástrojů editoru',
109
138
  'fabric.editor.navigate.toolbar.floating': 'Přejít na plovoucí panel nástrojů',
139
+ 'fabric.editor.normal': 'Standardní text',
140
+ 'fabric.editor.notePanel': 'Panel poznámek',
141
+ 'fabric.editor.notePanel.description': 'Přidat poznámku do barevného panelu',
110
142
  'fabric.editor.off': 'Formátování {formattingType} vypnuto',
111
143
  'fabric.editor.on': '{formattingType} zapnuto',
112
144
  'fabric.editor.openLink': 'Otevřít odkaz na nové kartě',
113
145
  'fabric.editor.orderedList': 'Číslovaný seznam',
114
146
  'fabric.editor.orderedList.description': 'Vytvořit seřazený seznam',
147
+ 'fabric.editor.other': 'Jiné…',
115
148
  'fabric.editor.pageActionsLabel': 'Akce stránky',
116
149
  'fabric.editor.placeholderText': 'Text placeholderu',
117
150
  'fabric.editor.placeholderText.description': 'Vložit na stránku textový zástupný symbol',
151
+ 'fabric.editor.redo': 'Znovu',
118
152
  'fabric.editor.remove': 'Odebrat',
119
153
  'fabric.editor.removeEmoji': 'Odstranit emoji',
120
154
  'fabric.editor.saveButton': 'Uložit',
@@ -126,12 +160,15 @@ export default {
126
160
  'fabric.editor.subTask': 'Podúkol',
127
161
  'fabric.editor.subscript': 'Dolní index',
128
162
  'fabric.editor.subscript.off.superscript.on': 'Dolní index vypnutý, horní index zapnutý',
163
+ 'fabric.editor.successPanel': 'Panel úspěchů',
164
+ 'fabric.editor.successPanel.description': 'Přidat tipy do barevného panelu',
129
165
  'fabric.editor.superscript': 'Horní index',
130
166
  'fabric.editor.superscript.off.subscript.on': 'Horní index vypnutý, dolní index zapnutý',
131
167
  'fabric.editor.table': 'Tabulka',
132
168
  'fabric.editor.table.description': 'Vložit tabulku',
133
169
  'fabric.editor.task': 'Úkol',
134
170
  'fabric.editor.text.formatting.off': 'Formátování textu vypnuto',
171
+ 'fabric.editor.textStyles': 'Styly textu',
135
172
  'fabric.editor.time.ago': 'zpět',
136
173
  'fabric.editor.time.updated': 'Aktualizováno',
137
174
  'fabric.editor.time.viewed': 'Zobrazeno',
@@ -144,6 +181,7 @@ export default {
144
181
  'fabric.editor.tooltip.taskList': 'položka akce',
145
182
  'fabric.editor.unableToOpenLink': 'Tento odkaz nelze otevřít',
146
183
  'fabric.editor.underline': 'Podtržení',
184
+ 'fabric.editor.undo': 'Vrátit',
147
185
  'fabric.editor.unlink': 'Zrušit propojení',
148
186
  'fabric.editor.unorderedList': 'Seznam s odrážkami',
149
187
  'fabric.editor.unorderedList.description': 'Vytvořit neseřazený seznam',
@@ -155,6 +193,8 @@ export default {
155
193
  'fabric.editor.urlTitle': 'Adresa URL',
156
194
  'fabric.editor.viewMore': 'Zobrazit více',
157
195
  'fabric.editor.visit': 'Otevřít odkaz v novém okně',
196
+ 'fabric.editor.warningPanel': 'Panel upozornění',
197
+ 'fabric.editor.warningPanel.description': 'Přidat poznámku s varováním do barevného panelu',
158
198
  'fabric.editor.wrapLeft': 'Sbalit vpravo',
159
199
  'fabric.editor.wrapRight': 'Sbalit vlevo',
160
200
  'fabric.theme.blue': 'Blue',
@@ -10,13 +10,19 @@ export default {
10
10
  'fabric.editor.action': 'Handlingsgenstand',
11
11
  'fabric.editor.action.description': 'Opret og tildel handlingsgenstande',
12
12
  'fabric.editor.addMediaFiles': 'Tilføj billede, video eller fil',
13
+ 'fabric.editor.alignCenter': 'Centrér',
13
14
  'fabric.editor.alignImageCenter': 'Centrér',
14
15
  'fabric.editor.alignImageLeft': 'Venstrejustér',
15
16
  'fabric.editor.alignImageRight': 'Højrejustér',
17
+ 'fabric.editor.alignLeft': 'Venstrejustér',
18
+ 'fabric.editor.alignRight': 'Højrejustér',
19
+ 'fabric.editor.annotationToolbar': 'Værktøjslinje til annotationer',
16
20
  'fabric.editor.blockCardUnavailable': 'Det indbyggede link er inden i {node}, og dets visning kan ikke ændres',
17
21
  'fabric.editor.blockDescription': 'Vis flere oplysninger om et link, inklusive sammendrag og handlinger',
18
22
  'fabric.editor.blockTitle': 'Kort',
19
23
  'fabric.editor.blockquote': 'et citat',
24
+ 'fabric.editor.blockquote.description': 'Indsæt citat',
25
+ 'fabric.editor.blockquote2': 'Citer',
20
26
  'fabric.editor.bold': 'Fed',
21
27
  'fabric.editor.bug': 'Fejl',
22
28
  'fabric.editor.cancelButton': 'Annullér',
@@ -32,11 +38,17 @@ export default {
32
38
  'fabric.editor.codeBlockCopyButton.copyToClipboard': 'Kopiér som tekst',
33
39
  'fabric.editor.codeBlockWrapButton.unwrapCodeBlock': 'Slå ombrydning fra',
34
40
  'fabric.editor.codeBlockWrapButton.wrapCodeBlock': 'Slå ombrydning til',
41
+ 'fabric.editor.codeblock': 'Kodestump',
42
+ 'fabric.editor.codeblock.description': 'Vis kode med syntaksfremhævning',
35
43
  'fabric.editor.collapseNode': 'skjul indhold',
36
44
  'fabric.editor.columns': 'Layout',
37
45
  'fabric.editor.columns.description': 'Opdel din side i afsnit',
38
46
  'fabric.editor.copiedToClipboard': 'Kopieret!',
39
47
  'fabric.editor.copyToClipboard': 'Kopiér',
48
+ 'fabric.editor.createComment': 'Kommenter',
49
+ 'fabric.editor.createCommentInvalid': 'Du kan kun kommentere tekst og overskrifter',
50
+ 'fabric.editor.customPanel': 'Brugerdefineret panel',
51
+ 'fabric.editor.customPanel.description': 'Tilføj en note med en emoji og farvet baggrund',
40
52
  'fabric.editor.datasourceTitle': 'Rediger søgning',
41
53
  'fabric.editor.date': 'Dato',
42
54
  'fabric.editor.date.description': 'Tilføj en dato med en kalender',
@@ -63,6 +75,8 @@ export default {
63
75
  'fabric.editor.emoji.description': 'Brug humørikoner for at udtrykke idéer 🎉 og følelser 😄',
64
76
  'fabric.editor.emptyLink': 'Indtast et link.',
65
77
  'fabric.editor.epic': 'Epic',
78
+ 'fabric.editor.errorPanel': 'Fejlpanel',
79
+ 'fabric.editor.errorPanel.description': 'Vis fejl i et farvel panel',
66
80
  'fabric.editor.expand': 'Udvid',
67
81
  'fabric.editor.expand.description': 'Indsæt en udvidelse',
68
82
  'fabric.editor.expandDefaultTitle': 'Klik her for at udvide...',
@@ -70,6 +84,18 @@ export default {
70
84
  'fabric.editor.expandPlaceholder': 'Giv denne udvidelse en titel...',
71
85
  'fabric.editor.feedbackDialog': 'Giv feedback',
72
86
  'fabric.editor.feedbackDialog.description': 'Fortæl os om din oplevelse med den nye editor.',
87
+ 'fabric.editor.heading1': 'Overskrift 1',
88
+ 'fabric.editor.heading1Description': 'Brug denne til overskrift på øverste niveau',
89
+ 'fabric.editor.heading2': 'Overskrift 2',
90
+ 'fabric.editor.heading2Description': 'Brug denne til hovedafsnit',
91
+ 'fabric.editor.heading3': 'Overskrift 3',
92
+ 'fabric.editor.heading3Description': 'Brug denne til underafsnit og mindre overskrifter',
93
+ 'fabric.editor.heading4': 'Overskrift 4',
94
+ 'fabric.editor.heading4Description': 'Brug denne til dybe overskrifter',
95
+ 'fabric.editor.heading5': 'Overskrift 5',
96
+ 'fabric.editor.heading5Description': 'Brug denne til at gruppere listeelementer',
97
+ 'fabric.editor.heading6': 'Overskrift 6',
98
+ 'fabric.editor.heading6Description': 'Brug denne til overskrift på lavt niveau',
73
99
  'fabric.editor.headingLink.hyperlinkIconBlogLabel': 'Blog',
74
100
  'fabric.editor.headingLink.hyperlinkIconBugLabel': 'Fejl',
75
101
  'fabric.editor.headingLink.hyperlinkIconIssueLabel': 'Sag',
@@ -80,12 +106,15 @@ export default {
80
106
  'fabric.editor.help.description': 'Se alle tastaturgenveje og Markdown-muligheder',
81
107
  'fabric.editor.horizontalRule': 'Rumdeler',
82
108
  'fabric.editor.horizontalRule.description': 'Adskil indhold med en vandret linje',
83
- 'fabric.editor.hyperlink.linkAriaLabel': 'Linkmærkat',
109
+ 'fabric.editor.hyperlink.linkVisibleLabel': 'Indsæt eller søg efter link',
84
110
  'fabric.editor.hyperlink.searchLinkAriaDescription': 'Der vises forslag nedenfor, når du skriver i feltet',
85
111
  'fabric.editor.hyperlink.searchLinkResults': '{count, plural, =0 {ingen resultater fundet} one {Der blev fundet {count,number} resultat} other {Der blev fundet {count,number} resultater}}',
112
+ 'fabric.editor.hyperlink.textVisibleLabel': 'Visningstekst (valgfrit)',
86
113
  'fabric.editor.hyperlinkToolbarPlaceholder': 'Indsæt eller søg efter link',
87
114
  'fabric.editor.image': 'Billeder',
88
115
  'fabric.editor.improvement': 'Forbedring',
116
+ 'fabric.editor.infoPanel': 'Informationspanel',
117
+ 'fabric.editor.infoPanel.description': 'Fremhæv information i et farvet panel',
89
118
  'fabric.editor.inlineDescription': 'Vis link som indbygget tekst',
90
119
  'fabric.editor.inlineTitle': 'Indbyg',
91
120
  'fabric.editor.insertMenu': 'Indsæt',
@@ -107,14 +136,19 @@ export default {
107
136
  'fabric.editor.moreFormatting': 'Mere formatering',
108
137
  'fabric.editor.navigate.toolbar.editor': 'Naviger til værktøjslinje til redigeringsprogram',
109
138
  'fabric.editor.navigate.toolbar.floating': 'Naviger til flydende værktøjslinje',
139
+ 'fabric.editor.normal': 'Normal tekst',
140
+ 'fabric.editor.notePanel': 'Bemærkningspanel',
141
+ 'fabric.editor.notePanel.description': 'Tilføj en note i et farvet panel',
110
142
  'fabric.editor.off': '{formattingType} fra',
111
143
  'fabric.editor.on': '{formattingType} til',
112
144
  'fabric.editor.openLink': 'Åbn link i en nye fane',
113
145
  'fabric.editor.orderedList': 'Nummereret liste',
114
146
  'fabric.editor.orderedList.description': 'Opret en sorteret liste',
147
+ 'fabric.editor.other': 'Andet …',
115
148
  'fabric.editor.pageActionsLabel': 'Sidehandlinger',
116
149
  'fabric.editor.placeholderText': 'Midlertidig text',
117
150
  'fabric.editor.placeholderText.description': 'Indsæt en pladsholdertekst på siden',
151
+ 'fabric.editor.redo': 'Gentag',
118
152
  'fabric.editor.remove': 'Fjern',
119
153
  'fabric.editor.removeEmoji': 'Fjern emoji',
120
154
  'fabric.editor.saveButton': 'Gem',
@@ -126,12 +160,15 @@ export default {
126
160
  'fabric.editor.subTask': 'Underopgave',
127
161
  'fabric.editor.subscript': 'Sænket skrift',
128
162
  'fabric.editor.subscript.off.superscript.on': 'Sænket skrift fra, hævet skrift til',
163
+ 'fabric.editor.successPanel': 'Succespanel',
164
+ 'fabric.editor.successPanel.description': 'Tilføj tip i et farvet panel',
129
165
  'fabric.editor.superscript': 'Hævet skrift',
130
166
  'fabric.editor.superscript.off.subscript.on': 'Hævet skrift fra, sænket skrift til',
131
167
  'fabric.editor.table': 'Tabel',
132
168
  'fabric.editor.table.description': 'Indsæt en tabel',
133
169
  'fabric.editor.task': 'Opgave',
134
170
  'fabric.editor.text.formatting.off': 'Tekstformatering fra',
171
+ 'fabric.editor.textStyles': 'Tekstformatering',
135
172
  'fabric.editor.time.ago': 'siden',
136
173
  'fabric.editor.time.updated': 'Opdateret',
137
174
  'fabric.editor.time.viewed': 'Vist',
@@ -144,6 +181,7 @@ export default {
144
181
  'fabric.editor.tooltip.taskList': 'et handlingselement',
145
182
  'fabric.editor.unableToOpenLink': 'Kan ikke åbne dette link',
146
183
  'fabric.editor.underline': 'Understreget',
184
+ 'fabric.editor.undo': 'Fortryd',
147
185
  'fabric.editor.unlink': 'Fjern link',
148
186
  'fabric.editor.unorderedList': 'Punktopstilling',
149
187
  'fabric.editor.unorderedList.description': 'Opret en ikke-sorteret liste',
@@ -155,6 +193,8 @@ export default {
155
193
  'fabric.editor.urlTitle': 'URL-adresse',
156
194
  'fabric.editor.viewMore': 'Vis mere',
157
195
  'fabric.editor.visit': 'Åbn link i et nyt vindue',
196
+ 'fabric.editor.warningPanel': 'Advarselspanel',
197
+ 'fabric.editor.warningPanel.description': 'Tilføj en advarselsnote i et farvet panel',
158
198
  'fabric.editor.wrapLeft': 'Skub til venstre',
159
199
  'fabric.editor.wrapRight': 'Skub til højre',
160
200
  'fabric.theme.blue': 'Blue',