@atlaskit/editor-core 189.3.9 → 189.3.11

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 (172) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/build/tsconfig.json +2 -1
  3. package/dist/cjs/i18n/cs.js +1 -17
  4. package/dist/cjs/i18n/da.js +1 -17
  5. package/dist/cjs/i18n/de.js +1 -17
  6. package/dist/cjs/i18n/en.js +1 -17
  7. package/dist/cjs/i18n/en_GB.js +1 -17
  8. package/dist/cjs/i18n/en_ZZ.js +1 -17
  9. package/dist/cjs/i18n/es.js +1 -17
  10. package/dist/cjs/i18n/fi.js +1 -17
  11. package/dist/cjs/i18n/fr.js +1 -17
  12. package/dist/cjs/i18n/hu.js +1 -17
  13. package/dist/cjs/i18n/it.js +1 -17
  14. package/dist/cjs/i18n/ja.js +1 -17
  15. package/dist/cjs/i18n/ko.js +1 -17
  16. package/dist/cjs/i18n/nb.js +1 -17
  17. package/dist/cjs/i18n/nl.js +1 -17
  18. package/dist/cjs/i18n/pl.js +1 -17
  19. package/dist/cjs/i18n/pt_BR.js +1 -17
  20. package/dist/cjs/i18n/ru.js +1 -17
  21. package/dist/cjs/i18n/sv.js +1 -17
  22. package/dist/cjs/i18n/th.js +1 -17
  23. package/dist/cjs/i18n/tr.js +1 -17
  24. package/dist/cjs/i18n/uk.js +1 -17
  25. package/dist/cjs/i18n/vi.js +1 -17
  26. package/dist/cjs/i18n/zh.js +1 -17
  27. package/dist/cjs/i18n/zh_TW.js +1 -17
  28. package/dist/cjs/plugins/extension/actions.js +135 -126
  29. package/dist/cjs/plugins/extension/extension-api.js +11 -9
  30. package/dist/cjs/plugins/extension/index.js +6 -4
  31. package/dist/cjs/plugins/extension/toolbar.js +5 -4
  32. package/dist/cjs/plugins/insert-block/index.js +2 -2
  33. package/dist/cjs/plugins/macro/actions.js +94 -93
  34. package/dist/cjs/ui/ErrorBoundary/index.js +0 -1
  35. package/dist/cjs/version-wrapper.js +1 -1
  36. package/dist/es2019/i18n/cs.js +1 -17
  37. package/dist/es2019/i18n/da.js +1 -17
  38. package/dist/es2019/i18n/de.js +1 -17
  39. package/dist/es2019/i18n/en.js +1 -17
  40. package/dist/es2019/i18n/en_GB.js +1 -17
  41. package/dist/es2019/i18n/en_ZZ.js +1 -17
  42. package/dist/es2019/i18n/es.js +1 -17
  43. package/dist/es2019/i18n/fi.js +1 -17
  44. package/dist/es2019/i18n/fr.js +1 -17
  45. package/dist/es2019/i18n/hu.js +1 -17
  46. package/dist/es2019/i18n/it.js +1 -17
  47. package/dist/es2019/i18n/ja.js +1 -17
  48. package/dist/es2019/i18n/ko.js +1 -17
  49. package/dist/es2019/i18n/nb.js +1 -17
  50. package/dist/es2019/i18n/nl.js +1 -17
  51. package/dist/es2019/i18n/pl.js +1 -17
  52. package/dist/es2019/i18n/pt_BR.js +1 -17
  53. package/dist/es2019/i18n/ru.js +1 -17
  54. package/dist/es2019/i18n/sv.js +1 -17
  55. package/dist/es2019/i18n/th.js +1 -17
  56. package/dist/es2019/i18n/tr.js +1 -17
  57. package/dist/es2019/i18n/uk.js +1 -17
  58. package/dist/es2019/i18n/vi.js +1 -17
  59. package/dist/es2019/i18n/zh.js +1 -17
  60. package/dist/es2019/i18n/zh_TW.js +1 -17
  61. package/dist/es2019/plugins/extension/actions.js +17 -11
  62. package/dist/es2019/plugins/extension/extension-api.js +11 -9
  63. package/dist/es2019/plugins/extension/index.js +6 -4
  64. package/dist/es2019/plugins/extension/toolbar.js +5 -4
  65. package/dist/es2019/plugins/insert-block/index.js +2 -2
  66. package/dist/es2019/plugins/macro/actions.js +3 -4
  67. package/dist/es2019/ui/ErrorBoundary/index.js +0 -1
  68. package/dist/es2019/version-wrapper.js +1 -1
  69. package/dist/esm/i18n/cs.js +1 -17
  70. package/dist/esm/i18n/da.js +1 -17
  71. package/dist/esm/i18n/de.js +1 -17
  72. package/dist/esm/i18n/en.js +1 -17
  73. package/dist/esm/i18n/en_GB.js +1 -17
  74. package/dist/esm/i18n/en_ZZ.js +1 -17
  75. package/dist/esm/i18n/es.js +1 -17
  76. package/dist/esm/i18n/fi.js +1 -17
  77. package/dist/esm/i18n/fr.js +1 -17
  78. package/dist/esm/i18n/hu.js +1 -17
  79. package/dist/esm/i18n/it.js +1 -17
  80. package/dist/esm/i18n/ja.js +1 -17
  81. package/dist/esm/i18n/ko.js +1 -17
  82. package/dist/esm/i18n/nb.js +1 -17
  83. package/dist/esm/i18n/nl.js +1 -17
  84. package/dist/esm/i18n/pl.js +1 -17
  85. package/dist/esm/i18n/pt_BR.js +1 -17
  86. package/dist/esm/i18n/ru.js +1 -17
  87. package/dist/esm/i18n/sv.js +1 -17
  88. package/dist/esm/i18n/th.js +1 -17
  89. package/dist/esm/i18n/tr.js +1 -17
  90. package/dist/esm/i18n/uk.js +1 -17
  91. package/dist/esm/i18n/vi.js +1 -17
  92. package/dist/esm/i18n/zh.js +1 -17
  93. package/dist/esm/i18n/zh_TW.js +1 -17
  94. package/dist/esm/plugins/extension/actions.js +135 -125
  95. package/dist/esm/plugins/extension/extension-api.js +11 -9
  96. package/dist/esm/plugins/extension/index.js +6 -4
  97. package/dist/esm/plugins/extension/toolbar.js +5 -4
  98. package/dist/esm/plugins/insert-block/index.js +2 -2
  99. package/dist/esm/plugins/macro/actions.js +94 -93
  100. package/dist/esm/ui/ErrorBoundary/index.js +0 -1
  101. package/dist/esm/version-wrapper.js +1 -1
  102. package/dist/types/i18n/cs.d.ts +0 -16
  103. package/dist/types/i18n/da.d.ts +0 -16
  104. package/dist/types/i18n/de.d.ts +0 -16
  105. package/dist/types/i18n/en.d.ts +0 -16
  106. package/dist/types/i18n/en_GB.d.ts +0 -16
  107. package/dist/types/i18n/en_ZZ.d.ts +0 -16
  108. package/dist/types/i18n/es.d.ts +0 -16
  109. package/dist/types/i18n/fi.d.ts +0 -16
  110. package/dist/types/i18n/fr.d.ts +0 -16
  111. package/dist/types/i18n/hu.d.ts +0 -16
  112. package/dist/types/i18n/it.d.ts +0 -16
  113. package/dist/types/i18n/ja.d.ts +0 -16
  114. package/dist/types/i18n/ko.d.ts +0 -16
  115. package/dist/types/i18n/nb.d.ts +0 -16
  116. package/dist/types/i18n/nl.d.ts +0 -16
  117. package/dist/types/i18n/pl.d.ts +0 -16
  118. package/dist/types/i18n/pt_BR.d.ts +0 -16
  119. package/dist/types/i18n/ru.d.ts +0 -16
  120. package/dist/types/i18n/sv.d.ts +0 -16
  121. package/dist/types/i18n/th.d.ts +0 -16
  122. package/dist/types/i18n/tr.d.ts +0 -16
  123. package/dist/types/i18n/uk.d.ts +0 -16
  124. package/dist/types/i18n/vi.d.ts +0 -16
  125. package/dist/types/i18n/zh.d.ts +0 -16
  126. package/dist/types/i18n/zh_TW.d.ts +0 -16
  127. package/dist/types/plugins/expand/pm-plugins/main.d.ts +2 -2
  128. package/dist/types/plugins/extension/actions.d.ts +5 -10
  129. package/dist/types/plugins/extension/extension-api.d.ts +3 -1
  130. package/dist/types/plugins/extension/toolbar.d.ts +3 -1
  131. package/dist/types/plugins/macro/actions.d.ts +2 -1
  132. package/dist/types/presets/default.d.ts +52 -4
  133. package/dist/types/ui/Appearance/FullPage/StyledComponents.d.ts +1 -1
  134. package/dist/types/ui/ConfigPanel/Fields/TabGroup.d.ts +0 -1
  135. package/dist/types/ui/ContentStyles/index.d.ts +2 -2
  136. package/dist/types-ts4.5/i18n/cs.d.ts +0 -16
  137. package/dist/types-ts4.5/i18n/da.d.ts +0 -16
  138. package/dist/types-ts4.5/i18n/de.d.ts +0 -16
  139. package/dist/types-ts4.5/i18n/en.d.ts +0 -16
  140. package/dist/types-ts4.5/i18n/en_GB.d.ts +0 -16
  141. package/dist/types-ts4.5/i18n/en_ZZ.d.ts +0 -16
  142. package/dist/types-ts4.5/i18n/es.d.ts +0 -16
  143. package/dist/types-ts4.5/i18n/fi.d.ts +0 -16
  144. package/dist/types-ts4.5/i18n/fr.d.ts +0 -16
  145. package/dist/types-ts4.5/i18n/hu.d.ts +0 -16
  146. package/dist/types-ts4.5/i18n/it.d.ts +0 -16
  147. package/dist/types-ts4.5/i18n/ja.d.ts +0 -16
  148. package/dist/types-ts4.5/i18n/ko.d.ts +0 -16
  149. package/dist/types-ts4.5/i18n/nb.d.ts +0 -16
  150. package/dist/types-ts4.5/i18n/nl.d.ts +0 -16
  151. package/dist/types-ts4.5/i18n/pl.d.ts +0 -16
  152. package/dist/types-ts4.5/i18n/pt_BR.d.ts +0 -16
  153. package/dist/types-ts4.5/i18n/ru.d.ts +0 -16
  154. package/dist/types-ts4.5/i18n/sv.d.ts +0 -16
  155. package/dist/types-ts4.5/i18n/th.d.ts +0 -16
  156. package/dist/types-ts4.5/i18n/tr.d.ts +0 -16
  157. package/dist/types-ts4.5/i18n/uk.d.ts +0 -16
  158. package/dist/types-ts4.5/i18n/vi.d.ts +0 -16
  159. package/dist/types-ts4.5/i18n/zh.d.ts +0 -16
  160. package/dist/types-ts4.5/i18n/zh_TW.d.ts +0 -16
  161. package/dist/types-ts4.5/plugins/expand/pm-plugins/main.d.ts +2 -2
  162. package/dist/types-ts4.5/plugins/extension/actions.d.ts +5 -10
  163. package/dist/types-ts4.5/plugins/extension/extension-api.d.ts +3 -1
  164. package/dist/types-ts4.5/plugins/extension/toolbar.d.ts +3 -1
  165. package/dist/types-ts4.5/plugins/macro/actions.d.ts +2 -1
  166. package/dist/types-ts4.5/presets/default.d.ts +60 -0
  167. package/dist/types-ts4.5/ui/Appearance/FullPage/StyledComponents.d.ts +1 -1
  168. package/dist/types-ts4.5/ui/ConfigPanel/Fields/TabGroup.d.ts +0 -1
  169. package/dist/types-ts4.5/ui/ContentStyles/index.d.ts +2 -2
  170. package/package.json +2 -2
  171. package/dist/types/stories/examples.d.ts +0 -9
  172. package/dist/types-ts4.5/stories/examples.d.ts +0 -9
