@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.
- package/CHANGELOG.md +14 -0
- package/build/tsconfig.json +2 -1
- package/dist/cjs/i18n/cs.js +1 -17
- package/dist/cjs/i18n/da.js +1 -17
- package/dist/cjs/i18n/de.js +1 -17
- package/dist/cjs/i18n/en.js +1 -17
- package/dist/cjs/i18n/en_GB.js +1 -17
- package/dist/cjs/i18n/en_ZZ.js +1 -17
- package/dist/cjs/i18n/es.js +1 -17
- package/dist/cjs/i18n/fi.js +1 -17
- package/dist/cjs/i18n/fr.js +1 -17
- package/dist/cjs/i18n/hu.js +1 -17
- package/dist/cjs/i18n/it.js +1 -17
- package/dist/cjs/i18n/ja.js +1 -17
- package/dist/cjs/i18n/ko.js +1 -17
- package/dist/cjs/i18n/nb.js +1 -17
- package/dist/cjs/i18n/nl.js +1 -17
- package/dist/cjs/i18n/pl.js +1 -17
- package/dist/cjs/i18n/pt_BR.js +1 -17
- package/dist/cjs/i18n/ru.js +1 -17
- package/dist/cjs/i18n/sv.js +1 -17
- package/dist/cjs/i18n/th.js +1 -17
- package/dist/cjs/i18n/tr.js +1 -17
- package/dist/cjs/i18n/uk.js +1 -17
- package/dist/cjs/i18n/vi.js +1 -17
- package/dist/cjs/i18n/zh.js +1 -17
- package/dist/cjs/i18n/zh_TW.js +1 -17
- package/dist/cjs/plugins/extension/actions.js +135 -126
- package/dist/cjs/plugins/extension/extension-api.js +11 -9
- package/dist/cjs/plugins/extension/index.js +6 -4
- package/dist/cjs/plugins/extension/toolbar.js +5 -4
- package/dist/cjs/plugins/insert-block/index.js +2 -2
- package/dist/cjs/plugins/macro/actions.js +94 -93
- package/dist/cjs/ui/ErrorBoundary/index.js +0 -1
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/i18n/cs.js +1 -17
- package/dist/es2019/i18n/da.js +1 -17
- package/dist/es2019/i18n/de.js +1 -17
- package/dist/es2019/i18n/en.js +1 -17
- package/dist/es2019/i18n/en_GB.js +1 -17
- package/dist/es2019/i18n/en_ZZ.js +1 -17
- package/dist/es2019/i18n/es.js +1 -17
- package/dist/es2019/i18n/fi.js +1 -17
- package/dist/es2019/i18n/fr.js +1 -17
- package/dist/es2019/i18n/hu.js +1 -17
- package/dist/es2019/i18n/it.js +1 -17
- package/dist/es2019/i18n/ja.js +1 -17
- package/dist/es2019/i18n/ko.js +1 -17
- package/dist/es2019/i18n/nb.js +1 -17
- package/dist/es2019/i18n/nl.js +1 -17
- package/dist/es2019/i18n/pl.js +1 -17
- package/dist/es2019/i18n/pt_BR.js +1 -17
- package/dist/es2019/i18n/ru.js +1 -17
- package/dist/es2019/i18n/sv.js +1 -17
- package/dist/es2019/i18n/th.js +1 -17
- package/dist/es2019/i18n/tr.js +1 -17
- package/dist/es2019/i18n/uk.js +1 -17
- package/dist/es2019/i18n/vi.js +1 -17
- package/dist/es2019/i18n/zh.js +1 -17
- package/dist/es2019/i18n/zh_TW.js +1 -17
- package/dist/es2019/plugins/extension/actions.js +17 -11
- package/dist/es2019/plugins/extension/extension-api.js +11 -9
- package/dist/es2019/plugins/extension/index.js +6 -4
- package/dist/es2019/plugins/extension/toolbar.js +5 -4
- package/dist/es2019/plugins/insert-block/index.js +2 -2
- package/dist/es2019/plugins/macro/actions.js +3 -4
- package/dist/es2019/ui/ErrorBoundary/index.js +0 -1
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/i18n/cs.js +1 -17
- package/dist/esm/i18n/da.js +1 -17
- package/dist/esm/i18n/de.js +1 -17
- package/dist/esm/i18n/en.js +1 -17
- package/dist/esm/i18n/en_GB.js +1 -17
- package/dist/esm/i18n/en_ZZ.js +1 -17
- package/dist/esm/i18n/es.js +1 -17
- package/dist/esm/i18n/fi.js +1 -17
- package/dist/esm/i18n/fr.js +1 -17
- package/dist/esm/i18n/hu.js +1 -17
- package/dist/esm/i18n/it.js +1 -17
- package/dist/esm/i18n/ja.js +1 -17
- package/dist/esm/i18n/ko.js +1 -17
- package/dist/esm/i18n/nb.js +1 -17
- package/dist/esm/i18n/nl.js +1 -17
- package/dist/esm/i18n/pl.js +1 -17
- package/dist/esm/i18n/pt_BR.js +1 -17
- package/dist/esm/i18n/ru.js +1 -17
- package/dist/esm/i18n/sv.js +1 -17
- package/dist/esm/i18n/th.js +1 -17
- package/dist/esm/i18n/tr.js +1 -17
- package/dist/esm/i18n/uk.js +1 -17
- package/dist/esm/i18n/vi.js +1 -17
- package/dist/esm/i18n/zh.js +1 -17
- package/dist/esm/i18n/zh_TW.js +1 -17
- package/dist/esm/plugins/extension/actions.js +135 -125
- package/dist/esm/plugins/extension/extension-api.js +11 -9
- package/dist/esm/plugins/extension/index.js +6 -4
- package/dist/esm/plugins/extension/toolbar.js +5 -4
- package/dist/esm/plugins/insert-block/index.js +2 -2
- package/dist/esm/plugins/macro/actions.js +94 -93
- package/dist/esm/ui/ErrorBoundary/index.js +0 -1
- package/dist/esm/version-wrapper.js +1 -1
- package/dist/types/i18n/cs.d.ts +0 -16
- package/dist/types/i18n/da.d.ts +0 -16
- package/dist/types/i18n/de.d.ts +0 -16
- package/dist/types/i18n/en.d.ts +0 -16
- package/dist/types/i18n/en_GB.d.ts +0 -16
- package/dist/types/i18n/en_ZZ.d.ts +0 -16
- package/dist/types/i18n/es.d.ts +0 -16
- package/dist/types/i18n/fi.d.ts +0 -16
- package/dist/types/i18n/fr.d.ts +0 -16
- package/dist/types/i18n/hu.d.ts +0 -16
- package/dist/types/i18n/it.d.ts +0 -16
- package/dist/types/i18n/ja.d.ts +0 -16
- package/dist/types/i18n/ko.d.ts +0 -16
- package/dist/types/i18n/nb.d.ts +0 -16
- package/dist/types/i18n/nl.d.ts +0 -16
- package/dist/types/i18n/pl.d.ts +0 -16
- package/dist/types/i18n/pt_BR.d.ts +0 -16
- package/dist/types/i18n/ru.d.ts +0 -16
- package/dist/types/i18n/sv.d.ts +0 -16
- package/dist/types/i18n/th.d.ts +0 -16
- package/dist/types/i18n/tr.d.ts +0 -16
- package/dist/types/i18n/uk.d.ts +0 -16
- package/dist/types/i18n/vi.d.ts +0 -16
- package/dist/types/i18n/zh.d.ts +0 -16
- package/dist/types/i18n/zh_TW.d.ts +0 -16
- package/dist/types/plugins/expand/pm-plugins/main.d.ts +2 -2
- package/dist/types/plugins/extension/actions.d.ts +5 -10
- package/dist/types/plugins/extension/extension-api.d.ts +3 -1
- package/dist/types/plugins/extension/toolbar.d.ts +3 -1
- package/dist/types/plugins/macro/actions.d.ts +2 -1
- package/dist/types/presets/default.d.ts +52 -4
- package/dist/types/ui/Appearance/FullPage/StyledComponents.d.ts +1 -1
- package/dist/types/ui/ConfigPanel/Fields/TabGroup.d.ts +0 -1
- package/dist/types/ui/ContentStyles/index.d.ts +2 -2
- package/dist/types-ts4.5/i18n/cs.d.ts +0 -16
- package/dist/types-ts4.5/i18n/da.d.ts +0 -16
- package/dist/types-ts4.5/i18n/de.d.ts +0 -16
- package/dist/types-ts4.5/i18n/en.d.ts +0 -16
- package/dist/types-ts4.5/i18n/en_GB.d.ts +0 -16
- package/dist/types-ts4.5/i18n/en_ZZ.d.ts +0 -16
- package/dist/types-ts4.5/i18n/es.d.ts +0 -16
- package/dist/types-ts4.5/i18n/fi.d.ts +0 -16
- package/dist/types-ts4.5/i18n/fr.d.ts +0 -16
- package/dist/types-ts4.5/i18n/hu.d.ts +0 -16
- package/dist/types-ts4.5/i18n/it.d.ts +0 -16
- package/dist/types-ts4.5/i18n/ja.d.ts +0 -16
- package/dist/types-ts4.5/i18n/ko.d.ts +0 -16
- package/dist/types-ts4.5/i18n/nb.d.ts +0 -16
- package/dist/types-ts4.5/i18n/nl.d.ts +0 -16
- package/dist/types-ts4.5/i18n/pl.d.ts +0 -16
- package/dist/types-ts4.5/i18n/pt_BR.d.ts +0 -16
- package/dist/types-ts4.5/i18n/ru.d.ts +0 -16
- package/dist/types-ts4.5/i18n/sv.d.ts +0 -16
- package/dist/types-ts4.5/i18n/th.d.ts +0 -16
- package/dist/types-ts4.5/i18n/tr.d.ts +0 -16
- package/dist/types-ts4.5/i18n/uk.d.ts +0 -16
- package/dist/types-ts4.5/i18n/vi.d.ts +0 -16
- package/dist/types-ts4.5/i18n/zh.d.ts +0 -16
- package/dist/types-ts4.5/i18n/zh_TW.d.ts +0 -16
- package/dist/types-ts4.5/plugins/expand/pm-plugins/main.d.ts +2 -2
- package/dist/types-ts4.5/plugins/extension/actions.d.ts +5 -10
- package/dist/types-ts4.5/plugins/extension/extension-api.d.ts +3 -1
- package/dist/types-ts4.5/plugins/extension/toolbar.d.ts +3 -1
- package/dist/types-ts4.5/plugins/macro/actions.d.ts +2 -1
- package/dist/types-ts4.5/presets/default.d.ts +60 -0
- package/dist/types-ts4.5/ui/Appearance/FullPage/StyledComponents.d.ts +1 -1
- package/dist/types-ts4.5/ui/ConfigPanel/Fields/TabGroup.d.ts +0 -1
- package/dist/types-ts4.5/ui/ContentStyles/index.d.ts +2 -2
- package/package.json +2 -2
- package/dist/types/stories/examples.d.ts +0 -9
- 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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export const name = "@atlaskit/editor-core";
|
|
2
|
-
export const version = "189.3.
|
|
2
|
+
export const version = "189.3.11";
|
package/dist/esm/i18n/cs.js
CHANGED
|
@@ -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.
|
|
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
|
};
|
package/dist/esm/i18n/da.js
CHANGED
|
@@ -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.
|
|
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
|
};
|
package/dist/esm/i18n/de.js
CHANGED
|
@@ -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.
|
|
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
|
};
|
package/dist/esm/i18n/en.js
CHANGED
|
@@ -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.
|
|
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
|
};
|
package/dist/esm/i18n/en_GB.js
CHANGED
|
@@ -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.
|
|
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
|
};
|
package/dist/esm/i18n/en_ZZ.js
CHANGED
|
@@ -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.
|
|
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
|
};
|
package/dist/esm/i18n/es.js
CHANGED
|
@@ -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.
|
|
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
|
};
|
package/dist/esm/i18n/fi.js
CHANGED
|
@@ -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.
|
|
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
|
};
|