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