@@ -2,7 +2,6 @@ import { Selection, NodeSelection, TextSelection } from '@atlaskit/editor-prosem
2
2
  import { replaceSelectedNode, findSelectedNodeOfType, replaceParentNodeOfType } from '@atlaskit/editor-prosemirror/utils';
3
3
  export { transformSliceToRemoveOpenBodiedExtension } from '@atlaskit/editor-common/transforms';
4
4
  import { ACTION, ACTION_SUBJECT, INPUT_METHOD, EVENT_TYPE } from '@atlaskit/editor-common/analytics';
5
- import { addAnalytics } from '../analytics';
6
5
  import { TARGET_SELECTION_SOURCE } from '../analytics/types/extension-events';
7
6
  import { findExtensionWithLocalId } from './utils';
8
7
  import { getPluginState } from './pm-plugins/main';
@@ -17,7 +16,7 @@ export const buildExtensionNode = (type, schema, attrs, content, marks) => {
17
16
  return schema.nodes.bodiedExtension.create(attrs, content, marks);
18
17
  }
19
18
  };
20
- export const performNodeUpdate = (type, newAttrs, content, marks, shouldScrollIntoView) => (_state, _dispatch, view) => {
19
+ export const performNodeUpdate = editorAnalyticsAPI => (type, newAttrs, content, marks, shouldScrollIntoView) => (_state, _dispatch, view) => {
21
20
  if (!view) {
22
21
  throw Error('EditorView is required to perform node update!');
23
22
  }
@@ -83,7 +82,7 @@ export const performNodeUpdate = (type, newAttrs, content, marks, shouldScrollIn
83
82
  layout,
84
83
  localId
85
84
  } = newNode.attrs;
86
- addAnalytics(state, tr, {
85
+ editorAnalyticsAPI === null || editorAnalyticsAPI === void 0 ? void 0 : editorAnalyticsAPI.attachAnalyticsEvent({
87
86
  action,
88
87
  actionSubject: ACTION_SUBJECT.EXTENSION,
89
88
  actionSubjectId: newNode.type.name,
@@ -97,12 +96,12 @@ export const performNodeUpdate = (type, newAttrs, content, marks, shouldScrollIn
97
96
  selection: tr.selection.toJSON(),
98
97
  targetSelectionSource
99
98
  }
100
- });
99
+ })(tr);
101
100
  dispatch(shouldScrollIntoView ? tr.scrollIntoView() : tr);
102
101
  }
103
102
  return true;
104
103
  };
