@atlaskit/editor-core 189.4.9 → 189.4.12

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 (199) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/dist/cjs/composable-editor/editor-internal.js +3 -3
  3. package/dist/cjs/composable-editor/editor.js +202 -3
  4. package/dist/cjs/i18n/cs.js +1 -3
  5. package/dist/cjs/i18n/da.js +1 -3
  6. package/dist/cjs/i18n/de.js +1 -3
  7. package/dist/cjs/i18n/en.js +1 -3
  8. package/dist/cjs/i18n/en_GB.js +1 -3
  9. package/dist/cjs/i18n/en_ZZ.js +1 -3
  10. package/dist/cjs/i18n/es.js +1 -3
  11. package/dist/cjs/i18n/fi.js +1 -3
  12. package/dist/cjs/i18n/fr.js +1 -3
  13. package/dist/cjs/i18n/hu.js +1 -3
  14. package/dist/cjs/i18n/it.js +1 -3
  15. package/dist/cjs/i18n/ja.js +1 -3
  16. package/dist/cjs/i18n/ko.js +1 -3
  17. package/dist/cjs/i18n/nb.js +1 -3
  18. package/dist/cjs/i18n/nl.js +1 -3
  19. package/dist/cjs/i18n/pl.js +1 -3
  20. package/dist/cjs/i18n/pt_BR.js +1 -3
  21. package/dist/cjs/i18n/ru.js +1 -3
  22. package/dist/cjs/i18n/sv.js +1 -3
  23. package/dist/cjs/i18n/th.js +1 -3
  24. package/dist/cjs/i18n/tr.js +1 -3
  25. package/dist/cjs/i18n/uk.js +1 -3
  26. package/dist/cjs/i18n/vi.js +1 -3
  27. package/dist/cjs/i18n/zh.js +1 -3
  28. package/dist/cjs/i18n/zh_TW.js +1 -3
  29. package/dist/cjs/plugins/index.js +1 -15
  30. package/dist/cjs/presets/default.js +2 -2
  31. package/dist/cjs/presets/universal.js +2 -1
  32. package/dist/cjs/ui/ConfigPanel/ConfigPanel.js +11 -3
  33. package/dist/cjs/ui/ConfigPanel/constants.js +13 -0
  34. package/dist/cjs/ui/ConfigPanel/utils.js +44 -1
  35. package/dist/cjs/version-wrapper.js +1 -1
  36. package/dist/es2019/composable-editor/editor-internal.js +4 -4
  37. package/dist/es2019/composable-editor/editor.js +208 -4
  38. package/dist/es2019/i18n/cs.js +1 -3
  39. package/dist/es2019/i18n/da.js +1 -3
  40. package/dist/es2019/i18n/de.js +1 -3
  41. package/dist/es2019/i18n/en.js +1 -3
  42. package/dist/es2019/i18n/en_GB.js +1 -3
  43. package/dist/es2019/i18n/en_ZZ.js +1 -3
  44. package/dist/es2019/i18n/es.js +1 -3
  45. package/dist/es2019/i18n/fi.js +1 -3
  46. package/dist/es2019/i18n/fr.js +1 -3
  47. package/dist/es2019/i18n/hu.js +1 -3
  48. package/dist/es2019/i18n/it.js +1 -3
  49. package/dist/es2019/i18n/ja.js +1 -3
  50. package/dist/es2019/i18n/ko.js +1 -3
  51. package/dist/es2019/i18n/nb.js +1 -3
  52. package/dist/es2019/i18n/nl.js +1 -3
  53. package/dist/es2019/i18n/pl.js +1 -3
  54. package/dist/es2019/i18n/pt_BR.js +1 -3
  55. package/dist/es2019/i18n/ru.js +1 -3
  56. package/dist/es2019/i18n/sv.js +1 -3
  57. package/dist/es2019/i18n/th.js +1 -3
  58. package/dist/es2019/i18n/tr.js +1 -3
  59. package/dist/es2019/i18n/uk.js +1 -3
  60. package/dist/es2019/i18n/vi.js +1 -3
  61. package/dist/es2019/i18n/zh.js +1 -3
  62. package/dist/es2019/i18n/zh_TW.js +1 -3
  63. package/dist/es2019/plugins/index.js +1 -3
  64. package/dist/es2019/presets/default.js +2 -2
  65. package/dist/es2019/presets/universal.js +2 -1
  66. package/dist/es2019/ui/ConfigPanel/ConfigPanel.js +11 -2
  67. package/dist/es2019/ui/ConfigPanel/constants.js +7 -0
  68. package/dist/es2019/ui/ConfigPanel/utils.js +35 -1
  69. package/dist/es2019/version-wrapper.js +1 -1
  70. package/dist/esm/composable-editor/editor-internal.js +3 -3
  71. package/dist/esm/composable-editor/editor.js +203 -4
  72. package/dist/esm/i18n/cs.js +1 -3
  73. package/dist/esm/i18n/da.js +1 -3
  74. package/dist/esm/i18n/de.js +1 -3
  75. package/dist/esm/i18n/en.js +1 -3
  76. package/dist/esm/i18n/en_GB.js +1 -3
  77. package/dist/esm/i18n/en_ZZ.js +1 -3
  78. package/dist/esm/i18n/es.js +1 -3
  79. package/dist/esm/i18n/fi.js +1 -3
  80. package/dist/esm/i18n/fr.js +1 -3
  81. package/dist/esm/i18n/hu.js +1 -3
  82. package/dist/esm/i18n/it.js +1 -3
  83. package/dist/esm/i18n/ja.js +1 -3
  84. package/dist/esm/i18n/ko.js +1 -3
  85. package/dist/esm/i18n/nb.js +1 -3
  86. package/dist/esm/i18n/nl.js +1 -3
  87. package/dist/esm/i18n/pl.js +1 -3
  88. package/dist/esm/i18n/pt_BR.js +1 -3
  89. package/dist/esm/i18n/ru.js +1 -3
  90. package/dist/esm/i18n/sv.js +1 -3
  91. package/dist/esm/i18n/th.js +1 -3
  92. package/dist/esm/i18n/tr.js +1 -3
  93. package/dist/esm/i18n/uk.js +1 -3
  94. package/dist/esm/i18n/vi.js +1 -3
  95. package/dist/esm/i18n/zh.js +1 -3
  96. package/dist/esm/i18n/zh_TW.js +1 -3
  97. package/dist/esm/plugins/index.js +1 -3
  98. package/dist/esm/presets/default.js +2 -2
  99. package/dist/esm/presets/universal.js +2 -1
  100. package/dist/esm/ui/ConfigPanel/ConfigPanel.js +11 -3
  101. package/dist/esm/ui/ConfigPanel/constants.js +7 -0
  102. package/dist/esm/ui/ConfigPanel/utils.js +42 -0
  103. package/dist/esm/version-wrapper.js +1 -1
  104. package/dist/types/composable-editor/editor-internal.d.ts +2 -1
  105. package/dist/types/i18n/cs.d.ts +0 -2
  106. package/dist/types/i18n/da.d.ts +0 -2
  107. package/dist/types/i18n/de.d.ts +0 -2
  108. package/dist/types/i18n/en.d.ts +0 -2
  109. package/dist/types/i18n/en_GB.d.ts +0 -2
  110. package/dist/types/i18n/en_ZZ.d.ts +0 -2
  111. package/dist/types/i18n/es.d.ts +0 -2
  112. package/dist/types/i18n/fi.d.ts +0 -2
  113. package/dist/types/i18n/fr.d.ts +0 -2
  114. package/dist/types/i18n/hu.d.ts +0 -2
  115. package/dist/types/i18n/it.d.ts +0 -2
  116. package/dist/types/i18n/ja.d.ts +0 -2
  117. package/dist/types/i18n/ko.d.ts +0 -2
  118. package/dist/types/i18n/nb.d.ts +0 -2
  119. package/dist/types/i18n/nl.d.ts +0 -2
  120. package/dist/types/i18n/pl.d.ts +0 -2
  121. package/dist/types/i18n/pt_BR.d.ts +0 -2
  122. package/dist/types/i18n/ru.d.ts +0 -2
  123. package/dist/types/i18n/sv.d.ts +0 -2
  124. package/dist/types/i18n/th.d.ts +0 -2
  125. package/dist/types/i18n/tr.d.ts +0 -2
  126. package/dist/types/i18n/uk.d.ts +0 -2
  127. package/dist/types/i18n/vi.d.ts +0 -2
  128. package/dist/types/i18n/zh.d.ts +0 -2
  129. package/dist/types/i18n/zh_TW.d.ts +0 -2
  130. package/dist/types/plugins/index.d.ts +0 -2
  131. package/dist/types/ui/ConfigPanel/ConfigPanel.d.ts +3 -4
  132. package/dist/types/ui/ConfigPanel/constants.d.ts +2 -0
  133. package/dist/types/ui/ConfigPanel/utils.d.ts +2 -1
  134. package/dist/types-ts4.5/composable-editor/editor-internal.d.ts +2 -1
  135. package/dist/types-ts4.5/i18n/cs.d.ts +0 -2
  136. package/dist/types-ts4.5/i18n/da.d.ts +0 -2
  137. package/dist/types-ts4.5/i18n/de.d.ts +0 -2
  138. package/dist/types-ts4.5/i18n/en.d.ts +0 -2
  139. package/dist/types-ts4.5/i18n/en_GB.d.ts +0 -2
  140. package/dist/types-ts4.5/i18n/en_ZZ.d.ts +0 -2
  141. package/dist/types-ts4.5/i18n/es.d.ts +0 -2
  142. package/dist/types-ts4.5/i18n/fi.d.ts +0 -2
  143. package/dist/types-ts4.5/i18n/fr.d.ts +0 -2
  144. package/dist/types-ts4.5/i18n/hu.d.ts +0 -2
  145. package/dist/types-ts4.5/i18n/it.d.ts +0 -2
  146. package/dist/types-ts4.5/i18n/ja.d.ts +0 -2
  147. package/dist/types-ts4.5/i18n/ko.d.ts +0 -2
  148. package/dist/types-ts4.5/i18n/nb.d.ts +0 -2
  149. package/dist/types-ts4.5/i18n/nl.d.ts +0 -2
  150. package/dist/types-ts4.5/i18n/pl.d.ts +0 -2
  151. package/dist/types-ts4.5/i18n/pt_BR.d.ts +0 -2
  152. package/dist/types-ts4.5/i18n/ru.d.ts +0 -2
  153. package/dist/types-ts4.5/i18n/sv.d.ts +0 -2
  154. package/dist/types-ts4.5/i18n/th.d.ts +0 -2
  155. package/dist/types-ts4.5/i18n/tr.d.ts +0 -2
  156. package/dist/types-ts4.5/i18n/uk.d.ts +0 -2
  157. package/dist/types-ts4.5/i18n/vi.d.ts +0 -2
  158. package/dist/types-ts4.5/i18n/zh.d.ts +0 -2
  159. package/dist/types-ts4.5/i18n/zh_TW.d.ts +0 -2
  160. package/dist/types-ts4.5/plugins/index.d.ts +0 -2
  161. package/dist/types-ts4.5/ui/ConfigPanel/ConfigPanel.d.ts +3 -4
  162. package/dist/types-ts4.5/ui/ConfigPanel/constants.d.ts +2 -0
  163. package/dist/types-ts4.5/ui/ConfigPanel/utils.d.ts +2 -1
  164. package/package.json +10 -6
  165. package/dist/cjs/plugins/clear-marks-on-change-to-empty-document/index.js +0 -35
  166. package/dist/cjs/plugins/code-bidi-warning/index.js +0 -22
  167. package/dist/cjs/plugins/code-bidi-warning/plugin-key.js +0 -8
  168. package/dist/cjs/plugins/code-bidi-warning/pm-plugins/main.js +0 -44
  169. package/dist/cjs/plugins/code-bidi-warning/pm-plugins/plugin-factory.js +0 -105
  170. package/dist/cjs/plugins/code-bidi-warning/pm-plugins/reducer.js +0 -9
  171. package/dist/cjs/plugins/code-bidi-warning/pm-plugins/types.js +0 -5
  172. package/dist/es2019/plugins/clear-marks-on-change-to-empty-document/index.js +0 -26
  173. package/dist/es2019/plugins/code-bidi-warning/index.js +0 -15
  174. package/dist/es2019/plugins/code-bidi-warning/plugin-key.js +0 -2
  175. package/dist/es2019/plugins/code-bidi-warning/pm-plugins/main.js +0 -41
  176. package/dist/es2019/plugins/code-bidi-warning/pm-plugins/plugin-factory.js +0 -97
  177. package/dist/es2019/plugins/code-bidi-warning/pm-plugins/reducer.js +0 -3
  178. package/dist/es2019/plugins/code-bidi-warning/pm-plugins/types.js +0 -1
  179. package/dist/esm/plugins/clear-marks-on-change-to-empty-document/index.js +0 -28
  180. package/dist/esm/plugins/code-bidi-warning/index.js +0 -16
  181. package/dist/esm/plugins/code-bidi-warning/plugin-key.js +0 -2
  182. package/dist/esm/plugins/code-bidi-warning/pm-plugins/main.js +0 -38
  183. package/dist/esm/plugins/code-bidi-warning/pm-plugins/plugin-factory.js +0 -98
  184. package/dist/esm/plugins/code-bidi-warning/pm-plugins/reducer.js +0 -3
  185. package/dist/esm/plugins/code-bidi-warning/pm-plugins/types.js +0 -1
  186. package/dist/types/plugins/clear-marks-on-change-to-empty-document/index.d.ts +0 -7
  187. package/dist/types/plugins/code-bidi-warning/index.d.ts +0 -8
  188. package/dist/types/plugins/code-bidi-warning/plugin-key.d.ts +0 -2
  189. package/dist/types/plugins/code-bidi-warning/pm-plugins/main.d.ts +0 -5
  190. package/dist/types/plugins/code-bidi-warning/pm-plugins/plugin-factory.d.ts +0 -8
  191. package/dist/types/plugins/code-bidi-warning/pm-plugins/reducer.d.ts +0 -3
  192. package/dist/types/plugins/code-bidi-warning/pm-plugins/types.d.ts +0 -6
  193. package/dist/types-ts4.5/plugins/clear-marks-on-change-to-empty-document/index.d.ts +0 -7
  194. package/dist/types-ts4.5/plugins/code-bidi-warning/index.d.ts +0 -8
  195. package/dist/types-ts4.5/plugins/code-bidi-warning/plugin-key.d.ts +0 -2
  196. package/dist/types-ts4.5/plugins/code-bidi-warning/pm-plugins/main.d.ts +0 -5
  197. package/dist/types-ts4.5/plugins/code-bidi-warning/pm-plugins/plugin-factory.d.ts +0 -8
  198. package/dist/types-ts4.5/plugins/code-bidi-warning/pm-plugins/reducer.d.ts +0 -3
  199. package/dist/types-ts4.5/plugins/code-bidi-warning/pm-plugins/types.d.ts +0 -6
