@atlaskit/editor-plugin-extension 18.0.2 → 18.0.4
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
CHANGED
|
@@ -14,6 +14,7 @@ var _editorJsonTransformer = require("@atlaskit/editor-json-transformer");
|
|
|
14
14
|
var _model = require("@atlaskit/editor-prosemirror/model");
|
|
15
15
|
var _state = require("@atlaskit/editor-prosemirror/state");
|
|
16
16
|
var _utils2 = require("@atlaskit/editor-prosemirror/utils");
|
|
17
|
+
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
17
18
|
var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
|
|
18
19
|
var _commands = require("../editor-commands/commands");
|
|
19
20
|
var _actions = require("./macro/actions");
|
|
@@ -56,7 +57,8 @@ var createExtensionAPI = exports.createExtensionAPI = function createExtensionAP
|
|
|
56
57
|
var nodes = Object.keys(schema.nodes);
|
|
57
58
|
var marks = Object.keys(schema.marks);
|
|
58
59
|
var validate = (0, _validator.validator)(nodes, marks, {
|
|
59
|
-
allowPrivateAttributes: true
|
|
60
|
+
allowPrivateAttributes: true,
|
|
61
|
+
stage0: (0, _platformFeatureFlags.fg)('platform_editor_adf_validator_stage0')
|
|
60
62
|
});
|
|
61
63
|
|
|
62
64
|
/**
|
|
@@ -5,6 +5,7 @@ import { JSONTransformer } from '@atlaskit/editor-json-transformer';
|
|
|
5
5
|
import { Fragment, Mark } from '@atlaskit/editor-prosemirror/model';
|
|
6
6
|
import { NodeSelection, Selection, TextSelection } from '@atlaskit/editor-prosemirror/state';
|
|
7
7
|
import { setTextSelection } from '@atlaskit/editor-prosemirror/utils';
|
|
8
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
8
9
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
9
10
|
import { setEditingContextToContextPanel } from '../editor-commands/commands';
|
|
10
11
|
import { insertMacroFromMacroBrowser } from './macro/actions';
|
|
@@ -50,7 +51,8 @@ export const createExtensionAPI = options => {
|
|
|
50
51
|
const nodes = Object.keys(schema.nodes);
|
|
51
52
|
const marks = Object.keys(schema.marks);
|
|
52
53
|
const validate = validator(nodes, marks, {
|
|
53
|
-
allowPrivateAttributes: true
|
|
54
|
+
allowPrivateAttributes: true,
|
|
55
|
+
stage0: fg('platform_editor_adf_validator_stage0')
|
|
54
56
|
});
|
|
55
57
|
|
|
56
58
|
/**
|
|
@@ -9,6 +9,7 @@ import { JSONTransformer } from '@atlaskit/editor-json-transformer';
|
|
|
9
9
|
import { Fragment, Mark } from '@atlaskit/editor-prosemirror/model';
|
|
10
10
|
import { NodeSelection, Selection, TextSelection } from '@atlaskit/editor-prosemirror/state';
|
|
11
11
|
import { setTextSelection } from '@atlaskit/editor-prosemirror/utils';
|
|
12
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
12
13
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
13
14
|
import { setEditingContextToContextPanel } from '../editor-commands/commands';
|
|
14
15
|
import { insertMacroFromMacroBrowser } from './macro/actions';
|
|
@@ -49,7 +50,8 @@ export var createExtensionAPI = function createExtensionAPI(options) {
|
|
|
49
50
|
var nodes = Object.keys(schema.nodes);
|
|
50
51
|
var marks = Object.keys(schema.marks);
|
|
51
52
|
var validate = validator(nodes, marks, {
|
|
52
|
-
allowPrivateAttributes: true
|
|
53
|
+
allowPrivateAttributes: true,
|
|
54
|
+
stage0: fg('platform_editor_adf_validator_stage0')
|
|
53
55
|
});
|
|
54
56
|
|
|
55
57
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-extension",
|
|
3
|
-
"version": "18.0.
|
|
3
|
+
"version": "18.0.4",
|
|
4
4
|
"description": "editor-plugin-extension plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -22,16 +22,16 @@
|
|
|
22
22
|
"atlaskit:src": "src/index.ts",
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"@atlaskit/adf-schema": "^57.0.0",
|
|
25
|
-
"@atlaskit/adf-utils": "^20.
|
|
25
|
+
"@atlaskit/adf-utils": "^20.7.0",
|
|
26
26
|
"@atlaskit/analytics-next": "^12.3.0",
|
|
27
27
|
"@atlaskit/avatar": "^27.0.0",
|
|
28
28
|
"@atlaskit/browser-apis": "^1.2.0",
|
|
29
|
-
"@atlaskit/button": "^25.
|
|
29
|
+
"@atlaskit/button": "^25.1.0",
|
|
30
30
|
"@atlaskit/checkbox": "^19.0.0",
|
|
31
31
|
"@atlaskit/datetime-picker": "^18.3.0",
|
|
32
32
|
"@atlaskit/editor-json-transformer": "^9.4.0",
|
|
33
33
|
"@atlaskit/editor-plugin-analytics": "^15.0.0",
|
|
34
|
-
"@atlaskit/editor-plugin-block-menu": "^14.
|
|
34
|
+
"@atlaskit/editor-plugin-block-menu": "^14.1.0",
|
|
35
35
|
"@atlaskit/editor-plugin-connectivity": "^15.0.0",
|
|
36
36
|
"@atlaskit/editor-plugin-context-identifier": "^15.0.0",
|
|
37
37
|
"@atlaskit/editor-plugin-context-panel": "^17.0.0",
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"@atlaskit/heading": "^7.0.0",
|
|
50
50
|
"@atlaskit/icon": "^37.3.0",
|
|
51
51
|
"@atlaskit/link": "^5.0.0",
|
|
52
|
-
"@atlaskit/mention": "^27.
|
|
52
|
+
"@atlaskit/mention": "^27.18.0",
|
|
53
53
|
"@atlaskit/platform-feature-experiments": "^0.3.0",
|
|
54
54
|
"@atlaskit/platform-feature-flags": "^2.1.0",
|
|
55
55
|
"@atlaskit/primitives": "^22.2.0",
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"@atlaskit/tabs": "^21.0.0",
|
|
62
62
|
"@atlaskit/textarea": "^10.0.0",
|
|
63
63
|
"@atlaskit/textfield": "^10.0.0",
|
|
64
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
64
|
+
"@atlaskit/tmp-editor-statsig": "^150.0.0",
|
|
65
65
|
"@atlaskit/toggle": "^17.1.0",
|
|
66
66
|
"@atlaskit/tokens": "^16.7.0",
|
|
67
67
|
"@atlaskit/tooltip": "^24.0.0",
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
"uuid": "^3.1.0"
|
|
76
76
|
},
|
|
77
77
|
"peerDependencies": {
|
|
78
|
-
"@atlaskit/editor-common": "^119.
|
|
78
|
+
"@atlaskit/editor-common": "^119.9.0",
|
|
79
79
|
"react": "^18.2.0 || ^19.2.0",
|
|
80
80
|
"react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"
|
|
81
81
|
},
|
|
@@ -119,6 +119,9 @@
|
|
|
119
119
|
}
|
|
120
120
|
},
|
|
121
121
|
"platform-feature-flags": {
|
|
122
|
+
"platform_editor_adf_validator_stage0": {
|
|
123
|
+
"type": "boolean"
|
|
124
|
+
},
|
|
122
125
|
"platform_editor_ai_object_sidebar_injection": {
|
|
123
126
|
"type": "boolean"
|
|
124
127
|
},
|