105
- export const updateExtensionParams = (updateExtension, node, actions) => async (state, dispatch, view) => {
104
+ const updateExtensionParams = editorAnalyticsAPI => (updateExtension, node, actions) => async (state, dispatch, view) => {
106
105
  const {
107
106
  attrs,
108
107
  type,
@@ -125,7 +124,7 @@ export const updateExtensionParams = (updateExtension, node, actions) => async (
125
124
  ...newParameters
126
125
  }
127
126
  };
128
- return performNodeUpdate(type.name, newAttrs, content, marks, true)(state, dispatch, view);
127
+ return performNodeUpdate(editorAnalyticsAPI)(type.name, newAttrs, content, marks, true)(state, dispatch, view);
129
128
  }
130
129
  } catch {}
131
130
  return true;
@@ -136,9 +135,14 @@ export const editSelectedExtension = editorActions => {
136
135
  updateExtension,
137
136
  applyChangeToContextPanel
138
137
  } = getPluginState(editorView.state);
139
- return editExtension(null, applyChangeToContextPanel, updateExtension)(editorView.state, editorView.dispatch, editorView);
138
+ // The analytics API cannot be accessed in this case because
139
+ // we do not have access to the plugin injection API. Rather
140
+ // than change the way this works - we just won't use analytics
141
+ // here for now.
142
+ const editorAnalyticsAPI = undefined;
143
+ return editExtension(null, applyChangeToContextPanel, editorAnalyticsAPI, updateExtension)(editorView.state, editorView.dispatch, editorView);
140
144
  };