@@ -2,7 +2,7 @@ import _defineProperty from "@babel/runtime/helpers/defineProperty";
2
2
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
3
3
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
4
4
  /** @jsx jsx */
5
- import { useRef } from 'react';
5
+ import { useRef, useCallback, useMemo } from 'react';
6
6
  import { jsx } from '@emotion/react';
7
7
  import uuid from 'uuid/v4';
8
8
  import { FabricEditorAnalyticsContext } from '@atlaskit/analytics-namespaced-context';
@@ -10,6 +10,7 @@ import { ACTION, fireAnalyticsEvent } from '@atlaskit/editor-common/analytics';
10
10
  import { EditorExperience, ExperienceStore } from '@atlaskit/editor-common/ufo';
11
11
  import { getAnalyticsAppearance, startMeasure, stopMeasure } from '@atlaskit/editor-common/utils';
12
12
  import { basePlugin } from '@atlaskit/editor-plugin-base';
13
+ import { getBooleanFF } from '@atlaskit/platform-feature-flags';
13
14
  import EditorActions from '../actions';
14
15
  import { createFeatureFlagsFromProps } from '../create-editor/feature-flags-from-props';
15
16
  import { name, version } from '../version-wrapper';
@@ -91,16 +92,214 @@ function Editor(passedProps) {
91
92
  providerFactory: providerFactory
92
93
  });
