@atlaskit/editor-core 189.6.25 → 190.0.0
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 +16 -0
- package/dist/cjs/create-editor/feature-flags-from-props.js +2 -5
- package/dist/cjs/i18n/cs.js +1 -0
- package/dist/cjs/i18n/da.js +1 -0
- package/dist/cjs/i18n/de.js +1 -0
- package/dist/cjs/i18n/es.js +1 -0
- package/dist/cjs/i18n/fi.js +1 -0
- package/dist/cjs/i18n/fr.js +1 -0
- package/dist/cjs/i18n/hu.js +1 -0
- package/dist/cjs/i18n/it.js +1 -0
- package/dist/cjs/i18n/ko.js +1 -0
- package/dist/cjs/i18n/nb.js +1 -0
- package/dist/cjs/i18n/nl.js +1 -0
- package/dist/cjs/i18n/pl.js +1 -0
- package/dist/cjs/i18n/pt_BR.js +1 -0
- package/dist/cjs/i18n/ru.js +1 -0
- package/dist/cjs/i18n/sv.js +1 -0
- package/dist/cjs/i18n/th.js +1 -0
- package/dist/cjs/i18n/tr.js +1 -0
- package/dist/cjs/i18n/uk.js +1 -0
- package/dist/cjs/i18n/vi.js +1 -0
- package/dist/cjs/i18n/zh.js +1 -0
- package/dist/cjs/i18n/zh_TW.js +1 -0
- package/dist/cjs/plugins/paste/handlers.js +1 -1
- package/dist/cjs/plugins/paste/pm-plugins/main.js +1 -1
- package/dist/cjs/presets/universal.js +1 -3
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/create-editor/feature-flags-from-props.js +2 -5
- package/dist/es2019/i18n/cs.js +1 -0
- package/dist/es2019/i18n/da.js +1 -0
- package/dist/es2019/i18n/de.js +1 -0
- package/dist/es2019/i18n/es.js +1 -0
- package/dist/es2019/i18n/fi.js +1 -0
- package/dist/es2019/i18n/fr.js +1 -0
- package/dist/es2019/i18n/hu.js +1 -0
- package/dist/es2019/i18n/it.js +1 -0
- package/dist/es2019/i18n/ko.js +1 -0
- package/dist/es2019/i18n/nb.js +1 -0
- package/dist/es2019/i18n/nl.js +1 -0
- package/dist/es2019/i18n/pl.js +1 -0
- package/dist/es2019/i18n/pt_BR.js +1 -0
- package/dist/es2019/i18n/ru.js +1 -0
- package/dist/es2019/i18n/sv.js +1 -0
- package/dist/es2019/i18n/th.js +1 -0
- package/dist/es2019/i18n/tr.js +1 -0
- package/dist/es2019/i18n/uk.js +1 -0
- package/dist/es2019/i18n/vi.js +1 -0
- package/dist/es2019/i18n/zh.js +1 -0
- package/dist/es2019/i18n/zh_TW.js +1 -0
- package/dist/es2019/plugins/paste/handlers.js +1 -1
- package/dist/es2019/plugins/paste/pm-plugins/main.js +1 -1
- package/dist/es2019/presets/universal.js +1 -3
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/create-editor/feature-flags-from-props.js +2 -5
- package/dist/esm/i18n/cs.js +1 -0
- package/dist/esm/i18n/da.js +1 -0
- package/dist/esm/i18n/de.js +1 -0
- package/dist/esm/i18n/es.js +1 -0
- package/dist/esm/i18n/fi.js +1 -0
- package/dist/esm/i18n/fr.js +1 -0
- package/dist/esm/i18n/hu.js +1 -0
- package/dist/esm/i18n/it.js +1 -0
- package/dist/esm/i18n/ko.js +1 -0
- package/dist/esm/i18n/nb.js +1 -0
- package/dist/esm/i18n/nl.js +1 -0
- package/dist/esm/i18n/pl.js +1 -0
- package/dist/esm/i18n/pt_BR.js +1 -0
- package/dist/esm/i18n/ru.js +1 -0
- package/dist/esm/i18n/sv.js +1 -0
- package/dist/esm/i18n/th.js +1 -0
- package/dist/esm/i18n/tr.js +1 -0
- package/dist/esm/i18n/uk.js +1 -0
- package/dist/esm/i18n/vi.js +1 -0
- package/dist/esm/i18n/zh.js +1 -0
- package/dist/esm/i18n/zh_TW.js +1 -0
- package/dist/esm/plugins/paste/handlers.js +1 -1
- package/dist/esm/plugins/paste/pm-plugins/main.js +1 -1
- package/dist/esm/presets/universal.js +1 -3
- package/dist/esm/version-wrapper.js +1 -1
- package/dist/types/i18n/cs.d.ts +1 -0
- package/dist/types/i18n/da.d.ts +1 -0
- package/dist/types/i18n/de.d.ts +1 -0
- package/dist/types/i18n/es.d.ts +1 -0
- package/dist/types/i18n/fi.d.ts +1 -0
- package/dist/types/i18n/fr.d.ts +1 -0
- package/dist/types/i18n/hu.d.ts +1 -0
- package/dist/types/i18n/it.d.ts +1 -0
- package/dist/types/i18n/ko.d.ts +1 -0
- package/dist/types/i18n/nb.d.ts +1 -0
- package/dist/types/i18n/nl.d.ts +1 -0
- package/dist/types/i18n/pl.d.ts +1 -0
- package/dist/types/i18n/pt_BR.d.ts +1 -0
- package/dist/types/i18n/ru.d.ts +1 -0
- package/dist/types/i18n/sv.d.ts +1 -0
- package/dist/types/i18n/th.d.ts +1 -0
- package/dist/types/i18n/tr.d.ts +1 -0
- package/dist/types/i18n/uk.d.ts +1 -0
- package/dist/types/i18n/vi.d.ts +1 -0
- package/dist/types/i18n/zh.d.ts +1 -0
- package/dist/types/i18n/zh_TW.d.ts +1 -0
- package/dist/types-ts4.5/i18n/cs.d.ts +1 -0
- package/dist/types-ts4.5/i18n/da.d.ts +1 -0
- package/dist/types-ts4.5/i18n/de.d.ts +1 -0
- package/dist/types-ts4.5/i18n/es.d.ts +1 -0
- package/dist/types-ts4.5/i18n/fi.d.ts +1 -0
- package/dist/types-ts4.5/i18n/fr.d.ts +1 -0
- package/dist/types-ts4.5/i18n/hu.d.ts +1 -0
- package/dist/types-ts4.5/i18n/it.d.ts +1 -0
- package/dist/types-ts4.5/i18n/ko.d.ts +1 -0
- package/dist/types-ts4.5/i18n/nb.d.ts +1 -0
- package/dist/types-ts4.5/i18n/nl.d.ts +1 -0
- package/dist/types-ts4.5/i18n/pl.d.ts +1 -0
- package/dist/types-ts4.5/i18n/pt_BR.d.ts +1 -0
- package/dist/types-ts4.5/i18n/ru.d.ts +1 -0
- package/dist/types-ts4.5/i18n/sv.d.ts +1 -0
- package/dist/types-ts4.5/i18n/th.d.ts +1 -0
- package/dist/types-ts4.5/i18n/tr.d.ts +1 -0
- package/dist/types-ts4.5/i18n/uk.d.ts +1 -0
- package/dist/types-ts4.5/i18n/vi.d.ts +1 -0
- package/dist/types-ts4.5/i18n/zh.d.ts +1 -0
- package/dist/types-ts4.5/i18n/zh_TW.d.ts +1 -0
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @atlaskit/editor-core
|
|
2
2
|
|
|
3
|
+
## 190.0.0
|
|
4
|
+
|
|
5
|
+
### Major Changes
|
|
6
|
+
|
|
7
|
+
- [#59319](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/59319) [`d2e34e936bf2`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/d2e34e936bf2) - [ED-15859] Clean up restartNumberedLists feature flag and set this feature as the default behaviour for ordered lists. Currently this feature is only rolled out in Confluence so this change will roll it out to all other products which adopt this version.
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- Updated dependencies
|
|
12
|
+
|
|
13
|
+
## 189.6.26
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- Updated dependencies
|
|
18
|
+
|
|
3
19
|
## 189.6.25
|
|
4
20
|
|
|
5
21
|
### Patch Changes
|
|
@@ -32,7 +32,7 @@ function getSpellCheck(featureFlags) {
|
|
|
32
32
|
* which is used by both current and archv3 editors.
|
|
33
33
|
*/
|
|
34
34
|
function createFeatureFlagsFromProps(props) {
|
|
35
|
-
var _props$allowLayouts, _props$performanceTra, _props$allowExtension, _props$featureFlags, _props$featureFlags2, _props$featureFlags3, _props$featureFlags4, _props$featureFlags5, _props$featureFlags6, _props$featureFlags7, _props$featureFlags8, _props$featureFlags9, _props$featureFlags10, _props$featureFlags11, _props$featureFlags12, _props$featureFlags13, _props$featureFlags14, _props$collabEdit, _props$collabEdit2
|
|
35
|
+
var _props$allowLayouts, _props$performanceTra, _props$allowExtension, _props$featureFlags, _props$featureFlags2, _props$featureFlags3, _props$featureFlags4, _props$featureFlags5, _props$featureFlags6, _props$featureFlags7, _props$featureFlags8, _props$featureFlags9, _props$featureFlags10, _props$featureFlags11, _props$featureFlags12, _props$featureFlags13, _props$featureFlags14, _props$collabEdit, _props$collabEdit2;
|
|
36
36
|
var normalizedFeatureFlags = (0, _normalizeFeatureFlags.normalizeFeatureFlags)(props.featureFlags);
|
|
37
37
|
return _objectSpread(_objectSpread({}, normalizedFeatureFlags), {}, {
|
|
38
38
|
newInsertionBehaviour: props.allowNewInsertionBehaviour,
|
|
@@ -53,9 +53,6 @@ function createFeatureFlagsFromProps(props) {
|
|
|
53
53
|
ufo: Boolean(typeof ((_props$featureFlags11 = props.featureFlags) === null || _props$featureFlags11 === void 0 ? void 0 : _props$featureFlags11.ufo) === 'boolean' ? !!((_props$featureFlags12 = props.featureFlags) !== null && _props$featureFlags12 !== void 0 && _props$featureFlags12.ufo) : false),
|
|
54
54
|
twoLineEditorToolbar: Boolean(typeof ((_props$featureFlags13 = props.featureFlags) === null || _props$featureFlags13 === void 0 ? void 0 : _props$featureFlags13.twoLineEditorToolbar) === 'boolean' ? !!((_props$featureFlags14 = props.featureFlags) !== null && _props$featureFlags14 !== void 0 && _props$featureFlags14.twoLineEditorToolbar) : false),
|
|
55
55
|
useNativeCollabPlugin: Boolean(typeof ((_props$collabEdit = props.collabEdit) === null || _props$collabEdit === void 0 ? void 0 : _props$collabEdit.useNativePlugin) === 'boolean' ? !!((_props$collabEdit2 = props.collabEdit) !== null && _props$collabEdit2 !== void 0 && _props$collabEdit2.useNativePlugin) : false),
|
|
56
|
-
disableSpellcheckByBrowser: getSpellCheck(props.featureFlags)
|
|
57
|
-
// Including fallback to props.featureFlags so that mobile feature flags
|
|
58
|
-
// are included (they are not kebab cased)
|
|
59
|
-
restartNumberedLists: normalizedFeatureFlags.restartNumberedLists === true || ((_props$featureFlags15 = props.featureFlags) === null || _props$featureFlags15 === void 0 ? void 0 : _props$featureFlags15.restartNumberedLists) === true
|
|
56
|
+
disableSpellcheckByBrowser: getSpellCheck(props.featureFlags)
|
|
60
57
|
});
|
|
61
58
|
}
|
package/dist/cjs/i18n/cs.js
CHANGED
|
@@ -33,6 +33,7 @@ var _default = exports.default = {
|
|
|
33
33
|
'fabric.editor.configPanel.fieldTypeError.isMultipleAndRadio': '„isMultiple“ a „style: radio“ nelze kombinovat',
|
|
34
34
|
'fabric.editor.configPanel.formType.addField': 'Přidat pole',
|
|
35
35
|
'fabric.editor.configPanel.formType.removeField': 'Odebrat pole',
|
|
36
|
+
'fabric.editor.configPanel.help': 'Potřebujete pomoc?',
|
|
36
37
|
'fabric.editor.configPanel.invalid': 'Neplatné pole',
|
|
37
38
|
'fabric.editor.configPanel.required': 'Povinné pole',
|
|
38
39
|
'fabric.editor.configPanel.submit': 'Odeslat',
|
package/dist/cjs/i18n/da.js
CHANGED
|
@@ -33,6 +33,7 @@ var _default = exports.default = {
|
|
|
33
33
|
'fabric.editor.configPanel.fieldTypeError.isMultipleAndRadio': 'Kunne ikke kombinere isMultiple med stilen: alternativknap',
|
|
34
34
|
'fabric.editor.configPanel.formType.addField': 'Tilføj felt',
|
|
35
35
|
'fabric.editor.configPanel.formType.removeField': 'Fjern felt',
|
|
36
|
+
'fabric.editor.configPanel.help': 'Har du brug for hjælp?',
|
|
36
37
|
'fabric.editor.configPanel.invalid': 'Ugyldigt felt',
|
|
37
38
|
'fabric.editor.configPanel.required': 'Påkrævet felt',
|
|
38
39
|
'fabric.editor.configPanel.submit': 'Send',
|
package/dist/cjs/i18n/de.js
CHANGED
|
@@ -33,6 +33,7 @@ var _default = exports.default = {
|
|
|
33
33
|
'fabric.editor.configPanel.fieldTypeError.isMultipleAndRadio': 'isMultiple kann nicht mit Stil: radio kombiniert werden.',
|
|
34
34
|
'fabric.editor.configPanel.formType.addField': 'Feld hinzufügen',
|
|
35
35
|
'fabric.editor.configPanel.formType.removeField': 'Feld entfernen',
|
|
36
|
+
'fabric.editor.configPanel.help': 'Benötigen Sie Hilfe?',
|
|
36
37
|
'fabric.editor.configPanel.invalid': 'Ungültiges Feld',
|
|
37
38
|
'fabric.editor.configPanel.required': 'Pflichtfeld',
|
|
38
39
|
'fabric.editor.configPanel.submit': 'Senden',
|
package/dist/cjs/i18n/es.js
CHANGED
|
@@ -33,6 +33,7 @@ var _default = exports.default = {
|
|
|
33
33
|
'fabric.editor.configPanel.fieldTypeError.isMultipleAndRadio': 'No se puede combinar isMultiple con style: radio',
|
|
34
34
|
'fabric.editor.configPanel.formType.addField': 'Añadir campo',
|
|
35
35
|
'fabric.editor.configPanel.formType.removeField': 'Eliminar campo',
|
|
36
|
+
'fabric.editor.configPanel.help': '¿Necesitas ayuda?',
|
|
36
37
|
'fabric.editor.configPanel.invalid': 'Campo no válido',
|
|
37
38
|
'fabric.editor.configPanel.required': 'Campo obligatorio',
|
|
38
39
|
'fabric.editor.configPanel.submit': 'Enviar',
|
package/dist/cjs/i18n/fi.js
CHANGED
|
@@ -33,6 +33,7 @@ var _default = exports.default = {
|
|
|
33
33
|
'fabric.editor.configPanel.fieldTypeError.isMultipleAndRadio': 'Ei voi yhdistää kohdetta isMultiple tyyliin: radio',
|
|
34
34
|
'fabric.editor.configPanel.formType.addField': 'Lisää kenttä',
|
|
35
35
|
'fabric.editor.configPanel.formType.removeField': 'Poista kenttä',
|
|
36
|
+
'fabric.editor.configPanel.help': 'Tarvitsetko apua?',
|
|
36
37
|
'fabric.editor.configPanel.invalid': 'Virheellinen kenttä',
|
|
37
38
|
'fabric.editor.configPanel.required': 'Pakollinen kenttä',
|
|
38
39
|
'fabric.editor.configPanel.submit': 'Lähetä',
|
package/dist/cjs/i18n/fr.js
CHANGED
|
@@ -33,6 +33,7 @@ var _default = exports.default = {
|
|
|
33
33
|
'fabric.editor.configPanel.fieldTypeError.isMultipleAndRadio': 'Impossible de combiner isMultiple avec style: radio',
|
|
34
34
|
'fabric.editor.configPanel.formType.addField': 'Ajouter un champ',
|
|
35
35
|
'fabric.editor.configPanel.formType.removeField': 'Supprimer le champ',
|
|
36
|
+
'fabric.editor.configPanel.help': "Besoin d'aide ?",
|
|
36
37
|
'fabric.editor.configPanel.invalid': 'Champ non valide',
|
|
37
38
|
'fabric.editor.configPanel.required': 'Champ obligatoire',
|
|
38
39
|
'fabric.editor.configPanel.submit': 'Soumettre',
|
package/dist/cjs/i18n/hu.js
CHANGED
|
@@ -33,6 +33,7 @@ var _default = exports.default = {
|
|
|
33
33
|
'fabric.editor.configPanel.fieldTypeError.isMultipleAndRadio': 'Az isMultiple nem kombinálható a „radio” stílussal',
|
|
34
34
|
'fabric.editor.configPanel.formType.addField': 'Mező hozzáadása',
|
|
35
35
|
'fabric.editor.configPanel.formType.removeField': 'Mező eltávolítása',
|
|
36
|
+
'fabric.editor.configPanel.help': 'Segítségre van szükséged?',
|
|
36
37
|
'fabric.editor.configPanel.invalid': 'Érvénytelen mező',
|
|
37
38
|
'fabric.editor.configPanel.required': 'Kötelező mező',
|
|
38
39
|
'fabric.editor.configPanel.submit': 'Küldés',
|
package/dist/cjs/i18n/it.js
CHANGED
|
@@ -33,6 +33,7 @@ var _default = exports.default = {
|
|
|
33
33
|
'fabric.editor.configPanel.fieldTypeError.isMultipleAndRadio': 'Impossibile combinare isMultiple con style: radio',
|
|
34
34
|
'fabric.editor.configPanel.formType.addField': 'Aggiungi campo',
|
|
35
35
|
'fabric.editor.configPanel.formType.removeField': 'Rimuovi campo',
|
|
36
|
+
'fabric.editor.configPanel.help': 'Serve aiuto?',
|
|
36
37
|
'fabric.editor.configPanel.invalid': 'Campo non valido',
|
|
37
38
|
'fabric.editor.configPanel.required': 'Campo obbligatorio',
|
|
38
39
|
'fabric.editor.configPanel.submit': 'Invia',
|
package/dist/cjs/i18n/ko.js
CHANGED
|
@@ -33,6 +33,7 @@ var _default = exports.default = {
|
|
|
33
33
|
'fabric.editor.configPanel.fieldTypeError.isMultipleAndRadio': 'isMultiple과 스타일을 결합할 수 없음: 라디오',
|
|
34
34
|
'fabric.editor.configPanel.formType.addField': '필드 추가',
|
|
35
35
|
'fabric.editor.configPanel.formType.removeField': '필드 제거',
|
|
36
|
+
'fabric.editor.configPanel.help': '도움이 필요하십니까?',
|
|
36
37
|
'fabric.editor.configPanel.invalid': '유효하지 않은 필드',
|
|
37
38
|
'fabric.editor.configPanel.required': '필수 필드',
|
|
38
39
|
'fabric.editor.configPanel.submit': '제출',
|
package/dist/cjs/i18n/nb.js
CHANGED
|
@@ -33,6 +33,7 @@ var _default = exports.default = {
|
|
|
33
33
|
'fabric.editor.configPanel.fieldTypeError.isMultipleAndRadio': 'Kan ikke kombinere isMultiple med stil: radio',
|
|
34
34
|
'fabric.editor.configPanel.formType.addField': 'Legg til felt',
|
|
35
35
|
'fabric.editor.configPanel.formType.removeField': 'Fjern felt',
|
|
36
|
+
'fabric.editor.configPanel.help': 'Trenger du hjelp?',
|
|
36
37
|
'fabric.editor.configPanel.invalid': 'Ugyldig felt',
|
|
37
38
|
'fabric.editor.configPanel.required': 'Obligatorisk felt',
|
|
38
39
|
'fabric.editor.configPanel.submit': 'Send inn',
|
package/dist/cjs/i18n/nl.js
CHANGED
|
@@ -33,6 +33,7 @@ var _default = exports.default = {
|
|
|
33
33
|
'fabric.editor.configPanel.fieldTypeError.isMultipleAndRadio': 'Kan isMultiple niet combineren met stijl: radio',
|
|
34
34
|
'fabric.editor.configPanel.formType.addField': 'Veld toevoegen',
|
|
35
35
|
'fabric.editor.configPanel.formType.removeField': 'Veld verwijderen',
|
|
36
|
+
'fabric.editor.configPanel.help': 'Hulp nodig?',
|
|
36
37
|
'fabric.editor.configPanel.invalid': 'Ongeldig veld',
|
|
37
38
|
'fabric.editor.configPanel.required': 'Verplicht veld',
|
|
38
39
|
'fabric.editor.configPanel.submit': 'Verzenden',
|
package/dist/cjs/i18n/pl.js
CHANGED
|
@@ -33,6 +33,7 @@ var _default = exports.default = {
|
|
|
33
33
|
'fabric.editor.configPanel.fieldTypeError.isMultipleAndRadio': 'Nie można połączyć isMultiple ze stylem: radio',
|
|
34
34
|
'fabric.editor.configPanel.formType.addField': 'Dodaj pole',
|
|
35
35
|
'fabric.editor.configPanel.formType.removeField': 'Usuń pole',
|
|
36
|
+
'fabric.editor.configPanel.help': 'Potrzebujesz pomocy?',
|
|
36
37
|
'fabric.editor.configPanel.invalid': 'Nieprawidłowe pole',
|
|
37
38
|
'fabric.editor.configPanel.required': 'Pole wymagane',
|
|
38
39
|
'fabric.editor.configPanel.submit': 'Wyślij',
|
package/dist/cjs/i18n/pt_BR.js
CHANGED
|
@@ -33,6 +33,7 @@ var _default = exports.default = {
|
|
|
33
33
|
'fabric.editor.configPanel.fieldTypeError.isMultipleAndRadio': 'Não é possível combinar isMultiple com estilo: rádio',
|
|
34
34
|
'fabric.editor.configPanel.formType.addField': 'Adicionar campo',
|
|
35
35
|
'fabric.editor.configPanel.formType.removeField': 'Remover campo',
|
|
36
|
+
'fabric.editor.configPanel.help': 'Precisa de ajuda?',
|
|
36
37
|
'fabric.editor.configPanel.invalid': 'Campo inválido',
|
|
37
38
|
'fabric.editor.configPanel.required': 'Campo obrigatório',
|
|
38
39
|
'fabric.editor.configPanel.submit': 'Enviar',
|
package/dist/cjs/i18n/ru.js
CHANGED
|
@@ -33,6 +33,7 @@ var _default = exports.default = {
|
|
|
33
33
|
'fabric.editor.configPanel.fieldTypeError.isMultipleAndRadio': 'Невозможно использовать isMultiple с параметром style: radio',
|
|
34
34
|
'fabric.editor.configPanel.formType.addField': 'Добавить поле',
|
|
35
35
|
'fabric.editor.configPanel.formType.removeField': 'Удалить поле',
|
|
36
|
+
'fabric.editor.configPanel.help': 'Нужна помощь?',
|
|
36
37
|
'fabric.editor.configPanel.invalid': 'Недопустимое поле',
|
|
37
38
|
'fabric.editor.configPanel.required': 'Обязательное поле',
|
|
38
39
|
'fabric.editor.configPanel.submit': 'Отправить',
|
package/dist/cjs/i18n/sv.js
CHANGED
|
@@ -33,6 +33,7 @@ var _default = exports.default = {
|
|
|
33
33
|
'fabric.editor.configPanel.fieldTypeError.isMultipleAndRadio': 'Kan inte kombinera isMultiple med stilen radio',
|
|
34
34
|
'fabric.editor.configPanel.formType.addField': 'Lägg till fält',
|
|
35
35
|
'fabric.editor.configPanel.formType.removeField': 'Ta bort fält',
|
|
36
|
+
'fabric.editor.configPanel.help': 'Behöver du hjälp?',
|
|
36
37
|
'fabric.editor.configPanel.invalid': 'Ogiltigt fält',
|
|
37
38
|
'fabric.editor.configPanel.required': 'Obligatoriskt fält',
|
|
38
39
|
'fabric.editor.configPanel.submit': 'Skicka in',
|
package/dist/cjs/i18n/th.js
CHANGED
|
@@ -33,6 +33,7 @@ var _default = exports.default = {
|
|
|
33
33
|
'fabric.editor.configPanel.fieldTypeError.isMultipleAndRadio': 'ไม่สามารถรวม isMultiple กับรูปแบบได้: radio',
|
|
34
34
|
'fabric.editor.configPanel.formType.addField': 'เพิ่มฟิลด์',
|
|
35
35
|
'fabric.editor.configPanel.formType.removeField': 'ลบฟิลด์ออก',
|
|
36
|
+
'fabric.editor.configPanel.help': 'ต้องการความช่วยเหลือใช่ไหม',
|
|
36
37
|
'fabric.editor.configPanel.invalid': 'ฟิลด์ไม่ถูกต้อง',
|
|
37
38
|
'fabric.editor.configPanel.required': 'ช่องที่ต้องกรอก',
|
|
38
39
|
'fabric.editor.configPanel.submit': 'ส่ง',
|
package/dist/cjs/i18n/tr.js
CHANGED
|
@@ -33,6 +33,7 @@ var _default = exports.default = {
|
|
|
33
33
|
'fabric.editor.configPanel.fieldTypeError.isMultipleAndRadio': 'Stil radio olduğunda isMultiple kullanılamaz',
|
|
34
34
|
'fabric.editor.configPanel.formType.addField': 'Alan ekle',
|
|
35
35
|
'fabric.editor.configPanel.formType.removeField': 'Alanı kaldır',
|
|
36
|
+
'fabric.editor.configPanel.help': 'Yardıma mı ihtiyacınız var?',
|
|
36
37
|
'fabric.editor.configPanel.invalid': 'Geçersiz alan',
|
|
37
38
|
'fabric.editor.configPanel.required': 'Gerekli alan',
|
|
38
39
|
'fabric.editor.configPanel.submit': 'Gönder',
|
package/dist/cjs/i18n/uk.js
CHANGED
|
@@ -33,6 +33,7 @@ var _default = exports.default = {
|
|
|
33
33
|
'fabric.editor.configPanel.fieldTypeError.isMultipleAndRadio': "Не можна поєднати об'єкт isMultiple зі стилем radio",
|
|
34
34
|
'fabric.editor.configPanel.formType.addField': 'Додати поле',
|
|
35
35
|
'fabric.editor.configPanel.formType.removeField': 'Видалити поле',
|
|
36
|
+
'fabric.editor.configPanel.help': 'Потрібна допомога?',
|
|
36
37
|
'fabric.editor.configPanel.invalid': 'Недопустиме значення поля',
|
|
37
38
|
'fabric.editor.configPanel.required': 'Обов’язкове поле',
|
|
38
39
|
'fabric.editor.configPanel.submit': 'Надіслати',
|
package/dist/cjs/i18n/vi.js
CHANGED
|
@@ -33,6 +33,7 @@ var _default = exports.default = {
|
|
|
33
33
|
'fabric.editor.configPanel.fieldTypeError.isMultipleAndRadio': 'Không thể kết hợp isMultiple với kiểu: radio',
|
|
34
34
|
'fabric.editor.configPanel.formType.addField': 'Thêm trường',
|
|
35
35
|
'fabric.editor.configPanel.formType.removeField': 'Xóa trường',
|
|
36
|
+
'fabric.editor.configPanel.help': 'Bạn cần được trợ giúp?',
|
|
36
37
|
'fabric.editor.configPanel.invalid': 'Trường không hợp lệ',
|
|
37
38
|
'fabric.editor.configPanel.required': 'Trường bắt buộc',
|
|
38
39
|
'fabric.editor.configPanel.submit': 'Gửi',
|
package/dist/cjs/i18n/zh.js
CHANGED
|
@@ -33,6 +33,7 @@ var _default = exports.default = {
|
|
|
33
33
|
'fabric.editor.configPanel.fieldTypeError.isMultipleAndRadio': '无法组合 isMultiple 与样式:radio',
|
|
34
34
|
'fabric.editor.configPanel.formType.addField': '添加字段',
|
|
35
35
|
'fabric.editor.configPanel.formType.removeField': '删除字段',
|
|
36
|
+
'fabric.editor.configPanel.help': '需要帮助?',
|
|
36
37
|
'fabric.editor.configPanel.invalid': '无效字段',
|
|
37
38
|
'fabric.editor.configPanel.required': '必填字段',
|
|
38
39
|
'fabric.editor.configPanel.submit': '提交',
|
package/dist/cjs/i18n/zh_TW.js
CHANGED
|
@@ -33,6 +33,7 @@ var _default = exports.default = {
|
|
|
33
33
|
'fabric.editor.configPanel.fieldTypeError.isMultipleAndRadio': '無法結合 isMultiple 與 radio 風格',
|
|
34
34
|
'fabric.editor.configPanel.formType.addField': '新增欄位',
|
|
35
35
|
'fabric.editor.configPanel.formType.removeField': '移除欄位',
|
|
36
|
+
'fabric.editor.configPanel.help': '需要協助嗎?',
|
|
36
37
|
'fabric.editor.configPanel.invalid': '無效欄位',
|
|
37
38
|
'fabric.editor.configPanel.required': '必要欄位',
|
|
38
39
|
'fabric.editor.configPanel.submit': '提交',
|
|
@@ -179,7 +179,7 @@ function handlePasteNonNestableBlockNodesIntoList(slice) {
|
|
|
179
179
|
var sliceContainsBlockNodesOtherThanThoseAllowedInListItem = false;
|
|
180
180
|
slice.content.forEach(function (child) {
|
|
181
181
|
var _listItem$spec$conten;
|
|
182
|
-
if (child.isBlock && !((_listItem$spec$conten = listItem.spec.content) !== null && _listItem$spec$conten !== void 0 && _listItem$spec$conten.includes(child.type.name))) {
|
|
182
|
+
if (!listItem || child.isBlock && !((_listItem$spec$conten = listItem.spec.content) !== null && _listItem$spec$conten !== void 0 && _listItem$spec$conten.includes(child.type.name))) {
|
|
183
183
|
sliceContainsBlockNodesOtherThanThoseAllowedInListItem = true;
|
|
184
184
|
}
|
|
185
185
|
});
|
|
@@ -410,7 +410,7 @@ function createPlugin(schema, dispatchAnalyticsEvent, dispatch, featureFlags, pl
|
|
|
410
410
|
if ((0, _analytics2.handlePastePanelOrDecisionIntoListWithAnalytics)(editorAnalyticsAPI)(view, event, slice, pluginInjectionApi === null || pluginInjectionApi === void 0 || (_pluginInjectionApi$l = pluginInjectionApi.list) === null || _pluginInjectionApi$l === void 0 ? void 0 : _pluginInjectionApi$l.actions.findRootParentListNode)(state, dispatch)) {
|
|
411
411
|
return true;
|
|
412
412
|
}
|
|
413
|
-
if (
|
|
413
|
+
if ((0, _analytics2.handlePasteNonNestableBlockNodesIntoListWithAnalytics)(editorAnalyticsAPI)(view, event, slice)(state, dispatch)) {
|
|
414
414
|
return true;
|
|
415
415
|
}
|
|
416
416
|
return (0, _analytics2.handleRichTextWithAnalytics)(view, event, slice, pluginInjectionApi)(state, dispatch);
|
|
@@ -95,9 +95,7 @@ function createUniversalPreset(appearance, props, featureFlags, prevAppearance,
|
|
|
95
95
|
return builder.add([plugin, props.allowTextColor]);
|
|
96
96
|
}
|
|
97
97
|
return builder;
|
|
98
|
-
}).add(
|
|
99
|
-
restartNumberedLists: featureFlags === null || featureFlags === void 0 ? void 0 : featureFlags.restartNumberedLists
|
|
100
|
-
}]).maybeAdd(_editorPluginRule.rulePlugin, function (plugin, builder) {
|
|
98
|
+
}).add(_editorPluginList.listPlugin).maybeAdd(_editorPluginRule.rulePlugin, function (plugin, builder) {
|
|
101
99
|
if (props.allowRule) {
|
|
102
100
|
return builder.add(plugin);
|
|
103
101
|
}
|
|
@@ -21,7 +21,7 @@ function getSpellCheck(featureFlags) {
|
|
|
21
21
|
* which is used by both current and archv3 editors.
|
|
22
22
|
*/
|
|
23
23
|
export function createFeatureFlagsFromProps(props) {
|
|
24
|
-
var _props$allowLayouts, _props$performanceTra, _props$performanceTra2, _props$allowExtension, _props$featureFlags, _props$featureFlags2, _props$featureFlags3, _props$featureFlags4, _props$featureFlags5, _props$featureFlags6, _props$featureFlags7, _props$featureFlags8, _props$featureFlags9, _props$featureFlags10, _props$featureFlags11, _props$featureFlags12, _props$featureFlags13, _props$featureFlags14, _props$collabEdit, _props$collabEdit2
|
|
24
|
+
var _props$allowLayouts, _props$performanceTra, _props$performanceTra2, _props$allowExtension, _props$featureFlags, _props$featureFlags2, _props$featureFlags3, _props$featureFlags4, _props$featureFlags5, _props$featureFlags6, _props$featureFlags7, _props$featureFlags8, _props$featureFlags9, _props$featureFlags10, _props$featureFlags11, _props$featureFlags12, _props$featureFlags13, _props$featureFlags14, _props$collabEdit, _props$collabEdit2;
|
|
25
25
|
const normalizedFeatureFlags = normalizeFeatureFlags(props.featureFlags);
|
|
26
26
|
return {
|
|
27
27
|
...normalizedFeatureFlags,
|
|
@@ -43,9 +43,6 @@ export function createFeatureFlagsFromProps(props) {
|
|
|
43
43
|
ufo: Boolean(typeof ((_props$featureFlags11 = props.featureFlags) === null || _props$featureFlags11 === void 0 ? void 0 : _props$featureFlags11.ufo) === 'boolean' ? !!((_props$featureFlags12 = props.featureFlags) !== null && _props$featureFlags12 !== void 0 && _props$featureFlags12.ufo) : false),
|
|
44
44
|
twoLineEditorToolbar: Boolean(typeof ((_props$featureFlags13 = props.featureFlags) === null || _props$featureFlags13 === void 0 ? void 0 : _props$featureFlags13.twoLineEditorToolbar) === 'boolean' ? !!((_props$featureFlags14 = props.featureFlags) !== null && _props$featureFlags14 !== void 0 && _props$featureFlags14.twoLineEditorToolbar) : false),
|
|
45
45
|
useNativeCollabPlugin: Boolean(typeof ((_props$collabEdit = props.collabEdit) === null || _props$collabEdit === void 0 ? void 0 : _props$collabEdit.useNativePlugin) === 'boolean' ? !!((_props$collabEdit2 = props.collabEdit) !== null && _props$collabEdit2 !== void 0 && _props$collabEdit2.useNativePlugin) : false),
|
|
46
|
-
disableSpellcheckByBrowser: getSpellCheck(props.featureFlags)
|
|
47
|
-
// Including fallback to props.featureFlags so that mobile feature flags
|
|
48
|
-
// are included (they are not kebab cased)
|
|
49
|
-
restartNumberedLists: normalizedFeatureFlags.restartNumberedLists === true || ((_props$featureFlags15 = props.featureFlags) === null || _props$featureFlags15 === void 0 ? void 0 : _props$featureFlags15.restartNumberedLists) === true
|
|
46
|
+
disableSpellcheckByBrowser: getSpellCheck(props.featureFlags)
|
|
50
47
|
};
|
|
51
48
|
}
|
package/dist/es2019/i18n/cs.js
CHANGED
|
@@ -27,6 +27,7 @@ export default {
|
|
|
27
27
|
'fabric.editor.configPanel.fieldTypeError.isMultipleAndRadio': '„isMultiple“ a „style: radio“ nelze kombinovat',
|
|
28
28
|
'fabric.editor.configPanel.formType.addField': 'Přidat pole',
|
|
29
29
|
'fabric.editor.configPanel.formType.removeField': 'Odebrat pole',
|
|
30
|
+
'fabric.editor.configPanel.help': 'Potřebujete pomoc?',
|
|
30
31
|
'fabric.editor.configPanel.invalid': 'Neplatné pole',
|
|
31
32
|
'fabric.editor.configPanel.required': 'Povinné pole',
|
|
32
33
|
'fabric.editor.configPanel.submit': 'Odeslat',
|
package/dist/es2019/i18n/da.js
CHANGED
|
@@ -27,6 +27,7 @@ export default {
|
|
|
27
27
|
'fabric.editor.configPanel.fieldTypeError.isMultipleAndRadio': 'Kunne ikke kombinere isMultiple med stilen: alternativknap',
|
|
28
28
|
'fabric.editor.configPanel.formType.addField': 'Tilføj felt',
|
|
29
29
|
'fabric.editor.configPanel.formType.removeField': 'Fjern felt',
|
|
30
|
+
'fabric.editor.configPanel.help': 'Har du brug for hjælp?',
|
|
30
31
|
'fabric.editor.configPanel.invalid': 'Ugyldigt felt',
|
|
31
32
|
'fabric.editor.configPanel.required': 'Påkrævet felt',
|
|
32
33
|
'fabric.editor.configPanel.submit': 'Send',
|
package/dist/es2019/i18n/de.js
CHANGED
|
@@ -27,6 +27,7 @@ export default {
|
|
|
27
27
|
'fabric.editor.configPanel.fieldTypeError.isMultipleAndRadio': 'isMultiple kann nicht mit Stil: radio kombiniert werden.',
|
|
28
28
|
'fabric.editor.configPanel.formType.addField': 'Feld hinzufügen',
|
|
29
29
|
'fabric.editor.configPanel.formType.removeField': 'Feld entfernen',
|
|
30
|
+
'fabric.editor.configPanel.help': 'Benötigen Sie Hilfe?',
|
|
30
31
|
'fabric.editor.configPanel.invalid': 'Ungültiges Feld',
|
|
31
32
|
'fabric.editor.configPanel.required': 'Pflichtfeld',
|
|
32
33
|
'fabric.editor.configPanel.submit': 'Senden',
|
package/dist/es2019/i18n/es.js
CHANGED
|
@@ -27,6 +27,7 @@ export default {
|
|
|
27
27
|
'fabric.editor.configPanel.fieldTypeError.isMultipleAndRadio': 'No se puede combinar isMultiple con style: radio',
|
|
28
28
|
'fabric.editor.configPanel.formType.addField': 'Añadir campo',
|
|
29
29
|
'fabric.editor.configPanel.formType.removeField': 'Eliminar campo',
|
|
30
|
+
'fabric.editor.configPanel.help': '¿Necesitas ayuda?',
|
|
30
31
|
'fabric.editor.configPanel.invalid': 'Campo no válido',
|
|
31
32
|
'fabric.editor.configPanel.required': 'Campo obligatorio',
|
|
32
33
|
'fabric.editor.configPanel.submit': 'Enviar',
|
package/dist/es2019/i18n/fi.js
CHANGED
|
@@ -27,6 +27,7 @@ export default {
|
|
|
27
27
|
'fabric.editor.configPanel.fieldTypeError.isMultipleAndRadio': 'Ei voi yhdistää kohdetta isMultiple tyyliin: radio',
|
|
28
28
|
'fabric.editor.configPanel.formType.addField': 'Lisää kenttä',
|
|
29
29
|
'fabric.editor.configPanel.formType.removeField': 'Poista kenttä',
|
|
30
|
+
'fabric.editor.configPanel.help': 'Tarvitsetko apua?',
|
|
30
31
|
'fabric.editor.configPanel.invalid': 'Virheellinen kenttä',
|
|
31
32
|
'fabric.editor.configPanel.required': 'Pakollinen kenttä',
|
|
32
33
|
'fabric.editor.configPanel.submit': 'Lähetä',
|
package/dist/es2019/i18n/fr.js
CHANGED
|
@@ -27,6 +27,7 @@ export default {
|
|
|
27
27
|
'fabric.editor.configPanel.fieldTypeError.isMultipleAndRadio': 'Impossible de combiner isMultiple avec style: radio',
|
|
28
28
|
'fabric.editor.configPanel.formType.addField': 'Ajouter un champ',
|
|
29
29
|
'fabric.editor.configPanel.formType.removeField': 'Supprimer le champ',
|
|
30
|
+
'fabric.editor.configPanel.help': "Besoin d'aide ?",
|
|
30
31
|
'fabric.editor.configPanel.invalid': 'Champ non valide',
|
|
31
32
|
'fabric.editor.configPanel.required': 'Champ obligatoire',
|
|
32
33
|
'fabric.editor.configPanel.submit': 'Soumettre',
|
package/dist/es2019/i18n/hu.js
CHANGED
|
@@ -27,6 +27,7 @@ export default {
|
|
|
27
27
|
'fabric.editor.configPanel.fieldTypeError.isMultipleAndRadio': 'Az isMultiple nem kombinálható a „radio” stílussal',
|
|
28
28
|
'fabric.editor.configPanel.formType.addField': 'Mező hozzáadása',
|
|
29
29
|
'fabric.editor.configPanel.formType.removeField': 'Mező eltávolítása',
|
|
30
|
+
'fabric.editor.configPanel.help': 'Segítségre van szükséged?',
|
|
30
31
|
'fabric.editor.configPanel.invalid': 'Érvénytelen mező',
|
|
31
32
|
'fabric.editor.configPanel.required': 'Kötelező mező',
|
|
32
33
|
'fabric.editor.configPanel.submit': 'Küldés',
|
package/dist/es2019/i18n/it.js
CHANGED
|
@@ -27,6 +27,7 @@ export default {
|
|
|
27
27
|
'fabric.editor.configPanel.fieldTypeError.isMultipleAndRadio': 'Impossibile combinare isMultiple con style: radio',
|
|
28
28
|
'fabric.editor.configPanel.formType.addField': 'Aggiungi campo',
|
|
29
29
|
'fabric.editor.configPanel.formType.removeField': 'Rimuovi campo',
|
|
30
|
+
'fabric.editor.configPanel.help': 'Serve aiuto?',
|
|
30
31
|
'fabric.editor.configPanel.invalid': 'Campo non valido',
|
|
31
32
|
'fabric.editor.configPanel.required': 'Campo obbligatorio',
|
|
32
33
|
'fabric.editor.configPanel.submit': 'Invia',
|
package/dist/es2019/i18n/ko.js
CHANGED
|
@@ -27,6 +27,7 @@ export default {
|
|
|
27
27
|
'fabric.editor.configPanel.fieldTypeError.isMultipleAndRadio': 'isMultiple과 스타일을 결합할 수 없음: 라디오',
|
|
28
28
|
'fabric.editor.configPanel.formType.addField': '필드 추가',
|
|
29
29
|
'fabric.editor.configPanel.formType.removeField': '필드 제거',
|
|
30
|
+
'fabric.editor.configPanel.help': '도움이 필요하십니까?',
|
|
30
31
|
'fabric.editor.configPanel.invalid': '유효하지 않은 필드',
|
|
31
32
|
'fabric.editor.configPanel.required': '필수 필드',
|
|
32
33
|
'fabric.editor.configPanel.submit': '제출',
|
package/dist/es2019/i18n/nb.js
CHANGED
|
@@ -27,6 +27,7 @@ export default {
|
|
|
27
27
|
'fabric.editor.configPanel.fieldTypeError.isMultipleAndRadio': 'Kan ikke kombinere isMultiple med stil: radio',
|
|
28
28
|
'fabric.editor.configPanel.formType.addField': 'Legg til felt',
|
|
29
29
|
'fabric.editor.configPanel.formType.removeField': 'Fjern felt',
|
|
30
|
+
'fabric.editor.configPanel.help': 'Trenger du hjelp?',
|
|
30
31
|
'fabric.editor.configPanel.invalid': 'Ugyldig felt',
|
|
31
32
|
'fabric.editor.configPanel.required': 'Obligatorisk felt',
|
|
32
33
|
'fabric.editor.configPanel.submit': 'Send inn',
|
package/dist/es2019/i18n/nl.js
CHANGED
|
@@ -27,6 +27,7 @@ export default {
|
|
|
27
27
|
'fabric.editor.configPanel.fieldTypeError.isMultipleAndRadio': 'Kan isMultiple niet combineren met stijl: radio',
|
|
28
28
|
'fabric.editor.configPanel.formType.addField': 'Veld toevoegen',
|
|
29
29
|
'fabric.editor.configPanel.formType.removeField': 'Veld verwijderen',
|
|
30
|
+
'fabric.editor.configPanel.help': 'Hulp nodig?',
|
|
30
31
|
'fabric.editor.configPanel.invalid': 'Ongeldig veld',
|
|
31
32
|
'fabric.editor.configPanel.required': 'Verplicht veld',
|
|
32
33
|
'fabric.editor.configPanel.submit': 'Verzenden',
|
package/dist/es2019/i18n/pl.js
CHANGED
|
@@ -27,6 +27,7 @@ export default {
|
|
|
27
27
|
'fabric.editor.configPanel.fieldTypeError.isMultipleAndRadio': 'Nie można połączyć isMultiple ze stylem: radio',
|
|
28
28
|
'fabric.editor.configPanel.formType.addField': 'Dodaj pole',
|
|
29
29
|
'fabric.editor.configPanel.formType.removeField': 'Usuń pole',
|
|
30
|
+
'fabric.editor.configPanel.help': 'Potrzebujesz pomocy?',
|
|
30
31
|
'fabric.editor.configPanel.invalid': 'Nieprawidłowe pole',
|
|
31
32
|
'fabric.editor.configPanel.required': 'Pole wymagane',
|
|
32
33
|
'fabric.editor.configPanel.submit': 'Wyślij',
|
|
@@ -27,6 +27,7 @@ export default {
|
|
|
27
27
|
'fabric.editor.configPanel.fieldTypeError.isMultipleAndRadio': 'Não é possível combinar isMultiple com estilo: rádio',
|
|
28
28
|
'fabric.editor.configPanel.formType.addField': 'Adicionar campo',
|
|
29
29
|
'fabric.editor.configPanel.formType.removeField': 'Remover campo',
|
|
30
|
+
'fabric.editor.configPanel.help': 'Precisa de ajuda?',
|
|
30
31
|
'fabric.editor.configPanel.invalid': 'Campo inválido',
|
|
31
32
|
'fabric.editor.configPanel.required': 'Campo obrigatório',
|
|
32
33
|
'fabric.editor.configPanel.submit': 'Enviar',
|
package/dist/es2019/i18n/ru.js
CHANGED
|
@@ -27,6 +27,7 @@ export default {
|
|
|
27
27
|
'fabric.editor.configPanel.fieldTypeError.isMultipleAndRadio': 'Невозможно использовать isMultiple с параметром style: radio',
|
|
28
28
|
'fabric.editor.configPanel.formType.addField': 'Добавить поле',
|
|
29
29
|
'fabric.editor.configPanel.formType.removeField': 'Удалить поле',
|
|
30
|
+
'fabric.editor.configPanel.help': 'Нужна помощь?',
|
|
30
31
|
'fabric.editor.configPanel.invalid': 'Недопустимое поле',
|
|
31
32
|
'fabric.editor.configPanel.required': 'Обязательное поле',
|
|
32
33
|
'fabric.editor.configPanel.submit': 'Отправить',
|
package/dist/es2019/i18n/sv.js
CHANGED
|
@@ -27,6 +27,7 @@ export default {
|
|
|
27
27
|
'fabric.editor.configPanel.fieldTypeError.isMultipleAndRadio': 'Kan inte kombinera isMultiple med stilen radio',
|
|
28
28
|
'fabric.editor.configPanel.formType.addField': 'Lägg till fält',
|
|
29
29
|
'fabric.editor.configPanel.formType.removeField': 'Ta bort fält',
|
|
30
|
+
'fabric.editor.configPanel.help': 'Behöver du hjälp?',
|
|
30
31
|
'fabric.editor.configPanel.invalid': 'Ogiltigt fält',
|
|
31
32
|
'fabric.editor.configPanel.required': 'Obligatoriskt fält',
|
|
32
33
|
'fabric.editor.configPanel.submit': 'Skicka in',
|
package/dist/es2019/i18n/th.js
CHANGED
|
@@ -27,6 +27,7 @@ export default {
|
|
|
27
27
|
'fabric.editor.configPanel.fieldTypeError.isMultipleAndRadio': 'ไม่สามารถรวม isMultiple กับรูปแบบได้: radio',
|
|
28
28
|
'fabric.editor.configPanel.formType.addField': 'เพิ่มฟิลด์',
|
|
29
29
|
'fabric.editor.configPanel.formType.removeField': 'ลบฟิลด์ออก',
|
|
30
|
+
'fabric.editor.configPanel.help': 'ต้องการความช่วยเหลือใช่ไหม',
|
|
30
31
|
'fabric.editor.configPanel.invalid': 'ฟิลด์ไม่ถูกต้อง',
|
|
31
32
|
'fabric.editor.configPanel.required': 'ช่องที่ต้องกรอก',
|
|
32
33
|
'fabric.editor.configPanel.submit': 'ส่ง',
|
package/dist/es2019/i18n/tr.js
CHANGED
|
@@ -27,6 +27,7 @@ export default {
|
|
|
27
27
|
'fabric.editor.configPanel.fieldTypeError.isMultipleAndRadio': 'Stil radio olduğunda isMultiple kullanılamaz',
|
|
28
28
|
'fabric.editor.configPanel.formType.addField': 'Alan ekle',
|
|
29
29
|
'fabric.editor.configPanel.formType.removeField': 'Alanı kaldır',
|
|
30
|
+
'fabric.editor.configPanel.help': 'Yardıma mı ihtiyacınız var?',
|
|
30
31
|
'fabric.editor.configPanel.invalid': 'Geçersiz alan',
|
|
31
32
|
'fabric.editor.configPanel.required': 'Gerekli alan',
|
|
32
33
|
'fabric.editor.configPanel.submit': 'Gönder',
|
package/dist/es2019/i18n/uk.js
CHANGED
|
@@ -27,6 +27,7 @@ export default {
|
|
|
27
27
|
'fabric.editor.configPanel.fieldTypeError.isMultipleAndRadio': "Не можна поєднати об'єкт isMultiple зі стилем radio",
|
|
28
28
|
'fabric.editor.configPanel.formType.addField': 'Додати поле',
|
|
29
29
|
'fabric.editor.configPanel.formType.removeField': 'Видалити поле',
|
|
30
|
+
'fabric.editor.configPanel.help': 'Потрібна допомога?',
|
|
30
31
|
'fabric.editor.configPanel.invalid': 'Недопустиме значення поля',
|
|
31
32
|
'fabric.editor.configPanel.required': 'Обов’язкове поле',
|
|
32
33
|
'fabric.editor.configPanel.submit': 'Надіслати',
|
package/dist/es2019/i18n/vi.js
CHANGED
|
@@ -27,6 +27,7 @@ export default {
|
|
|
27
27
|
'fabric.editor.configPanel.fieldTypeError.isMultipleAndRadio': 'Không thể kết hợp isMultiple với kiểu: radio',
|
|
28
28
|
'fabric.editor.configPanel.formType.addField': 'Thêm trường',
|
|
29
29
|
'fabric.editor.configPanel.formType.removeField': 'Xóa trường',
|
|
30
|
+
'fabric.editor.configPanel.help': 'Bạn cần được trợ giúp?',
|
|
30
31
|
'fabric.editor.configPanel.invalid': 'Trường không hợp lệ',
|
|
31
32
|
'fabric.editor.configPanel.required': 'Trường bắt buộc',
|
|
32
33
|
'fabric.editor.configPanel.submit': 'Gửi',
|
package/dist/es2019/i18n/zh.js
CHANGED
|
@@ -27,6 +27,7 @@ export default {
|
|
|
27
27
|
'fabric.editor.configPanel.fieldTypeError.isMultipleAndRadio': '无法组合 isMultiple 与样式:radio',
|
|
28
28
|
'fabric.editor.configPanel.formType.addField': '添加字段',
|
|
29
29
|
'fabric.editor.configPanel.formType.removeField': '删除字段',
|
|
30
|
+
'fabric.editor.configPanel.help': '需要帮助?',
|
|
30
31
|
'fabric.editor.configPanel.invalid': '无效字段',
|
|
31
32
|
'fabric.editor.configPanel.required': '必填字段',
|
|
32
33
|
'fabric.editor.configPanel.submit': '提交',
|
|
@@ -27,6 +27,7 @@ export default {
|
|
|
27
27
|
'fabric.editor.configPanel.fieldTypeError.isMultipleAndRadio': '無法結合 isMultiple 與 radio 風格',
|
|
28
28
|
'fabric.editor.configPanel.formType.addField': '新增欄位',
|
|
29
29
|
'fabric.editor.configPanel.formType.removeField': '移除欄位',
|
|
30
|
+
'fabric.editor.configPanel.help': '需要協助嗎?',
|
|
30
31
|
'fabric.editor.configPanel.invalid': '無效欄位',
|
|
31
32
|
'fabric.editor.configPanel.required': '必要欄位',
|
|
32
33
|
'fabric.editor.configPanel.submit': '提交',
|
|
@@ -162,7 +162,7 @@ export function handlePasteNonNestableBlockNodesIntoList(slice) {
|
|
|
162
162
|
let sliceContainsBlockNodesOtherThanThoseAllowedInListItem = false;
|
|
163
163
|
slice.content.forEach(child => {
|
|
164
164
|
var _listItem$spec$conten;
|
|
165
|
-
if (child.isBlock && !((_listItem$spec$conten = listItem.spec.content) !== null && _listItem$spec$conten !== void 0 && _listItem$spec$conten.includes(child.type.name))) {
|
|
165
|
+
if (!listItem || child.isBlock && !((_listItem$spec$conten = listItem.spec.content) !== null && _listItem$spec$conten !== void 0 && _listItem$spec$conten.includes(child.type.name))) {
|
|
166
166
|
sliceContainsBlockNodesOtherThanThoseAllowedInListItem = true;
|
|
167
167
|
}
|
|
168
168
|
});
|
|
@@ -377,7 +377,7 @@ export function createPlugin(schema, dispatchAnalyticsEvent, dispatch, featureFl
|
|
|
377
377
|
if (handlePastePanelOrDecisionIntoListWithAnalytics(editorAnalyticsAPI)(view, event, slice, pluginInjectionApi === null || pluginInjectionApi === void 0 ? void 0 : (_pluginInjectionApi$l = pluginInjectionApi.list) === null || _pluginInjectionApi$l === void 0 ? void 0 : _pluginInjectionApi$l.actions.findRootParentListNode)(state, dispatch)) {
|
|
378
378
|
return true;
|
|
379
379
|
}
|
|
380
|
-
if (
|
|
380
|
+
if (handlePasteNonNestableBlockNodesIntoListWithAnalytics(editorAnalyticsAPI)(view, event, slice)(state, dispatch)) {
|
|
381
381
|
return true;
|
|
382
382
|
}
|
|
383
383
|
return handleRichTextWithAnalytics(view, event, slice, pluginInjectionApi)(state, dispatch);
|
|
@@ -82,9 +82,7 @@ export default function createUniversalPreset(appearance, props, featureFlags, p
|
|
|
82
82
|
return builder.add([plugin, props.allowTextColor]);
|
|
83
83
|
}
|
|
84
84
|
return builder;
|
|
85
|
-
}).add(
|
|
86
|
-
restartNumberedLists: featureFlags === null || featureFlags === void 0 ? void 0 : featureFlags.restartNumberedLists
|
|
87
|
-
}]).maybeAdd(rulePlugin, (plugin, builder) => {
|
|
85
|
+
}).add(listPlugin).maybeAdd(rulePlugin, (plugin, builder) => {
|
|
88
86
|
if (props.allowRule) {
|
|
89
87
|
return builder.add(plugin);
|
|
90
88
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export const name = "@atlaskit/editor-core";
|
|
2
|
-
export const version = "
|
|
2
|
+
export const version = "190.0.0";
|
|
@@ -25,7 +25,7 @@ function getSpellCheck(featureFlags) {
|
|
|
25
25
|
* which is used by both current and archv3 editors.
|
|
26
26
|
*/
|
|
27
27
|
export function createFeatureFlagsFromProps(props) {
|
|
28
|
-
var _props$allowLayouts, _props$performanceTra, _props$allowExtension, _props$featureFlags, _props$featureFlags2, _props$featureFlags3, _props$featureFlags4, _props$featureFlags5, _props$featureFlags6, _props$featureFlags7, _props$featureFlags8, _props$featureFlags9, _props$featureFlags10, _props$featureFlags11, _props$featureFlags12, _props$featureFlags13, _props$featureFlags14, _props$collabEdit, _props$collabEdit2
|
|
28
|
+
var _props$allowLayouts, _props$performanceTra, _props$allowExtension, _props$featureFlags, _props$featureFlags2, _props$featureFlags3, _props$featureFlags4, _props$featureFlags5, _props$featureFlags6, _props$featureFlags7, _props$featureFlags8, _props$featureFlags9, _props$featureFlags10, _props$featureFlags11, _props$featureFlags12, _props$featureFlags13, _props$featureFlags14, _props$collabEdit, _props$collabEdit2;
|
|
29
29
|
var normalizedFeatureFlags = normalizeFeatureFlags(props.featureFlags);
|
|
30
30
|
return _objectSpread(_objectSpread({}, normalizedFeatureFlags), {}, {
|
|
31
31
|
newInsertionBehaviour: props.allowNewInsertionBehaviour,
|
|
@@ -46,9 +46,6 @@ export function createFeatureFlagsFromProps(props) {
|
|
|
46
46
|
ufo: Boolean(typeof ((_props$featureFlags11 = props.featureFlags) === null || _props$featureFlags11 === void 0 ? void 0 : _props$featureFlags11.ufo) === 'boolean' ? !!((_props$featureFlags12 = props.featureFlags) !== null && _props$featureFlags12 !== void 0 && _props$featureFlags12.ufo) : false),
|
|
47
47
|
twoLineEditorToolbar: Boolean(typeof ((_props$featureFlags13 = props.featureFlags) === null || _props$featureFlags13 === void 0 ? void 0 : _props$featureFlags13.twoLineEditorToolbar) === 'boolean' ? !!((_props$featureFlags14 = props.featureFlags) !== null && _props$featureFlags14 !== void 0 && _props$featureFlags14.twoLineEditorToolbar) : false),
|
|
48
48
|
useNativeCollabPlugin: Boolean(typeof ((_props$collabEdit = props.collabEdit) === null || _props$collabEdit === void 0 ? void 0 : _props$collabEdit.useNativePlugin) === 'boolean' ? !!((_props$collabEdit2 = props.collabEdit) !== null && _props$collabEdit2 !== void 0 && _props$collabEdit2.useNativePlugin) : false),
|
|
49
|
-
disableSpellcheckByBrowser: getSpellCheck(props.featureFlags)
|
|
50
|
-
// Including fallback to props.featureFlags so that mobile feature flags
|
|
51
|
-
// are included (they are not kebab cased)
|
|
52
|
-
restartNumberedLists: normalizedFeatureFlags.restartNumberedLists === true || ((_props$featureFlags15 = props.featureFlags) === null || _props$featureFlags15 === void 0 ? void 0 : _props$featureFlags15.restartNumberedLists) === true
|
|
49
|
+
disableSpellcheckByBrowser: getSpellCheck(props.featureFlags)
|
|
53
50
|
});
|
|
54
51
|
}
|
package/dist/esm/i18n/cs.js
CHANGED
|
@@ -27,6 +27,7 @@ export default {
|
|
|
27
27
|
'fabric.editor.configPanel.fieldTypeError.isMultipleAndRadio': '„isMultiple“ a „style: radio“ nelze kombinovat',
|
|
28
28
|
'fabric.editor.configPanel.formType.addField': 'Přidat pole',
|
|
29
29
|
'fabric.editor.configPanel.formType.removeField': 'Odebrat pole',
|
|
30
|
+
'fabric.editor.configPanel.help': 'Potřebujete pomoc?',
|
|
30
31
|
'fabric.editor.configPanel.invalid': 'Neplatné pole',
|
|
31
32
|
'fabric.editor.configPanel.required': 'Povinné pole',
|
|
32
33
|
'fabric.editor.configPanel.submit': 'Odeslat',
|
package/dist/esm/i18n/da.js
CHANGED
|
@@ -27,6 +27,7 @@ export default {
|
|
|
27
27
|
'fabric.editor.configPanel.fieldTypeError.isMultipleAndRadio': 'Kunne ikke kombinere isMultiple med stilen: alternativknap',
|
|
28
28
|
'fabric.editor.configPanel.formType.addField': 'Tilføj felt',
|
|
29
29
|
'fabric.editor.configPanel.formType.removeField': 'Fjern felt',
|
|
30
|
+
'fabric.editor.configPanel.help': 'Har du brug for hjælp?',
|
|
30
31
|
'fabric.editor.configPanel.invalid': 'Ugyldigt felt',
|
|
31
32
|
'fabric.editor.configPanel.required': 'Påkrævet felt',
|
|
32
33
|
'fabric.editor.configPanel.submit': 'Send',
|
package/dist/esm/i18n/de.js
CHANGED
|
@@ -27,6 +27,7 @@ export default {
|
|
|
27
27
|
'fabric.editor.configPanel.fieldTypeError.isMultipleAndRadio': 'isMultiple kann nicht mit Stil: radio kombiniert werden.',
|
|
28
28
|
'fabric.editor.configPanel.formType.addField': 'Feld hinzufügen',
|
|
29
29
|
'fabric.editor.configPanel.formType.removeField': 'Feld entfernen',
|
|
30
|
+
'fabric.editor.configPanel.help': 'Benötigen Sie Hilfe?',
|
|
30
31
|
'fabric.editor.configPanel.invalid': 'Ungültiges Feld',
|
|
31
32
|
'fabric.editor.configPanel.required': 'Pflichtfeld',
|
|
32
33
|
'fabric.editor.configPanel.submit': 'Senden',
|