141
- export const editExtension = (macroProvider, applyChangeToContextPanel, updateExtension) => (state, dispatch, view) => {
145
+ export const editExtension = (macroProvider, applyChangeToContextPanel, editorAnalyticsAPI, updateExtension) => (state, dispatch, view) => {
142
146
  if (!view) {
143
147
  return false;
144
148
  }
@@ -151,7 +155,8 @@ export const editExtension = (macroProvider, applyChangeToContextPanel, updateEx
151
155
  }
152
156
  const editInLegacyMacroBrowser = getEditInLegacyMacroBrowser({
153
157
  view,
154
- macroProvider: macroProvider || undefined
158
+ macroProvider: macroProvider || undefined,
159
+ editorAnalyticsAPI
155
160
  });
156
161
  if (updateExtension) {
157
162
  updateExtension.then(updateMethod => {
@@ -159,9 +164,10 @@ export const editExtension = (macroProvider, applyChangeToContextPanel, updateEx
159
164
  const actions = createExtensionAPI({
160
165
  editorView: view,
161
166
  editInLegacyMacroBrowser,
162
- applyChange: applyChangeToContextPanel
167
+ applyChange: applyChangeToContextPanel,
168
+ editorAnalyticsAPI
163
169
  });
164
- updateExtensionParams(updateMethod, nodeWithPos, actions)(state, dispatch, view);
170
+ updateExtensionParams(editorAnalyticsAPI)(updateMethod, nodeWithPos, actions)(state, dispatch, view);
165
171
  return;
166
172
  }
167
173
  if (!updateMethod && macroProvider) {
@@ -8,11 +8,11 @@ import { nodeToJSON } from '../../utils';
8
8
  import { setEditingContextToContextPanel } from './commands';
9
9
  import { findNodePosWithLocalId, getDataConsumerMark, getNodeTypesReferenced, getSelectedExtension } from './utils';
10
10
  import { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, EVENT_TYPE, INPUT_METHOD } from '@atlaskit/editor-common/analytics';
11
- import { addAnalytics } from '../analytics';
12
11
  import { setTextSelection } from '@atlaskit/editor-prosemirror/utils';
13
12
  export const getEditInLegacyMacroBrowser = ({
14
13
  view,
15
- macroProvider
14
+ macroProvider,
15
+ editorAnalyticsAPI
16
16
  }) => {
17
17
  return () => {
18
18
  if (!view) {
@@ -25,7 +25,7 @@ export const getEditInLegacyMacroBrowser = ({
25
25
  if (!nodeWithPos) {
26
26
  throw new Error(`Missing nodeWithPos. Can't determine position of node`);
27
27
  }
28
- insertMacroFromMacroBrowser(macroProvider, nodeWithPos.node, true)(view);
28
+ insertMacroFromMacroBrowser(editorAnalyticsAPI)(macroProvider, nodeWithPos.node, true)(view);
29
29
  };
30
30
  };
31
31
  const extensionAPICallPayload = functionName => ({
@@ -43,7 +43,8 @@ export const createExtensionAPI = options => {
43
43
  state: {
44
44
  schema
45
45
  }
46
- }
46
+ },
47
+ editorAnalyticsAPI
47
48
  } = options;
48
49
  const nodes = Object.keys(schema.nodes);
49
50
  const marks = Object.keys(schema.marks);
@@ -121,7 +122,7 @@ export const createExtensionAPI = options => {
121
122
 
122
123
  // Analytics - tracking the api call
123
124
  const apiCallPayload = extensionAPICallPayload('insertAfter');
124
- addAnalytics(state, tr, apiCallPayload);
125
+ editorAnalyticsAPI === null || editorAnalyticsAPI === void 0 ? void 0 : editorAnalyticsAPI.attachAnalyticsEvent(apiCallPayload)(tr);
125
126
 
126
127
  // Analytics - tracking node types added
127
128
  const nodesAdded = [newNode];
@@ -154,7 +155,7 @@ export const createExtensionAPI = options => {
154
155
  },
155
156
  eventType: EVENT_TYPE.TRACK
156
157
  };
157
- addAnalytics(state, tr, payload);
158
+ editorAnalyticsAPI === null || editorAnalyticsAPI === void 0 ? void 0 : editorAnalyticsAPI.attachAnalyticsEvent(payload)(tr);
158
159
  });
159
160
  if (opt && opt.allowSelectionToNewNode) {
160
161
  tr.setSelection(new NodeSelection(tr.doc.resolve(insertPosition)));
@@ -177,7 +178,7 @@ export const createExtensionAPI = options => {
177
178
  let {
178
179
  tr
179
180
  } = state;
180
- tr = addAnalytics(state, tr, apiCallPayload);
181
+ editorAnalyticsAPI === null || editorAnalyticsAPI === void 0 ? void 0 : editorAnalyticsAPI.attachAnalyticsEvent(apiCallPayload)(tr);
181
182
  tr = setTextSelection(nodePos.pos)(tr);
182
183
  tr = tr.scrollIntoView();
183
184
  dispatch(tr);
@@ -252,7 +253,7 @@ export const createExtensionAPI = options => {
252
253
 
253
254
  // Analytics - tracking the api call
254
255
  const apiCallPayload = extensionAPICallPayload('update');
255
- addAnalytics(state, tr, apiCallPayload);
256
+ editorAnalyticsAPI === null || editorAnalyticsAPI === void 0 ? void 0 : editorAnalyticsAPI.attachAnalyticsEvent(apiCallPayload)(tr);
256
257
  dispatch(tr);
257
258
  }
258
259
  };
@@ -272,7 +273,8 @@ export const createExtensionAPI = options => {
272
273
  const macroState = macroPluginKey.getState(editorView.state);
273
274
  editInLegacy = getEditInLegacyMacroBrowser({
274
275
  view: options.editorView,
275
- macroProvider: (macroState === null || macroState === void 0 ? void 0 : macroState.macroProvider) || undefined
276
+ macroProvider: (macroState === null || macroState === void 0 ? void 0 : macroState.macroProvider) || undefined,
277
+ editorAnalyticsAPI
276
278
  });
277
279
  }
278
280
  editInLegacy();
@@ -10,7 +10,7 @@ const extensionPlugin = ({
10
10
  config: options = {},
11
11
  api
12
12
  }) => {
13
- var _api$featureFlags, _api$contextPanel3, _api$contextPanel4;
13
+ var _api$featureFlags, _api$contextPanel3, _api$analytics2, _api$contextPanel4;
14
14
  const featureFlags = (api === null || api === void 0 ? void 0 : (_api$featureFlags = api.featureFlags) === null || _api$featureFlags === void 0 ? void 0 : _api$featureFlags.sharedState.currentState()) || {};
15
15
  //Note: This is a hack to get the editor view reference in the plugin. Copied from table plugin.
16
16
  //This is needed to get the current selection in the editor
@@ -72,10 +72,11 @@ const extensionPlugin = ({
72
72
  },
73
73
  actions: {
74
74
  api: () => {
75
- var _api$contextPanel2;
75
+ var _api$contextPanel2, _api$analytics;
76
76
  return createExtensionAPI({
77
77
  editorView: editorViewRef.current,
78
- applyChange: api === null || api === void 0 ? void 0 : (_api$contextPanel2 = api.contextPanel) === null || _api$contextPanel2 === void 0 ? void 0 : _api$contextPanel2.actions.applyChange
78
+ applyChange: api === null || api === void 0 ? void 0 : (_api$contextPanel2 = api.contextPanel) === null || _api$contextPanel2 === void 0 ? void 0 : _api$contextPanel2.actions.applyChange,
79
+ editorAnalyticsAPI: api === null || api === void 0 ? void 0 : (_api$analytics = api.analytics) === null || _api$analytics === void 0 ? void 0 : _api$analytics.actions
79
80
  });
80
81
  }
81
82
  },
@@ -83,7 +84,8 @@ const extensionPlugin = ({
83
84
  floatingToolbar: getToolbarConfig({
84
85
  breakoutEnabled: options.breakoutEnabled,
85
86
  hoverDecoration: api === null || api === void 0 ? void 0 : api.decorations.actions.hoverDecoration,
86
- applyChangeToContextPanel: api === null || api === void 0 ? void 0 : (_api$contextPanel3 = api.contextPanel) === null || _api$contextPanel3 === void 0 ? void 0 : _api$contextPanel3.actions.applyChange
87
+ applyChangeToContextPanel: api === null || api === void 0 ? void 0 : (_api$contextPanel3 = api.contextPanel) === null || _api$contextPanel3 === void 0 ? void 0 : _api$contextPanel3.actions.applyChange,
88
+ editorAnalyticsAPI: api === null || api === void 0 ? void 0 : (_api$analytics2 = api.analytics) === null || _api$analytics2 === void 0 ? void 0 : _api$analytics2.actions
87
89
  }),
88
90
  contextPanel: getContextPanel(options.allowAutoSave, featureFlags, api === null || api === void 0 ? void 0 : (_api$contextPanel4 = api.contextPanel) === null || _api$contextPanel4 === void 0 ? void 0 : _api$contextPanel4.actions.applyChange)
89
91
  }
@@ -95,7 +95,7 @@ const breakoutOptions = (state, formatMessage, extensionState, breakoutEnabled)
95
95
  }
96
96
  return [];
97
97
  };
98
- const editButton = (formatMessage, extensionState, applyChangeToContextPanel) => {
98
+ const editButton = (formatMessage, extensionState, applyChangeToContextPanel, editorAnalyticsAPI) => {
99
99
  if (!extensionState.showEditButton) {
100
100
  return [];
101
101
  }
@@ -110,7 +110,7 @@ const editButton = (formatMessage, extensionState, applyChangeToContextPanel) =>
110
110
  const {
111
111
  updateExtension
112
112
  } = getPluginState(state);
113
- editExtension(macroState && macroState.macroProvider, applyChangeToContextPanel, updateExtension)(state, dispatch, view);
113
+ editExtension(macroState && macroState.macroProvider, applyChangeToContextPanel, editorAnalyticsAPI, updateExtension)(state, dispatch, view);
114
114
  return true;
115
115
  },
116
116
  title: formatMessage(messages.edit),
@@ -121,7 +121,8 @@ const editButton = (formatMessage, extensionState, applyChangeToContextPanel) =>
121
121
  export const getToolbarConfig = ({
122
122
  breakoutEnabled = true,
123
123
  hoverDecoration,
124
- applyChangeToContextPanel
124
+ applyChangeToContextPanel,
125
+ editorAnalyticsAPI
125
126
  }) => (state, intl) => {
126
127
  const {
127
128
  formatMessage
@@ -129,7 +130,7 @@ export const getToolbarConfig = ({
129
130
  const extensionState = getPluginState(state);
130
131
  if (extensionState && !extensionState.showContextPanel && extensionState.element) {
131
132
  const nodeType = [state.schema.nodes.extension, state.schema.nodes.inlineExtension, state.schema.nodes.bodiedExtension];
132
- const editButtonArray = editButton(formatMessage, extensionState, applyChangeToContextPanel);
133
+ const editButtonArray = editButton(formatMessage, extensionState, applyChangeToContextPanel, editorAnalyticsAPI);
133
134
  const breakoutButtonArray = breakoutOptions(state, formatMessage, extensionState, breakoutEnabled);
134
135
  const extensionObj = getSelectedExtension(state, true);
135
136
 
@@ -116,7 +116,7 @@ function ToolbarInsertBlockWithInjectionApi({
116
116
  macroState,
117
117
  featureFlags
118
118
  }) {
119
- var _ref, _ref2, _pluginInjectionApi$i, _pluginInjectionApi$c, _pluginInjectionApi$p, _pluginInjectionApi$b;
119
+ var _ref, _ref2, _pluginInjectionApi$i, _pluginInjectionApi$c, _pluginInjectionApi$p, _pluginInjectionApi$b, _pluginInjectionApi$a;
120
120
  const buttons = toolbarSizeToButtons(toolbarSize);
121
121
  const {
122
122
  dateState,
@@ -159,7 +159,7 @@ function ToolbarInsertBlockWithInjectionApi({
159
159
  nativeStatusSupported: options.nativeStatusSupported,
160
160
  horizontalRuleEnabled: options.horizontalRuleEnabled,
161
161
  onInsertBlockType: handleInsertBlockType(pluginInjectionApi === null || pluginInjectionApi === void 0 ? void 0 : (_pluginInjectionApi$c = pluginInjectionApi.codeBlock) === null || _pluginInjectionApi$c === void 0 ? void 0 : _pluginInjectionApi$c.actions.insertCodeBlock, pluginInjectionApi === null || pluginInjectionApi === void 0 ? void 0 : (_pluginInjectionApi$p = pluginInjectionApi.panel) === null || _pluginInjectionApi$p === void 0 ? void 0 : _pluginInjectionApi$p.actions.insertPanel, pluginInjectionApi === null || pluginInjectionApi === void 0 ? void 0 : (_pluginInjectionApi$b = pluginInjectionApi.blockType) === null || _pluginInjectionApi$b === void 0 ? void 0 : _pluginInjectionApi$b.actions.insertBlockQuote),
162
- onInsertMacroFromMacroBrowser: insertMacroFromMacroBrowser,
162
+ onInsertMacroFromMacroBrowser: insertMacroFromMacroBrowser(pluginInjectionApi === null || pluginInjectionApi === void 0 ? void 0 : (_pluginInjectionApi$a = pluginInjectionApi.analytics) === null || _pluginInjectionApi$a === void 0 ? void 0 : _pluginInjectionApi$a.actions),
163
163
  macroProvider: macroState.macroProvider,
164
164
  popupsMountPoint: popupsMountPoint,
165
165
  popupsBoundariesElement: popupsBoundariesElement,
@@ -5,10 +5,9 @@ import { getValidNode } from '@atlaskit/editor-common/validator';
5
5
  import { normaliseNestedLayout } from '@atlaskit/editor-common/insert';
6
6
  import { getPluginState as getExtensionPluginState } from '../extension/plugin-factory';
7
7
  import { ACTION, ACTION_SUBJECT, INPUT_METHOD, EVENT_TYPE } from '@atlaskit/editor-common/analytics';
8
- import { addAnalytics } from '../analytics';
9
8
  import { TARGET_SELECTION_SOURCE } from '../analytics/types/extension-events';
10
9
  import { pluginKey } from './plugin-key';
11
- export const insertMacroFromMacroBrowser = (macroProvider, macroNode, isEditing) => async view => {
10
+ export const insertMacroFromMacroBrowser = editorAnalyticsAPI => (macroProvider, macroNode, isEditing) => async view => {
12
11
  if (!macroProvider) {
13
12
  return false;
14
13
  }
@@ -75,7 +74,7 @@ export const insertMacroFromMacroBrowser = (macroProvider, macroNode, isEditing)
75
74
  layout,
76
75
  localId
77
76
  } = macroNode.attrs;
78
- addAnalytics(state, tr, {
77
+ editorAnalyticsAPI === null || editorAnalyticsAPI === void 0 ? void 0 : editorAnalyticsAPI.attachAnalyticsEvent({
79
78
  action: ACTION.UPDATED,
80
79
  actionSubject: ACTION_SUBJECT.EXTENSION,
81
80
  actionSubjectId: macroNode.type.name,
@@ -89,7 +88,7 @@ export const insertMacroFromMacroBrowser = (macroProvider, macroNode, isEditing)
89
88
  selection: tr.selection.toJSON(),
90
89
  targetSelectionSource
91
90
  }
92
- });
91
+ })(tr);
93
92
  dispatch(tr.scrollIntoView());
94
93
  }
95
94
  return true;
@@ -25,7 +25,6 @@ export class ErrorBoundary extends React.Component {
25
25
  attributes: {
26
26
  error,
27
27
  errorInfo,
28
- // @ts-expect-error
29
28
  errorRethrown: !this.hasFallback()
30
29
  }
31
30
  });
@@ -1,2 +1,2 @@
1
1
  export const name = "@atlaskit/editor-core";
2
- export const version = "189.3.9";
2
+ export const version = "189.3.11";
@@ -34,7 +34,6 @@ export default {
34
34
  'fabric.editor.edit': 'Upravit',
35
35
  'fabric.editor.editorAssistiveLabel': 'Hlavní oblast obsahu. Začněte psát, abyste zadali text.',
36
36
  'fabric.editor.editors': 'Editoři',
37
- 'fabric.editor.error': 'Chyba',
38
37
  'fabric.editor.extension.confirmDeleteLinkedModalMessage': 'Vymazání rozšíření {nodeName} způsobí, že všechny k němu připojené položky přestanou fungovat.',
39
38
  'fabric.editor.extension.confirmDeleteLinkedModalOKButton': 'Vymazat',
40
39
  'fabric.editor.extension.deleteElementTitle': 'Vymazat prvek',
@@ -47,28 +46,13 @@ export default {
47
46
  'fabric.editor.floatingToolbar.confirmModalCheckboxLabel': 'Vymazat také všechny připojené prvky',
48
47
  'fabric.editor.headingLink.toolbarHelpTitle': 'Otevřít dialog nápovědy',
49
48
  'fabric.editor.indent': 'Zvětšit odsazení',
50
- 'fabric.editor.info': 'Informace',
51
- 'fabric.editor.leftSidebar': 'Levý postranní panel',
52
49
  'fabric.editor.matchCase': 'Rozlišovat malá a velká písmena',
53
50
  'fabric.editor.noResultsFound': 'Žádné výsledky',
54
- 'fabric.editor.note': 'Poznámka',
55
51
  'fabric.editor.outdent': 'Zmenšit odsazení',
56
- 'fabric.editor.panel.backgroundColor': 'Barva pozadí',
57
- 'fabric.editor.panel.emoji': 'Přidat emoji',
58
- 'fabric.editor.placeholderTextPlaceholder': 'Přidat text placeholderu.',
59
52
  'fabric.editor.replace': 'Nahradit',
60
53
  'fabric.editor.replaceAll': 'Nahradit vše',
61
54
  'fabric.editor.replaceWith': 'Nahradit textem',
62
55
  'fabric.editor.resultsCount': '{selectedMatchPosition} z {totalResultsCount}',
63
- 'fabric.editor.rightSidebar': 'Pravý postranní panel',
64
56
  'fabric.editor.selectLanguage': 'Vyberte programovací jazyk',
65
- 'fabric.editor.single': 'Jeden sloupec',
66
- 'fabric.editor.success': 'Úspěch',
67
- 'fabric.editor.taskPlaceholder': 'Napište svou akci a použitím „@“ ji někomu přidělte.',
68
- 'fabric.editor.threeColumns': 'Tři sloupce',
69
- 'fabric.editor.threeColumnsWithSidebars': 'Tři sloupce s postranními panely',
70
- 'fabric.editor.twoColumns': 'Dva sloupce',
71
- 'fabric.editor.warning': 'Varování',
72
- 'fabric.editor.wrapLeft': 'Sbalit vpravo',
73
- 'fabric.editor.wrapRight': 'Sbalit vlevo'
57
+ 'fabric.editor.taskPlaceholder': 'Napište svou akci a použitím „@“ ji někomu přidělte.'
74
58
  };
@@ -34,7 +34,6 @@ export default {
34
34
  'fabric.editor.edit': 'Redigér',
35
35
  'fabric.editor.editorAssistiveLabel': 'Område for hovedindhold. Begynd at taste for at skrive tekst.',
36
36
  'fabric.editor.editors': 'Redaktører',
37
- 'fabric.editor.error': 'Fejl',
38
37
  'fabric.editor.extension.confirmDeleteLinkedModalMessage': 'Hvis du sletter {nodeName}, brydes forbindelsen til alt, der er forbundet til den.',
39
38
  'fabric.editor.extension.confirmDeleteLinkedModalOKButton': 'Slet',
40
39
  'fabric.editor.extension.deleteElementTitle': 'Slet element',
@@ -46,28 +45,13 @@ export default {
46
45
  'fabric.editor.floatingToolbar.confirmModalCheckboxLabel': 'Slet også forbundne elementer',
47
46
  'fabric.editor.headingLink.toolbarHelpTitle': 'Åbn dialogboksen Hjælp',
48
47
  'fabric.editor.indent': 'Ryk ind',
49
- 'fabric.editor.info': 'Info',
50
- 'fabric.editor.leftSidebar': 'Venstre sidebjælke',
51
48
  'fabric.editor.matchCase': 'Match store/små bogstaver',
52
49
  'fabric.editor.noResultsFound': 'Ingen resultater',
53
- 'fabric.editor.note': 'Note',
54
50
  'fabric.editor.outdent': 'Ryk ud',
55
- 'fabric.editor.panel.backgroundColor': 'Baggrundsfarve',
56
- 'fabric.editor.panel.emoji': 'Tilføj emoji',
57
- 'fabric.editor.placeholderTextPlaceholder': 'Tilføj midlertidig tekst',
58
51
  'fabric.editor.replace': 'Erstat',
59
52
  'fabric.editor.replaceAll': 'Erstat alle',
60
53
  'fabric.editor.replaceWith': 'Erstat med',
61
54
  'fabric.editor.resultsCount': '{selectedMatchPosition} af {totalResultsCount}',
62
- 'fabric.editor.rightSidebar': 'Højre sidebjælke',
63
55
  'fabric.editor.selectLanguage': 'Vælg sprog',
64
- 'fabric.editor.single': 'Enkelt kolonne',
65
- 'fabric.editor.success': 'Succes',
66
- 'fabric.editor.taskPlaceholder': 'Indtast din handling, og brug "@" for at tildele til nogen.',
67
- 'fabric.editor.threeColumns': 'Tre kolonner',
68
- 'fabric.editor.threeColumnsWithSidebars': 'Tre kolonner med sidebjælker',
69
- 'fabric.editor.twoColumns': 'To kolonner',
70
- 'fabric.editor.warning': 'Advarsel',
71
- 'fabric.editor.wrapLeft': 'Skub til venstre',
72
- 'fabric.editor.wrapRight': 'Skub til højre'
56
+ 'fabric.editor.taskPlaceholder': 'Indtast din handling, og brug "@" for at tildele til nogen.'
73
57
  };
@@ -34,7 +34,6 @@ export default {
34
34
  'fabric.editor.edit': 'Bearbeiten',
35
35
  'fabric.editor.editorAssistiveLabel': 'Hauptinhaltsbereich – geben Sie hier Ihren Text ein.',
36
36
  'fabric.editor.editors': 'Editoren',
37
- 'fabric.editor.error': 'Fehler',
38
37
  'fabric.editor.extension.confirmDeleteLinkedModalMessage': 'Durch das Löschen von {nodeName} werden alle damit verbundenen Elemente unbrauchbar.',
39
38
  'fabric.editor.extension.confirmDeleteLinkedModalOKButton': 'Löschen',
40
39
  'fabric.editor.extension.deleteElementTitle': 'Element löschen',
@@ -46,28 +45,13 @@ export default {
46
45
  'fabric.editor.floatingToolbar.confirmModalCheckboxLabel': 'Verbundene Elemente ebenfalls löschen',
47
46
  'fabric.editor.headingLink.toolbarHelpTitle': 'Hilfe öffnen',
48
47
  'fabric.editor.indent': 'Einzug vergrößern',
49
- 'fabric.editor.info': 'Info',
50
- 'fabric.editor.leftSidebar': 'Linke Seitenleiste',
51
48
  'fabric.editor.matchCase': 'Groß-/Kleinschreibung beachten',
52
49
  'fabric.editor.noResultsFound': 'Keine Ergebnisse',
53
- 'fabric.editor.note': 'Hinweis',
54
50
  'fabric.editor.outdent': 'Einzug verkleinern',
55
- 'fabric.editor.panel.backgroundColor': 'Hintergrundfarbe',
56
- 'fabric.editor.panel.emoji': 'Emoji hinzufügen',
57
- 'fabric.editor.placeholderTextPlaceholder': 'Platzhaltertext hinzufügen',
58
51
  'fabric.editor.replace': 'Ersetzen',
59
52
  'fabric.editor.replaceAll': 'Alle ersetzen',
60
53
  'fabric.editor.replaceWith': 'Ersetzen mit',
61
54
  'fabric.editor.resultsCount': '{selectedMatchPosition} von {totalResultsCount}',
62
- 'fabric.editor.rightSidebar': 'Rechte Seitenleiste',
63
55
  'fabric.editor.selectLanguage': 'Sprache auswählen',
64
- 'fabric.editor.single': 'Einzelne Spalte',
65
- 'fabric.editor.success': 'Erfolgreich',
66
- 'fabric.editor.taskPlaceholder': 'Geben Sie Ihre Aktion ein und weisen Sie sie mithilfe von „@” jemandem zu.',
67
- 'fabric.editor.threeColumns': 'Drei Spalten',
68
- 'fabric.editor.threeColumnsWithSidebars': 'Drei Spalten mit Seitenleisten',
69
- 'fabric.editor.twoColumns': 'Zwei Spalten',
70
- 'fabric.editor.warning': 'Warnung',
71
- 'fabric.editor.wrapLeft': 'Links umwickeln',
72
- 'fabric.editor.wrapRight': 'Rechts umwickeln'
56
+ 'fabric.editor.taskPlaceholder': 'Geben Sie Ihre Aktion ein und weisen Sie sie mithilfe von „@” jemandem zu.'
73
57
  };
@@ -35,7 +35,6 @@ export default {
35
35
  'fabric.editor.edit': 'Edit',
36
36
  'fabric.editor.editorAssistiveLabel': 'Main content area, start typing to enter text.',
37
37
  'fabric.editor.editors': 'Editors',
38
- 'fabric.editor.error': 'Error',
39
38
  'fabric.editor.extension.confirmDeleteLinkedModalMessage': 'Deleting {nodeName} will break anything connected to it.',
40
39
  'fabric.editor.extension.confirmDeleteLinkedModalOKButton': 'Delete',
41
40
  'fabric.editor.extension.deleteElementTitle': 'Delete element',
@@ -48,28 +47,13 @@ export default {
48
47
  'fabric.editor.floatingToolbar.confirmModalCheckboxLabel': 'Also delete connected elements',
49
48
  'fabric.editor.headingLink.toolbarHelpTitle': 'Open help dialog',
50
49
  'fabric.editor.indent': 'Indent',
51
- 'fabric.editor.info': 'Info',
52
- 'fabric.editor.leftSidebar': 'Left sidebar',
53
50
  'fabric.editor.matchCase': 'Match case',
54
51
  'fabric.editor.noResultsFound': 'No results',
55
- 'fabric.editor.note': 'Note',
56
52
  'fabric.editor.outdent': 'Outdent',
57
- 'fabric.editor.panel.backgroundColor': 'Background color',
58
- 'fabric.editor.panel.emoji': 'Add emoji',
59
- 'fabric.editor.placeholderTextPlaceholder': 'Add placeholder text',
60
53
  'fabric.editor.replace': 'Replace',
61
54
  'fabric.editor.replaceAll': 'Replace all',
62
55
  'fabric.editor.replaceWith': 'Replace with',
63
56
  'fabric.editor.resultsCount': '{selectedMatchPosition} of {totalResultsCount}',
64
- 'fabric.editor.rightSidebar': 'Right sidebar',
65
57
  'fabric.editor.selectLanguage': 'Select language',
66
- 'fabric.editor.single': 'Single column',
67
- 'fabric.editor.success': 'Success',
68
- 'fabric.editor.taskPlaceholder': "Type your action, use '@' to assign to someone.",
69
- 'fabric.editor.threeColumns': 'Three columns',
70
- 'fabric.editor.threeColumnsWithSidebars': 'Three columns with sidebars',
71
- 'fabric.editor.twoColumns': 'Two columns',
72
- 'fabric.editor.warning': 'Warning',
73
- 'fabric.editor.wrapLeft': 'Wrap left',
74
- 'fabric.editor.wrapRight': 'Wrap right'
58
+ 'fabric.editor.taskPlaceholder': "Type your action, use '@' to assign to someone."
75
59
  };
@@ -35,7 +35,6 @@ export default {
35
35
  'fabric.editor.edit': 'Edit',
36
36
  'fabric.editor.editorAssistiveLabel': 'Main content area, start typing to enter text.',
37
37
  'fabric.editor.editors': 'Editors',
38
- 'fabric.editor.error': 'Error',
39
38
  'fabric.editor.extension.confirmDeleteLinkedModalMessage': 'Deleting {nodeName} will break anything connected to it.',
40
39
  'fabric.editor.extension.confirmDeleteLinkedModalOKButton': 'Delete',
41
40
  'fabric.editor.extension.deleteElementTitle': 'Delete element',
@@ -48,28 +47,13 @@ export default {
48
47
  'fabric.editor.floatingToolbar.confirmModalCheckboxLabel': 'Also delete connected elements',
49
48
  'fabric.editor.headingLink.toolbarHelpTitle': 'Open help dialog',
50
49
  'fabric.editor.indent': 'Indent',
51
- 'fabric.editor.info': 'Info',
52
- 'fabric.editor.leftSidebar': 'Left sidebar',
53
50
  'fabric.editor.matchCase': 'Match case',
54
51
  'fabric.editor.noResultsFound': 'No results',
55
- 'fabric.editor.note': 'Note',
56
52
  'fabric.editor.outdent': 'Outdent',
57
- 'fabric.editor.panel.backgroundColor': 'Background colour',
58
- 'fabric.editor.panel.emoji': 'Add emoji',
59
- 'fabric.editor.placeholderTextPlaceholder': 'Add placeholder text',
60
53
  'fabric.editor.replace': 'Replace',
61
54
  'fabric.editor.replaceAll': 'Replace all',
62
55
  'fabric.editor.replaceWith': 'Replace with',
63
56
  'fabric.editor.resultsCount': '{selectedMatchPosition} of {totalResultsCount}',
64
- 'fabric.editor.rightSidebar': 'Right sidebar',
65
57
  'fabric.editor.selectLanguage': 'Select language',
66
- 'fabric.editor.single': 'Single column',
67
- 'fabric.editor.success': 'Success',
68
- 'fabric.editor.taskPlaceholder': "Type your action, use '@' to assign to someone.",
69
- 'fabric.editor.threeColumns': 'Three columns',
70
- 'fabric.editor.threeColumnsWithSidebars': 'Three columns with sidebars',
71
- 'fabric.editor.twoColumns': 'Two columns',
72
- 'fabric.editor.warning': 'Warning',
73
- 'fabric.editor.wrapLeft': 'Wrap left',
74
- 'fabric.editor.wrapRight': 'Wrap right'
58
+ 'fabric.editor.taskPlaceholder': "Type your action, use '@' to assign to someone."
75
59
  };
@@ -35,7 +35,6 @@ export default {
35
35
  'fabric.editor.edit': '⁣⁢Edit‍‌⁠⁡⁠⁡⁡⁠⁣⁤',
36
36
  'fabric.editor.editorAssistiveLabel': '⁣⁢Main content area, start typing to enter text.‍‌⁡‌‌⁡؜؜⁣⁤',
37
37
  'fabric.editor.editors': '⁣⁢Editors‍؜‌‍⁡‍⁠⁡؜‌‌⁡⁣⁤',
38
- 'fabric.editor.error': '⁣⁢Error؜‌⁡‌؜⁡‌⁣⁤',
39
38
  'fabric.editor.extension.confirmDeleteLinkedModalMessage': '⁣⁢Deleting {nodeName} will break anything connected to it.‍‍‌؜⁠⁡⁠⁣⁤',
40
39
  'fabric.editor.extension.confirmDeleteLinkedModalOKButton': '⁣⁢Delete⁠؜‌‍⁠⁠⁣⁤',
41
40
  'fabric.editor.extension.deleteElementTitle': '⁣⁢Delete element⁠؜⁠⁡‍؜⁣⁤',
@@ -48,28 +47,13 @@ export default {
48
47
  'fabric.editor.floatingToolbar.confirmModalCheckboxLabel': '⁣⁢Also delete connected elements؜؜؜؜؜‍⁡‍‌؜‌‌؜‍⁣⁤',
49
48
  'fabric.editor.headingLink.toolbarHelpTitle': '⁣⁢Open help dialog‌⁡‌⁠‌⁠⁣⁤',
50
49
  'fabric.editor.indent': '⁣⁢Indent‌⁠‌⁠‍⁡⁣⁤',
51
- 'fabric.editor.info': '⁣⁢Info⁡⁡‌⁡⁠؜؜‌‍⁠⁣⁤',
52
- 'fabric.editor.leftSidebar': '⁣⁢Left sidebar⁡‍‍‍‍⁣⁤',
53
50
  'fabric.editor.matchCase': '⁣⁢Match case‌‌⁠⁡‍؜‍‍‌؜⁡⁡⁠‍⁣⁤',
54
51
  'fabric.editor.noResultsFound': '⁣⁢No results‍؜‌‌‌؜⁡⁣⁤',
55
- 'fabric.editor.note': '⁣⁢Note⁠⁠؜⁡‌؜‍‌‍‍‌⁡⁣⁤',
56
52
  'fabric.editor.outdent': '⁣⁢Outdent‍‍؜؜‌‌‍‍⁡⁣⁤',
57
- 'fabric.editor.panel.backgroundColor': '⁣⁢Background color⁡⁡‌‍‌⁡؜‌‍⁡‌⁡⁡⁣⁤',
58
- 'fabric.editor.panel.emoji': '⁣⁢Add emoji؜؜⁠‍‌‌⁣⁤',
59
- 'fabric.editor.placeholderTextPlaceholder': '⁣⁢Add placeholder text‍‌⁠⁡‍⁡؜⁠‍⁠؜‍⁣⁤',
60
53
  'fabric.editor.replace': '⁣⁢Replace‌⁠؜⁠⁠⁠‌⁠⁡⁠⁣⁤',
61
54
  'fabric.editor.replaceAll': '⁣⁢Replace all‌⁡؜‍⁠⁣⁤',
62
55
  'fabric.editor.replaceWith': '⁣⁢Replace with‍‍⁡؜⁡⁠⁡؜؜⁠⁠⁣⁤',
63
56
  'fabric.editor.resultsCount': '⁣⁢{selectedMatchPosition} of {totalResultsCount}⁠⁠⁠⁠⁣⁤',
64
- 'fabric.editor.rightSidebar': '⁣⁢Right sidebar⁠‍⁠؜‍⁠‍؜⁡⁡‌‍⁡‍⁣⁤',
65
57
  'fabric.editor.selectLanguage': '⁣⁢Select language‍⁠‌؜‌⁡‍‌⁣⁤',
66
- 'fabric.editor.single': '⁣⁢Single column⁡‍⁠‌؜⁡‍‌‍⁣⁤',
67
- 'fabric.editor.success': '⁣⁢Success؜⁠؜‍‍‌⁡؜‌‍⁠؜⁣⁤',
68
- 'fabric.editor.taskPlaceholder': "⁣⁢Type your action, use '@' to assign to someone.‌⁠⁠⁠⁠⁠‍‍⁡⁡‌⁣⁤",
69
- 'fabric.editor.threeColumns': '⁣⁢Three columns؜‍‌‍‌‌‌‌⁠؜⁣⁤',
70
- 'fabric.editor.threeColumnsWithSidebars': '⁣⁢Three columns with sidebars؜‌⁠⁠‍⁡؜‍؜؜⁣⁤',
71
- 'fabric.editor.twoColumns': '⁣⁢Two columns⁡‌‍؜‌‍؜‍‍‍⁡⁣⁤',
72
- 'fabric.editor.warning': '⁣⁢Warning؜⁡⁠؜‌‍‌⁠⁡‌⁣⁤',
73
- 'fabric.editor.wrapLeft': '⁣⁢Wrap left؜‍⁡‌⁡⁠‌‌‌⁡⁣⁤',
74
- 'fabric.editor.wrapRight': '⁣⁢Wrap right‍؜؜⁡؜⁣⁤'
58
+ 'fabric.editor.taskPlaceholder': "⁣⁢Type your action, use '@' to assign to someone.‌⁠⁠⁠⁠⁠‍‍⁡⁡‌⁣⁤"
75
59
  };
@@ -34,7 +34,6 @@ export default {
34
34
  'fabric.editor.edit': 'Editar',
35
35
  'fabric.editor.editorAssistiveLabel': 'Área de contenido principal, empieza a escribir para introducir texto.',
36
36
  'fabric.editor.editors': 'Editores',
37
- 'fabric.editor.error': 'Error',
38
37
  'fabric.editor.extension.confirmDeleteLinkedModalMessage': 'Al eliminar la extensión {nodeName}, se interrumpirá todo lo que se haya conectado a ella.',
39
38
  'fabric.editor.extension.confirmDeleteLinkedModalOKButton': 'Eliminar',
40
39
  'fabric.editor.extension.deleteElementTitle': 'Eliminar elemento',
@@ -46,28 +45,13 @@ export default {
46
45
  'fabric.editor.floatingToolbar.confirmModalCheckboxLabel': 'Eliminar también los elementos conectados',
47
46
  'fabric.editor.headingLink.toolbarHelpTitle': 'Abrir diálogo de ayuda',
48
47
  'fabric.editor.indent': 'Aplicar sangría',
49
- 'fabric.editor.info': 'Información',
50
- 'fabric.editor.leftSidebar': 'Barra lateral izquierda',
51
48
  'fabric.editor.matchCase': 'Coincidir mayúsculas y minúsculas',
52
49
  'fabric.editor.noResultsFound': 'Sin resultados',
53
- 'fabric.editor.note': 'Nota',
54
50
  'fabric.editor.outdent': 'Anular sangría',
55
- 'fabric.editor.panel.backgroundColor': 'Color de fondo',
56
- 'fabric.editor.panel.emoji': 'Añadir emoji',
57
- 'fabric.editor.placeholderTextPlaceholder': 'Añadir texto de marcador de posición',
58
51
  'fabric.editor.replace': 'Reemplazar',
59
52
  'fabric.editor.replaceAll': 'Reemplazar todo',
60
53
  'fabric.editor.replaceWith': 'Reemplazar por',
61
54
  'fabric.editor.resultsCount': '{selectedMatchPosition} de {totalResultsCount}',
62
- 'fabric.editor.rightSidebar': 'Barra lateral derecha',
63
55
  'fabric.editor.selectLanguage': 'Seleccionar lenguaje',
64
- 'fabric.editor.single': 'Una sola columna',
65
- 'fabric.editor.success': 'Correcto',
66
- 'fabric.editor.taskPlaceholder': 'Escribe la acción y usa "@" para asignársela a alguien.',
67
- 'fabric.editor.threeColumns': 'Tres columnas',
68
- 'fabric.editor.threeColumnsWithSidebars': 'Tres columnas con barras laterales',
69
- 'fabric.editor.twoColumns': 'Dos columnas',
70
- 'fabric.editor.warning': 'Advertencia',
71
- 'fabric.editor.wrapLeft': 'Ajustar a la izquierda',
72
- 'fabric.editor.wrapRight': 'Ajustar a la derecha'
56
+ 'fabric.editor.taskPlaceholder': 'Escribe la acción y usa "@" para asignársela a alguien.'
73
57
  };
@@ -34,7 +34,6 @@ export default {
34
34
  'fabric.editor.edit': 'Muokkaa',
35
35
  'fabric.editor.editorAssistiveLabel': 'Pääsisältöalue, aloita kirjoittaminen, jos haluat syöttää tekstiä.',
36
36
  'fabric.editor.editors': 'Muokkaajat',
37
- 'fabric.editor.error': 'Virhe',
38
37
  'fabric.editor.extension.confirmDeleteLinkedModalMessage': 'Solmun {nodeName} poistaminen rikkoo kaiken siihen yhdistetyn.',
39
38
  'fabric.editor.extension.confirmDeleteLinkedModalOKButton': 'Poista',
40
39
  'fabric.editor.extension.deleteElementTitle': 'Poista elementti',
@@ -46,28 +45,13 @@ export default {
46
45
  'fabric.editor.floatingToolbar.confirmModalCheckboxLabel': 'Poista myös liitetyt elementit',
47
46
  'fabric.editor.headingLink.toolbarHelpTitle': 'Avaa ohjeikkuna',
48
47
  'fabric.editor.indent': 'Sisennys',
49
- 'fabric.editor.info': 'Tietoja',
50
- 'fabric.editor.leftSidebar': 'Vasen sivupalkki',
51
48
  'fabric.editor.matchCase': 'Sovita aakkoslaji',
52
49
  'fabric.editor.noResultsFound': 'Ei tuloksia',
53
- 'fabric.editor.note': 'Huomautus',
54
50
  'fabric.editor.outdent': 'Ulonnus',
55
- 'fabric.editor.panel.backgroundColor': 'Taustaväri',
56
- 'fabric.editor.panel.emoji': 'Lisää emoji',
57
- 'fabric.editor.placeholderTextPlaceholder': 'Lisää paikkamerkin teksti',
58
51
  'fabric.editor.replace': 'Korvaa',
59
52
  'fabric.editor.replaceAll': 'Korvaa kaikki',
60
53
  'fabric.editor.replaceWith': 'Korvaa kohteella',
61
54
  'fabric.editor.resultsCount': '{selectedMatchPosition}/{totalResultsCount}',
62
- 'fabric.editor.rightSidebar': 'Oikea sivupalkki',
63
55
  'fabric.editor.selectLanguage': 'Valitse kieli',
64
- 'fabric.editor.single': 'Yksittäinen sarake',
65
- 'fabric.editor.success': 'Onnistunut',
66
- 'fabric.editor.taskPlaceholder': "Kirjoita toimintasi, käytä '@'-merkkiä määrätäksesi sen jollekin henkilölle.",
67
- 'fabric.editor.threeColumns': 'Kolme saraketta',
68
- 'fabric.editor.threeColumnsWithSidebars': 'Kolme saraketta sivupalkkien kanssa',
69
- 'fabric.editor.twoColumns': 'Kaksi saraketta',
70
- 'fabric.editor.warning': 'Varoitus',
71
- 'fabric.editor.wrapLeft': 'Rivitä vasemmalle',
72
- 'fabric.editor.wrapRight': 'Rivitä oikealle'
56
+ 'fabric.editor.taskPlaceholder': "Kirjoita toimintasi, käytä '@'-merkkiä määrätäksesi sen jollekin henkilölle."
73
57
  };