93
94
  }
95
+ /**
96
+ * Improved memonization for Editor wrapper that deals with the lifecycle logic of the editor
97
+ */
98
+ function EditorButBetter(passedProps) {
99
+ var propsRef = useRef(passedProps);
100
+ var props = useMemo(function () {
101
+ // That sounds awful but this is the only way to make sure we didn't missed any EditorProps
102
+ var allProps = {
103
+ preset: passedProps.preset,
104
+ appearance: passedProps.appearance,
105
+ contentComponents: passedProps.contentComponents,
106
+ primaryToolbarIconBefore: passedProps.primaryToolbarIconBefore,
107
+ secondaryToolbarComponents: passedProps.secondaryToolbarComponents,
108
+ persistScrollGutter: passedProps.persistScrollGutter,
109
+ quickInsert: passedProps.quickInsert,
110
+ shouldFocus: passedProps.shouldFocus,
111
+ disabled: passedProps.disabled,
112
+ contextPanel: passedProps.contextPanel,
113
+ errorReporterHandler: passedProps.errorReporterHandler,
114
+ contentTransformerProvider: passedProps.contentTransformerProvider,
115
+ maxHeight: passedProps.maxHeight,
116
+ minHeight: passedProps.minHeight,
117
+ placeholder: passedProps.placeholder,
118
+ placeholderBracketHint: passedProps.placeholderBracketHint,
119
+ defaultValue: passedProps.defaultValue,
120
+ assistiveLabel: passedProps.assistiveLabel,
121
+ popupsMountPoint: passedProps.popupsMountPoint,
122
+ popupsBoundariesElement: passedProps.popupsBoundariesElement,
123
+ popupsScrollableElement: passedProps.popupsScrollableElement,
124
+ editorActions: passedProps.editorActions,
125
+ onEditorReady: passedProps.onEditorReady,
126
+ onDestroy: passedProps.onDestroy,
127
+ onChange: passedProps.onChange,
128
+ onCancel: passedProps.onCancel,
129
+ inputSamplingLimit: passedProps.inputSamplingLimit,
130
+ extensionProviders: passedProps.extensionProviders,
131
+ UNSAFE_useAnalyticsContext: passedProps.UNSAFE_useAnalyticsContext,
132
+ trackValidTransactions: passedProps.trackValidTransactions,
133
+ useStickyToolbar: passedProps.useStickyToolbar,
134
+ featureFlags: passedProps.featureFlags,
135
+ onSave: passedProps.onSave,
136
+ performanceTracking: passedProps.performanceTracking,
137
+ sanitizePrivateContent: passedProps.sanitizePrivateContent,
138
+ media: passedProps.media,
139
+ collabEdit: passedProps.collabEdit,
140
+ primaryToolbarComponents: passedProps.primaryToolbarComponents,
141
+ allowUndoRedoButtons: passedProps.allowUndoRedoButtons,
142
+ linking: passedProps.linking,
143
+ hideAvatarGroup: passedProps.hideAvatarGroup,
144
+ activityProvider: passedProps.activityProvider,
145
+ searchProvider: passedProps.searchProvider,
146
+ annotationProviders: passedProps.annotationProviders,
147
+ collabEditProvider: passedProps.collabEditProvider,
148
+ presenceProvider: passedProps.presenceProvider,
149
+ emojiProvider: passedProps.emojiProvider,
150
+ taskDecisionProvider: passedProps.taskDecisionProvider,
151
+ legacyImageUploadProvider: passedProps.legacyImageUploadProvider,
152
+ mentionProvider: passedProps.mentionProvider,
153
+ autoformattingProvider: passedProps.autoformattingProvider,
154
+ macroProvider: passedProps.macroProvider,
155
+ contextIdentifierProvider: passedProps.contextIdentifierProvider,
156
+ allowExpand: passedProps.allowExpand,
157
+ allowNestedTasks: passedProps.allowNestedTasks,
158
+ allowBlockType: passedProps.allowBlockType,
159
+ allowTasksAndDecisions: passedProps.allowTasksAndDecisions,
160
+ allowBreakout: passedProps.allowBreakout,
161
+ allowRule: passedProps.allowRule,
162
+ allowHelpDialog: passedProps.allowHelpDialog,
163
+ allowJiraIssue: passedProps.allowJiraIssue,
164
+ allowPanel: passedProps.allowPanel,
165
+ allowExtension: passedProps.allowExtension,
166
+ allowConfluenceInlineComment: passedProps.allowConfluenceInlineComment,
167
+ allowTemplatePlaceholders: passedProps.allowTemplatePlaceholders,
168
+ allowDate: passedProps.allowDate,
169
+ allowLayouts: passedProps.allowLayouts,
170
+ allowStatus: passedProps.allowStatus,
171
+ allowTextAlignment: passedProps.allowTextAlignment,
172
+ allowIndentation: passedProps.allowIndentation,
173
+ showIndentationButtons: passedProps.showIndentationButtons,
174
+ allowNewInsertionBehaviour: passedProps.allowNewInsertionBehaviour,
175
+ allowFindReplace: passedProps.allowFindReplace,
176
+ UNSAFE_allowBorderMark: passedProps.UNSAFE_allowBorderMark,
177
+ allowBorderMark: passedProps.allowBorderMark,
178
+ allowFragmentMark: passedProps.allowFragmentMark,
179
+ autoScrollIntoView: passedProps.autoScrollIntoView,
180
+ elementBrowser: passedProps.elementBrowser,
181
+ maxContentSize: passedProps.maxContentSize,
182
+ saveOnEnter: passedProps.saveOnEnter,
183
+ feedbackInfo: passedProps.feedbackInfo,
184
+ mention: passedProps.mention,
185
+ mentionInsertDisplayName: passedProps.mentionInsertDisplayName,
186
+ uploadErrorHandler: passedProps.uploadErrorHandler,
187
+ waitForMediaUpload: passedProps.waitForMediaUpload,
188
+ extensionHandlers: passedProps.extensionHandlers,
189
+ allowTextColor: passedProps.allowTextColor,
190
+ allowTables: passedProps.allowTables,
191
+ insertMenuItems: passedProps.insertMenuItems,
192
+ UNSAFE_cards: passedProps.UNSAFE_cards,
193
+ smartLinks: passedProps.smartLinks,
194
+ allowAnalyticsGASV3: passedProps.allowAnalyticsGASV3,
195
+ codeBlock: passedProps.codeBlock,
196
+ textFormatting: passedProps.textFormatting,
197
+ dangerouslyAppendPlugins: passedProps.dangerouslyAppendPlugins
198
+ };
199
+ var defaultProps = {
200
+ appearance: 'comment',
201
+ disabled: false,
202
+ quickInsert: true
203
+ };
204
+ var nextProps = _objectSpread(_objectSpread({}, defaultProps), allProps);
205
+ propsRef.current = nextProps;
206
+ return nextProps;
207
+ }, [passedProps.preset, passedProps.appearance, passedProps.contentComponents, passedProps.primaryToolbarIconBefore, passedProps.secondaryToolbarComponents, passedProps.persistScrollGutter, passedProps.quickInsert, passedProps.shouldFocus, passedProps.disabled, passedProps.contextPanel, passedProps.errorReporterHandler, passedProps.contentTransformerProvider, passedProps.maxHeight, passedProps.minHeight, passedProps.placeholder, passedProps.placeholderBracketHint, passedProps.defaultValue, passedProps.assistiveLabel, passedProps.popupsMountPoint, passedProps.popupsBoundariesElement, passedProps.popupsScrollableElement, passedProps.editorActions, passedProps.onEditorReady, passedProps.onDestroy, passedProps.onChange, passedProps.onCancel, passedProps.inputSamplingLimit, passedProps.extensionProviders, passedProps.UNSAFE_useAnalyticsContext, passedProps.trackValidTransactions, passedProps.useStickyToolbar, passedProps.featureFlags, passedProps.onSave, passedProps.performanceTracking, passedProps.sanitizePrivateContent, passedProps.media, passedProps.collabEdit, passedProps.primaryToolbarComponents, passedProps.allowUndoRedoButtons, passedProps.linking, passedProps.hideAvatarGroup, passedProps.activityProvider, passedProps.searchProvider, passedProps.annotationProviders, passedProps.collabEditProvider, passedProps.presenceProvider, passedProps.emojiProvider, passedProps.taskDecisionProvider, passedProps.legacyImageUploadProvider, passedProps.mentionProvider, passedProps.autoformattingProvider, passedProps.macroProvider, passedProps.contextIdentifierProvider, passedProps.allowExpand, passedProps.allowNestedTasks, passedProps.allowBlockType, passedProps.allowTasksAndDecisions, passedProps.allowBreakout, passedProps.allowRule, passedProps.allowHelpDialog, passedProps.allowJiraIssue, passedProps.allowPanel, passedProps.allowExtension, passedProps.allowConfluenceInlineComment, passedProps.allowTemplatePlaceholders, passedProps.allowDate, passedProps.allowLayouts, passedProps.allowStatus, passedProps.allowTextAlignment, passedProps.allowIndentation, passedProps.showIndentationButtons, passedProps.allowNewInsertionBehaviour, passedProps.allowFindReplace, passedProps.UNSAFE_allowBorderMark, passedProps.allowBorderMark, passedProps.allowFragmentMark, passedProps.autoScrollIntoView, passedProps.elementBrowser, passedProps.maxContentSize, passedProps.saveOnEnter, passedProps.feedbackInfo, passedProps.mention, passedProps.mentionInsertDisplayName, passedProps.uploadErrorHandler, passedProps.waitForMediaUpload, passedProps.extensionHandlers, passedProps.allowTextColor, passedProps.allowTables, passedProps.insertMenuItems, passedProps.UNSAFE_cards, passedProps.smartLinks, passedProps.allowAnalyticsGASV3, passedProps.codeBlock, passedProps.textFormatting, passedProps.dangerouslyAppendPlugins]);
208
+ var editorContext = useEditorContext();
209
+ var editorActionsPlaceholderInstance = useMemo(function () {
210
+ return new EditorActions();
211
+ }, []);
212
+ var editorActions = editorContext.editorActions || editorActionsPlaceholderInstance;
213
+ var startTime = useRef(performance.now());
214
+ var _useAnalyticsEvents2 = useAnalyticsEvents(),
215
+ createAnalyticsEvent = _useAnalyticsEvents2.createAnalyticsEvent;
216
+ var experienceStore = useRef();
217
+ var handleAnalyticsEvent = useCallback(function (data) {
218
+ fireAnalyticsEvent(createAnalyticsEvent)(data);
219
+ }, [createAnalyticsEvent]);
220
+ useConstructor(function () {
221
+ trackEditorActions(editorActions, props.performanceTracking, function (value) {
222
+ return handleAnalyticsEvent(value);
223
+ });
224
+ });
225
+ var getExperienceStore = useCallback(function () {
226
+ return experienceStore.current;
227
+ }, []);
228
+ var getFeatureFlagsFromRef = useCallback(function () {
229
+ return createFeatureFlagsFromProps(propsRef.current);
230
+ }, []);
231
+ var onEditorCreated = useCallback(function (instance) {
232
+ var _propsRef$current = propsRef.current,
233
+ contextIdentifierProvider = _propsRef$current.contextIdentifierProvider,
234
+ onEditorReady = _propsRef$current.onEditorReady,
235
+ performanceTracking = _propsRef$current.performanceTracking,
236
+ featureFlags = _propsRef$current.featureFlags;
237
+ editorActions._privateRegisterEditor(instance.view, instance.eventDispatcher, instance.transformer, getFeatureFlagsFromRef);
238
+ if (featureFlags !== null && featureFlags !== void 0 && featureFlags.ufo) {
239
+ var _experienceStore$curr2;
240
+ experienceStore.current = ExperienceStore.getInstance(instance.view);
241
+ (_experienceStore$curr2 = experienceStore.current) === null || _experienceStore$curr2 === void 0 || _experienceStore$curr2.start(EditorExperience.loadEditor, startTime.current);
242
+ }
243
+ if (onEditorReady) {
244
+ var _performanceTracking$;
245
+ var measureEditorReady = (performanceTracking === null || performanceTracking === void 0 || (_performanceTracking$ = performanceTracking.onEditorReadyCallbackTracking) === null || _performanceTracking$ === void 0 ? void 0 : _performanceTracking$.enabled) || (featureFlags === null || featureFlags === void 0 ? void 0 : featureFlags.ufo);
246
+ measureEditorReady && startMeasure(measurements.ON_EDITOR_READY_CALLBACK);
247
+ onEditorReady(editorActions);
248
+ measureEditorReady && stopMeasure(measurements.ON_EDITOR_READY_CALLBACK, sendDurationAnalytics(ACTION.ON_EDITOR_READY_CALLBACK, {
249
+ contextIdentifierProvider: contextIdentifierProvider,
250
+ featureFlags: featureFlags
251
+ }, getExperienceStore, createAnalyticsEvent));
252
+ }
253
+ }, [editorActions, createAnalyticsEvent, getFeatureFlagsFromRef, propsRef, getExperienceStore]);
254
+ var onEditorDestroyed = useCallback(function (_instance) {
255
+ var onDestroy = propsRef.current.onDestroy;
256
+ editorActions._privateUnregisterEditor();
257
+ if (onDestroy) {
258
+ onDestroy();
259
+ }
260
+ }, [editorActions, propsRef]);
261
+ useMeasureEditorMountTime(props, getExperienceStore, createAnalyticsEvent);
262
+ var providerFactory = useProviderFactory(props, editorActions, createAnalyticsEvent);
263
+ var onSaveFromProps = props.onSave;
264
+ var handleSave = useCallback(function (view) {
265
+ if (onSaveFromProps) {
266
+ onSaveFromProps(view);
267
+ }
268
+ }, [onSaveFromProps]);
269
+ return jsx(EditorInternal, {
270
+ props: props,
271
+ handleAnalyticsEvent: handleAnalyticsEvent,
272
+ createAnalyticsEvent: createAnalyticsEvent,
273
+ preset: props.preset,
274
+ handleSave: handleSave,
275
+ editorActions: editorActions,
276
+ onEditorCreated: onEditorCreated,
277
+ onEditorDestroyed: onEditorDestroyed,
278
+ providerFactory: providerFactory
279
+ });
280
+ }
94
281
  export function ComposableEditor(props) {
95
282
  var editorSessionId = useRef(uuid());
96
- return jsx(FabricEditorAnalyticsContext, {
97
- data: {
283
+ var data = useMemo(function () {
284
+ return {
98
285
  packageName: name,
99
286
  packageVersion: version,
100
287
  componentName: 'editorCore',
101
288
  appearance: getAnalyticsAppearance(props.appearance),
102
289
  editorSessionId: editorSessionId.current
103
- }
290
+ };
291
+ }, [props.appearance]);
292
+ if (getBooleanFF('platform.editor.less-editor-props-rerendering')) {
293
+ return jsx(FabricEditorAnalyticsContext
294
+ // @ts-expect-error Type 'string' is not assignable to type '"editorCore" | "renderer"'.
295
+ , {
296
+ data: data
297
+ }, jsx(EditorButBetter, props));
298
+ }
299
+ return jsx(FabricEditorAnalyticsContext
300
+ // @ts-expect-error Type 'string' is not assignable to type '"editorCore" | "renderer"'.
301
+ , {
302
+ data: data
104
303
  }, jsx(Editor, props));
105
304
  }
106
305
  ComposableEditor.propTypes = {
@@ -30,7 +30,6 @@ export default {
30
30
  'fabric.editor.configPanel.invalid': 'Neplatné pole',
31
31
  'fabric.editor.configPanel.required': 'Povinné pole',
32
32
  'fabric.editor.configPanel.submit': 'Odeslat',
33
- 'fabric.editor.decisionPlaceholder': 'Přidat rozhodnutí...',
34
33
  'fabric.editor.edit': 'Upravit',
35
34
  'fabric.editor.editorAssistiveLabel': 'Hlavní oblast obsahu. Začněte psát, abyste zadali text.',
36
35
  'fabric.editor.editors': 'Editoři',
@@ -50,6 +49,5 @@ export default {
50
49
  'fabric.editor.replace': 'Nahradit',
51
50
  'fabric.editor.replaceAll': 'Nahradit vše',
52
51
  'fabric.editor.replaceWith': 'Nahradit textem',
53
- 'fabric.editor.resultsCount': '{selectedMatchPosition} z {totalResultsCount}',
54
- 'fabric.editor.taskPlaceholder': 'Napište svou akci a použitím „@“ ji někomu přidělte.'
52
+ 'fabric.editor.resultsCount': '{selectedMatchPosition} z {totalResultsCount}'
55
53
  };
@@ -30,7 +30,6 @@ export default {
30
30
  'fabric.editor.configPanel.invalid': 'Ugyldigt felt',
31
31
  'fabric.editor.configPanel.required': 'Påkrævet felt',
32
32
  'fabric.editor.configPanel.submit': 'Send',
33
- 'fabric.editor.decisionPlaceholder': 'Tilføj en beslutning ...',
34
33
  'fabric.editor.edit': 'Redigér',
35
34
  'fabric.editor.editorAssistiveLabel': 'Område for hovedindhold. Begynd at taste for at skrive tekst.',
36
35
  'fabric.editor.editors': 'Redaktører',
@@ -49,6 +48,5 @@ export default {
49
48
  'fabric.editor.replace': 'Erstat',
50
49
  'fabric.editor.replaceAll': 'Erstat alle',
51
50
  'fabric.editor.replaceWith': 'Erstat med',
52
- 'fabric.editor.resultsCount': '{selectedMatchPosition} af {totalResultsCount}',
53
- 'fabric.editor.taskPlaceholder': 'Indtast din handling, og brug "@" for at tildele til nogen.'
51
+ 'fabric.editor.resultsCount': '{selectedMatchPosition} af {totalResultsCount}'
54
52
  };
@@ -30,7 +30,6 @@ export default {
30
30
  'fabric.editor.configPanel.invalid': 'Ungültiges Feld',
31
31
  'fabric.editor.configPanel.required': 'Pflichtfeld',
32
32
  'fabric.editor.configPanel.submit': 'Senden',
33
- 'fabric.editor.decisionPlaceholder': 'Entscheidung hinzufügen …',
34
33
  'fabric.editor.edit': 'Bearbeiten',
35
34
  'fabric.editor.editorAssistiveLabel': 'Hauptinhaltsbereich – geben Sie hier Ihren Text ein.',
36
35
  'fabric.editor.editors': 'Editoren',
@@ -49,6 +48,5 @@ export default {
49
48
  'fabric.editor.replace': 'Ersetzen',
50
49
  'fabric.editor.replaceAll': 'Alle ersetzen',
51
50
  'fabric.editor.replaceWith': 'Ersetzen mit',
52
- 'fabric.editor.resultsCount': '{selectedMatchPosition} von {totalResultsCount}',
53
- 'fabric.editor.taskPlaceholder': 'Geben Sie Ihre Aktion ein und weisen Sie sie mithilfe von „@” jemandem zu.'
51
+ 'fabric.editor.resultsCount': '{selectedMatchPosition} von {totalResultsCount}'
54
52
  };
@@ -31,7 +31,6 @@ export default {
31
31
  'fabric.editor.configPanel.invalid': 'Invalid field',
32
32
  'fabric.editor.configPanel.required': 'Required field',
33
33
  'fabric.editor.configPanel.submit': 'Submit',
34
- 'fabric.editor.decisionPlaceholder': 'Add a decision…',
35
34
  'fabric.editor.edit': 'Edit',
36
35
  'fabric.editor.editorAssistiveLabel': 'Main content area, start typing to enter text.',
37
36
  'fabric.editor.editors': 'Editors',
@@ -51,6 +50,5 @@ export default {
51
50
  'fabric.editor.replace': 'Replace',
52
51
  'fabric.editor.replaceAll': 'Replace all',
53
52
  'fabric.editor.replaceWith': 'Replace with',
54
- 'fabric.editor.resultsCount': '{selectedMatchPosition} of {totalResultsCount}',
55
- 'fabric.editor.taskPlaceholder': "Type your action, use '@' to assign to someone."
53
+ 'fabric.editor.resultsCount': '{selectedMatchPosition} of {totalResultsCount}'
56
54
  };
@@ -31,7 +31,6 @@ export default {
31
31
  'fabric.editor.configPanel.invalid': 'Invalid field',
32
32
  'fabric.editor.configPanel.required': 'Required field',
33
33
  'fabric.editor.configPanel.submit': 'Submit',
34
- 'fabric.editor.decisionPlaceholder': 'Add a decision…',
35
34
  'fabric.editor.edit': 'Edit',
36
35
  'fabric.editor.editorAssistiveLabel': 'Main content area, start typing to enter text.',
37
36
  'fabric.editor.editors': 'Editors',
@@ -51,6 +50,5 @@ export default {
51
50
  'fabric.editor.replace': 'Replace',
52
51
  'fabric.editor.replaceAll': 'Replace all',
53
52
  'fabric.editor.replaceWith': 'Replace with',
54
- 'fabric.editor.resultsCount': '{selectedMatchPosition} of {totalResultsCount}',
55
- 'fabric.editor.taskPlaceholder': "Type your action, use '@' to assign to someone."
53
+ 'fabric.editor.resultsCount': '{selectedMatchPosition} of {totalResultsCount}'
56
54
  };
@@ -31,7 +31,6 @@ export default {
31
31
  'fabric.editor.configPanel.invalid': '⁣⁢Invalid field⁠⁠⁠‌⁡‍⁡⁣⁤',
32
32
  'fabric.editor.configPanel.required': '⁣⁢Required field‍‍؜‌‌‍⁠‍⁡⁣⁤',
33
33
  'fabric.editor.configPanel.submit': '⁣⁢Submit‍‍؜‌‌؜؜⁡⁡‍⁡⁠⁣⁤',
34
- 'fabric.editor.decisionPlaceholder': '⁣⁢Add a decision…⁡‌⁡‍؜⁡⁡⁠‍‌⁣⁤',
35
34
  'fabric.editor.edit': '⁣⁢Edit‍‌⁠⁡⁠⁡⁡⁠⁣⁤',
36
35
  'fabric.editor.editorAssistiveLabel': '⁣⁢Main content area, start typing to enter text.‍‌⁡‌‌⁡؜؜⁣⁤',
37
36
  'fabric.editor.editors': '⁣⁢Editors‍؜‌‍⁡‍⁠⁡؜‌‌⁡⁣⁤',
@@ -51,6 +50,5 @@ export default {
51
50
  'fabric.editor.replace': '⁣⁢Replace‌⁠؜⁠⁠⁠‌⁠⁡⁠⁣⁤',
52
51
  'fabric.editor.replaceAll': '⁣⁢Replace all‌⁡؜‍⁠⁣⁤',
53
52
  'fabric.editor.replaceWith': '⁣⁢Replace with‍‍⁡؜⁡⁠⁡؜؜⁠⁠⁣⁤',
54
- 'fabric.editor.resultsCount': '⁣⁢{selectedMatchPosition} of {totalResultsCount}⁠⁠⁠⁠⁣⁤',
55
- 'fabric.editor.taskPlaceholder': "⁣⁢Type your action, use '@' to assign to someone.‌⁠⁠⁠⁠⁠‍‍⁡⁡‌⁣⁤"
53
+ 'fabric.editor.resultsCount': '⁣⁢{selectedMatchPosition} of {totalResultsCount}⁠⁠⁠⁠⁣⁤'
56
54
  };
@@ -30,7 +30,6 @@ export default {
30
30
  'fabric.editor.configPanel.invalid': 'Campo no válido',
31
31
  'fabric.editor.configPanel.required': 'Campo obligatorio',
32
32
  'fabric.editor.configPanel.submit': 'Enviar',
33
- 'fabric.editor.decisionPlaceholder': 'Añadir una decisión...',
34
33
  'fabric.editor.edit': 'Editar',
35
34
  'fabric.editor.editorAssistiveLabel': 'Área de contenido principal, empieza a escribir para introducir texto.',
36
35
  'fabric.editor.editors': 'Editores',
@@ -49,6 +48,5 @@ export default {
49
48
  'fabric.editor.replace': 'Reemplazar',
50
49
  'fabric.editor.replaceAll': 'Reemplazar todo',
51
50
  'fabric.editor.replaceWith': 'Reemplazar por',
52
- 'fabric.editor.resultsCount': '{selectedMatchPosition} de {totalResultsCount}',
53
- 'fabric.editor.taskPlaceholder': 'Escribe la acción y usa "@" para asignársela a alguien.'
51
+ 'fabric.editor.resultsCount': '{selectedMatchPosition} de {totalResultsCount}'
54
52
  };
@@ -30,7 +30,6 @@ export default {
30
30
  'fabric.editor.configPanel.invalid': 'Virheellinen kenttä',
31
31
  'fabric.editor.configPanel.required': 'Pakollinen kenttä',
32
32
  'fabric.editor.configPanel.submit': 'Lähetä',
33
- 'fabric.editor.decisionPlaceholder': 'Lisää päätös...',
34
33
  'fabric.editor.edit': 'Muokkaa',
35
34
  'fabric.editor.editorAssistiveLabel': 'Pääsisältöalue, aloita kirjoittaminen, jos haluat syöttää tekstiä.',
36
35
  'fabric.editor.editors': 'Muokkaajat',
@@ -49,6 +48,5 @@ export default {
49
48
  'fabric.editor.replace': 'Korvaa',
50
49
  'fabric.editor.replaceAll': 'Korvaa kaikki',
51
50
  'fabric.editor.replaceWith': 'Korvaa kohteella',
52
- 'fabric.editor.resultsCount': '{selectedMatchPosition}/{totalResultsCount}',
53
- 'fabric.editor.taskPlaceholder': "Kirjoita toimintasi, käytä '@'-merkkiä määrätäksesi sen jollekin henkilölle."
51
+ 'fabric.editor.resultsCount': '{selectedMatchPosition}/{totalResultsCount}'
54
52
  };
@@ -30,7 +30,6 @@ export default {
30
30
  'fabric.editor.configPanel.invalid': 'Champ non valide',
31
31
  'fabric.editor.configPanel.required': 'Champ obligatoire',
32
32
  'fabric.editor.configPanel.submit': 'Soumettre',
33
- 'fabric.editor.decisionPlaceholder': 'Ajoutez une décision…',
34
33
  'fabric.editor.edit': 'Modifier',
35
34
  'fabric.editor.editorAssistiveLabel': 'Zone de contenu principale, commencez à taper pour saisir du texte.',
36
35
  'fabric.editor.editors': 'Éditeurs',
@@ -49,6 +48,5 @@ export default {
49
48
  'fabric.editor.replace': 'Remplacer',
50
49
  'fabric.editor.replaceAll': 'Remplacer tout',
51
50
  'fabric.editor.replaceWith': 'Remplacer par',
52
- 'fabric.editor.resultsCount': '{selectedMatchPosition} sur {totalResultsCount}',
53
- 'fabric.editor.taskPlaceholder': "Saisissez votre action, utilisez « @ » pour l'assigner à quelqu'un."
51
+ 'fabric.editor.resultsCount': '{selectedMatchPosition} sur {totalResultsCount}'
54
52
  };
@@ -30,7 +30,6 @@ export default {
30
30
  'fabric.editor.configPanel.invalid': 'Érvénytelen mező',
31
31
  'fabric.editor.configPanel.required': 'Kötelező mező',
32
32
  'fabric.editor.configPanel.submit': 'Küldés',
33
- 'fabric.editor.decisionPlaceholder': 'Döntés hozzáadása...',
34
33
  'fabric.editor.edit': 'Szerkesztés',
35
34
  'fabric.editor.editorAssistiveLabel': 'Fő tartalmi terület, kezdj el gépelni a szöveg beviteléhez.',
36
35
  'fabric.editor.editors': 'Szerkesztők',
@@ -49,6 +48,5 @@ export default {
49
48
  'fabric.editor.replace': 'Csere',
50
49
  'fabric.editor.replaceAll': 'Az összes cseréje',
51
50
  'fabric.editor.replaceWith': 'Csere erre:',
52
- 'fabric.editor.resultsCount': '{selectedMatchPosition}/{totalResultsCount}',
53
- 'fabric.editor.taskPlaceholder': 'Írja be a műveletet. Az „@” jellel hozzárendelheti valakihez.'
51
+ 'fabric.editor.resultsCount': '{selectedMatchPosition}/{totalResultsCount}'
54
52
  };
@@ -30,7 +30,6 @@ export default {
30
30
  'fabric.editor.configPanel.invalid': 'Campo non valido',
31
31
  'fabric.editor.configPanel.required': 'Campo obbligatorio',
32
32
  'fabric.editor.configPanel.submit': 'Invia',
33
- 'fabric.editor.decisionPlaceholder': 'Aggiungi una decisione…',
34
33
  'fabric.editor.edit': 'Modifica',
35
34
  'fabric.editor.editorAssistiveLabel': 'Area del contenuto principale; inizia a digitare per inserire il testo.',
36
35
  'fabric.editor.editors': 'Editor',
@@ -49,6 +48,5 @@ export default {
49
48
  'fabric.editor.replace': 'Sostituisci',
50
49
  'fabric.editor.replaceAll': 'Sostituisci tutto',
51
50
  'fabric.editor.replaceWith': 'Sostituisci con',
52
- 'fabric.editor.resultsCount': '{selectedMatchPosition} di {totalResultsCount}',
53
- 'fabric.editor.taskPlaceholder': 'Digita la tua azione e usa “@” per assegnarla a qualcuno.'
51
+ 'fabric.editor.resultsCount': '{selectedMatchPosition} di {totalResultsCount}'
54
52
  };
@@ -30,7 +30,6 @@ export default {
30
30
  'fabric.editor.configPanel.invalid': '無効なフィールド',
31
31
  'fabric.editor.configPanel.required': '必須フィールド',
32
32
  'fabric.editor.configPanel.submit': '送信',
33
- 'fabric.editor.decisionPlaceholder': '決定事項を追加…',
34
33
  'fabric.editor.edit': '編集',
35
34
  'fabric.editor.editorAssistiveLabel': 'メイン コンテンツ領域。入力を開始してテキストを入力します。',
36
35
  'fabric.editor.editors': '編集者',
@@ -49,6 +48,5 @@ export default {
49
48
  'fabric.editor.replace': '置換',
50
49
  'fabric.editor.replaceAll': 'すべて置換',
51
50
  'fabric.editor.replaceWith': '次で置換',
52
- 'fabric.editor.resultsCount': '{totalResultsCount} 件中 {selectedMatchPosition} 件',
53
- 'fabric.editor.taskPlaceholder': 'アクションを入力し、「@」を使用して担当者を割り当てます。'
51
+ 'fabric.editor.resultsCount': '{totalResultsCount} 件中 {selectedMatchPosition} 件'
54
52
  };
@@ -30,7 +30,6 @@ export default {
30
30
  'fabric.editor.configPanel.invalid': '유효하지 않은 필드',
31
31
  'fabric.editor.configPanel.required': '필수 필드',
32
32
  'fabric.editor.configPanel.submit': '제출',
33
- 'fabric.editor.decisionPlaceholder': '결정 추가...',
34
33
  'fabric.editor.edit': '편집',
35
34
  'fabric.editor.editorAssistiveLabel': '주 콘텐츠 영역입니다. 텍스트를 입력하세요.',
36
35
  'fabric.editor.editors': '편집기',
@@ -49,6 +48,5 @@ export default {
49
48
  'fabric.editor.replace': '바꾸기',
50
49
  'fabric.editor.replaceAll': '모두 바꾸기',
51
50
  'fabric.editor.replaceWith': '다음으로 바꾸기',
52
- 'fabric.editor.resultsCount': '{selectedMatchPosition}/{totalResultsCount}',
53
- 'fabric.editor.taskPlaceholder': "작업을 입력하고 '@'를 사용하여 할당합니다."
51
+ 'fabric.editor.resultsCount': '{selectedMatchPosition}/{totalResultsCount}'
54
52
  };
@@ -30,7 +30,6 @@ export default {
30
30
  'fabric.editor.configPanel.invalid': 'Ugyldig felt',
31
31
  'fabric.editor.configPanel.required': 'Obligatorisk felt',
32
32
  'fabric.editor.configPanel.submit': 'Send inn',
33
- 'fabric.editor.decisionPlaceholder': 'Legg til en beslutning …',
34
33
  'fabric.editor.edit': 'Rediger',
35
34
  'fabric.editor.editorAssistiveLabel': 'Hovedinnholdsområde, begynn å skrive for å angi tekst.',
36
35
  'fabric.editor.editors': 'Brukere med redigeringstilgang',
@@ -49,6 +48,5 @@ export default {
49
48
  'fabric.editor.replace': 'Erstatt',
50
49
  'fabric.editor.replaceAll': 'Erstatt alle',
51
50
  'fabric.editor.replaceWith': 'Erstatt med',
52
- 'fabric.editor.resultsCount': '{selectedMatchPosition} av {totalResultsCount}',
53
- 'fabric.editor.taskPlaceholder': 'Skriv inn handlingen. Bruk @ for å tilordne den til noen.'
51
+ 'fabric.editor.resultsCount': '{selectedMatchPosition} av {totalResultsCount}'
54
52
  };
@@ -30,7 +30,6 @@ export default {
30
30
  'fabric.editor.configPanel.invalid': 'Ongeldig veld',
31
31
  'fabric.editor.configPanel.required': 'Verplicht veld',
32
32
  'fabric.editor.configPanel.submit': 'Verzenden',
33
- 'fabric.editor.decisionPlaceholder': 'Beslissing toevoegen...',
34
33
  'fabric.editor.edit': 'Bewerken',
35
34
  'fabric.editor.editorAssistiveLabel': 'Hoofdveld content, begin met typen om tekst in te voeren.',
36
35
  'fabric.editor.editors': 'Editors',
@@ -49,6 +48,5 @@ export default {
49
48
  'fabric.editor.replace': 'Vervangen',
50
49
  'fabric.editor.replaceAll': 'Alles vervangen',
51
50
  'fabric.editor.replaceWith': 'Vervangen met',
52
- 'fabric.editor.resultsCount': '{selectedMatchPosition} van {totalResultsCount}',
53
- 'fabric.editor.taskPlaceholder': "Geef je actie in en gebruik een '@' om de actie aan iemand toe te wijzen."
51
+ 'fabric.editor.resultsCount': '{selectedMatchPosition} van {totalResultsCount}'
54
52
  };
@@ -30,7 +30,6 @@ export default {
30
30
  'fabric.editor.configPanel.invalid': 'Nieprawidłowe pole',
31
31
  'fabric.editor.configPanel.required': 'Pole wymagane',
32
32
  'fabric.editor.configPanel.submit': 'Wyślij',
33
- 'fabric.editor.decisionPlaceholder': 'Dodaj decyzję…',
34
33
  'fabric.editor.edit': 'Edytuj',
35
34
  'fabric.editor.editorAssistiveLabel': 'Główny obszar zawartości. Zacznij pisać, aby wprowadzić tekst.',
36
35
  'fabric.editor.editors': 'Edytujący',
@@ -49,6 +48,5 @@ export default {
49
48
  'fabric.editor.replace': 'Zastąp',
50
49
  'fabric.editor.replaceAll': 'Zastąp wszystko',
51
50
  'fabric.editor.replaceWith': 'Zastąp tym',
52
- 'fabric.editor.resultsCount': '{selectedMatchPosition} z {totalResultsCount}',
53
- 'fabric.editor.taskPlaceholder': 'Wprowadź swoją akcję, użyj „@”, aby przypisać ją do użytkownika.'
51
+ 'fabric.editor.resultsCount': '{selectedMatchPosition} z {totalResultsCount}'
54
52
  };
@@ -30,7 +30,6 @@ export default {
30
30
  'fabric.editor.configPanel.invalid': 'Campo inválido',
31
31
  'fabric.editor.configPanel.required': 'Campo obrigatório',
32
32
  'fabric.editor.configPanel.submit': 'Enviar',
33
- 'fabric.editor.decisionPlaceholder': 'Adicionar uma decisão...',
34
33
  'fabric.editor.edit': 'Editar',
35
34
  'fabric.editor.editorAssistiveLabel': 'Área de conteúdo principal, comece a digitar para inserir texto.',
36
35
  'fabric.editor.editors': 'Editores',
@@ -49,6 +48,5 @@ export default {
49
48
  'fabric.editor.replace': 'Substituir',
50
49
  'fabric.editor.replaceAll': 'Substituir tudo',
51
50
  'fabric.editor.replaceWith': 'Substituir por',
52
- 'fabric.editor.resultsCount': '{selectedMatchPosition} de {totalResultsCount}',
53
- 'fabric.editor.taskPlaceholder': 'Digite sua ação e use "@" para atribuí-la a alguém.'
51
+ 'fabric.editor.resultsCount': '{selectedMatchPosition} de {totalResultsCount}'
54
52
  };
@@ -30,7 +30,6 @@ export default {
30
30
  'fabric.editor.configPanel.invalid': 'Недопустимое поле',
31
31
  'fabric.editor.configPanel.required': 'Обязательное поле',
32
32
  'fabric.editor.configPanel.submit': 'Отправить',
33
- 'fabric.editor.decisionPlaceholder': 'Добавить решение…',
34
33
  'fabric.editor.edit': 'Изменить',
35
34
  'fabric.editor.editorAssistiveLabel': 'Область основного содержимого. Начните печатать, чтобы ввести текст.',
36
35
  'fabric.editor.editors': 'Редакторы',
@@ -49,6 +48,5 @@ export default {
49
48
  'fabric.editor.replace': 'Заменить',
50
49
  'fabric.editor.replaceAll': 'Заменить все',
51
50
  'fabric.editor.replaceWith': 'Заменить на',
52
- 'fabric.editor.resultsCount': '{selectedMatchPosition} из {totalResultsCount}',
53
- 'fabric.editor.taskPlaceholder': 'Укажите задание и назначьте исполнителя с помощью значка «@».'
51
+ 'fabric.editor.resultsCount': '{selectedMatchPosition} из {totalResultsCount}'
54
52
  };
@@ -30,7 +30,6 @@ export default {
30
30
  'fabric.editor.configPanel.invalid': 'Ogiltigt fält',
31
31
  'fabric.editor.configPanel.required': 'Obligatoriskt fält',
32
32
  'fabric.editor.configPanel.submit': 'Skicka in',
33
- 'fabric.editor.decisionPlaceholder': 'Lägg till ett beslut ...',
34
33
  'fabric.editor.edit': 'Redigera',
35
34
  'fabric.editor.editorAssistiveLabel': 'Huvudsakligt innehållsområde, börja skriva för att ange text.',
36
35
  'fabric.editor.editors': 'Redigerare',
@@ -49,6 +48,5 @@ export default {
49
48
  'fabric.editor.replace': 'Ersätt',
50
49
  'fabric.editor.replaceAll': 'Ersätt alla',
51
50
  'fabric.editor.replaceWith': 'Ersätt med',
52
- 'fabric.editor.resultsCount': '{selectedMatchPosition} av {totalResultsCount}',
53
- 'fabric.editor.taskPlaceholder': 'Skriv din åtgärd och använd @ för att tilldela någon.'
51
+ 'fabric.editor.resultsCount': '{selectedMatchPosition} av {totalResultsCount}'
54
52
  };
@@ -30,7 +30,6 @@ export default {
30
30
  'fabric.editor.configPanel.invalid': 'ฟิลด์ไม่ถูกต้อง',
31
31
  'fabric.editor.configPanel.required': 'ช่องที่ต้องกรอก',
32
32
  'fabric.editor.configPanel.submit': 'ส่ง',
33
- 'fabric.editor.decisionPlaceholder': 'เพิ่มการตัดสินใจ…',
34
33
  'fabric.editor.edit': 'แก้ไข',
35
34
  'fabric.editor.editorAssistiveLabel': 'พื้นที่เนื้อหาหลัก เริ่มพิมพ์เพื่อป้อนข้อความ',
36
35
  'fabric.editor.editors': 'บรรณาธิการ',
@@ -49,6 +48,5 @@ export default {
49
48
  'fabric.editor.replace': 'แทนที่',
50
49
  'fabric.editor.replaceAll': 'แทนที่ทั้งหมด',
51
50
  'fabric.editor.replaceWith': 'แทนที่ด้วย',
52
- 'fabric.editor.resultsCount': '{selectedMatchPosition} จาก {totalResultsCount}',
53
- 'fabric.editor.taskPlaceholder': "พิมพ์ข้อความของคุณ ใช้ '@' เพื่อมอบหมายให้ผู้ใช้ที่คุณเลือก"
51
+ 'fabric.editor.resultsCount': '{selectedMatchPosition} จาก {totalResultsCount}'
54
52
  };
@@ -30,7 +30,6 @@ export default {
30
30
  'fabric.editor.configPanel.invalid': 'Geçersiz alan',
31
31
  'fabric.editor.configPanel.required': 'Gerekli alan',
32
32
  'fabric.editor.configPanel.submit': 'Gönder',
33
- 'fabric.editor.decisionPlaceholder': 'Karar ekle…',
34
33
  'fabric.editor.edit': 'Düzenle',
35
34
  'fabric.editor.editorAssistiveLabel': 'Ana içerik alanı, metin girmek için yazmaya başlayın.',
36
35
  'fabric.editor.editors': 'Düzenleyiciler',
@@ -49,6 +48,5 @@ export default {
49
48
  'fabric.editor.replace': 'Değiştir',
50
49
  'fabric.editor.replaceAll': 'Tümünü değiştir',
51
50
  'fabric.editor.replaceWith': 'Yeni değer',
52
- 'fabric.editor.resultsCount': '{selectedMatchPosition}/{totalResultsCount}',
53
- 'fabric.editor.taskPlaceholder': "Yapılacak eylemi yazın, birine atamak için '@' kullanın."
51
+ 'fabric.editor.resultsCount': '{selectedMatchPosition}/{totalResultsCount}'
54
52
  };
@@ -30,7 +30,6 @@ export default {
30
30
  'fabric.editor.configPanel.invalid': 'Недопустиме значення поля',
31
31
  'fabric.editor.configPanel.required': 'Обов’язкове поле',
32
32
  'fabric.editor.configPanel.submit': 'Надіслати',
33
- 'fabric.editor.decisionPlaceholder': 'Додати рішення...',
34
33
  'fabric.editor.edit': 'Редагувати',
35
34
  'fabric.editor.editorAssistiveLabel': 'Основна область вмісту: почніть вводити текст.',
36
35
  'fabric.editor.editors': 'Редактори',
@@ -49,6 +48,5 @@ export default {
49
48
  'fabric.editor.replace': 'Замінити',
50
49
  'fabric.editor.replaceAll': 'Замінити всі',
51
50
  'fabric.editor.replaceWith': 'Замінити на',
52
- 'fabric.editor.resultsCount': '{selectedMatchPosition} з {totalResultsCount}',
53
- 'fabric.editor.taskPlaceholder': 'Вкажіть задачу. Призначте її комусь за допомогою символу «@».'
51
+ 'fabric.editor.resultsCount': '{selectedMatchPosition} з {totalResultsCount}'
54
52
  };
@@ -30,7 +30,6 @@ export default {
30
30
  'fabric.editor.configPanel.invalid': 'Trường không hợp lệ',
31
31
  'fabric.editor.configPanel.required': 'Trường bắt buộc',
32
32
  'fabric.editor.configPanel.submit': 'Gửi',
33
- 'fabric.editor.decisionPlaceholder': 'Thêm quyết định…',
34
33
  'fabric.editor.edit': 'Chỉnh sửa',
35
34
  'fabric.editor.editorAssistiveLabel': 'Vùng nội dung chính, bắt đầu gõ để nhập văn bản.',
36
35
  'fabric.editor.editors': 'Người chỉnh sửa',
@@ -49,6 +48,5 @@ export default {
49
48
  'fabric.editor.replace': 'Thay thế',
50
49
  'fabric.editor.replaceAll': 'Thay thế tất cả',
51
50
  'fabric.editor.replaceWith': 'Thay thế bằng',
52
- 'fabric.editor.resultsCount': '{selectedMatchPosition}/{totalResultsCount}',
53
- 'fabric.editor.taskPlaceholder': "Nhập thao tác của bạn, sử dụng '@' để chỉ định cho người nào đó."
51
+ 'fabric.editor.resultsCount': '{selectedMatchPosition}/{totalResultsCount}'
54
52
  };