@atlaskit/editor-plugin-base 7.2.6 → 7.2.8
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/basePlugin.js +6 -12
- package/dist/es2019/basePlugin.js +4 -10
- package/dist/esm/basePlugin.js +6 -12
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-base
|
|
2
2
|
|
|
3
|
+
## 7.2.8
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`8cf337169ee4b`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/8cf337169ee4b) -
|
|
8
|
+
Remove the jira advanced code blocks experiment
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
11
|
+
## 7.2.7
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- [`e3779b75fdeca`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/e3779b75fdeca) -
|
|
16
|
+
EDITOR-1643 Promote syncBlock and bodiedSyncBlock to full schema
|
|
17
|
+
- Updated dependencies
|
|
18
|
+
|
|
3
19
|
## 7.2.6
|
|
4
20
|
|
|
5
21
|
### Patch Changes
|
package/dist/cjs/basePlugin.js
CHANGED
|
@@ -11,8 +11,6 @@ var _adfSchema = require("@atlaskit/adf-schema");
|
|
|
11
11
|
var _keymaps = require("@atlaskit/editor-common/keymaps");
|
|
12
12
|
var _commands = require("@atlaskit/editor-prosemirror/commands");
|
|
13
13
|
var _prosemirrorHistory = require("@atlaskit/prosemirror-history");
|
|
14
|
-
var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
|
|
15
|
-
var _experiments = require("@atlaskit/tmp-editor-statsig/experiments");
|
|
16
14
|
var _setKeyboardHeight = require("./editor-commands/set-keyboard-height");
|
|
17
15
|
var _disableSpellChecking = _interopRequireDefault(require("./pm-plugins/disable-spell-checking"));
|
|
18
16
|
var _filterSteps = _interopRequireDefault(require("./pm-plugins/filter-steps"));
|
|
@@ -105,16 +103,12 @@ var basePlugin = function basePlugin(_ref) {
|
|
|
105
103
|
return (0, _filterSteps.default)(dispatchAnalyticsEvent);
|
|
106
104
|
}
|
|
107
105
|
}];
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
return (0, _lazyNodeViewDecoration.createLazyNodeViewDecorationPlugin)();
|
|
115
|
-
}
|
|
116
|
-
});
|
|
117
|
-
}
|
|
106
|
+
plugins.push({
|
|
107
|
+
name: 'lazyNodeViewDecorationsPlugin',
|
|
108
|
+
plugin: function plugin() {
|
|
109
|
+
return (0, _lazyNodeViewDecoration.createLazyNodeViewDecorationPlugin)();
|
|
110
|
+
}
|
|
111
|
+
});
|
|
118
112
|
|
|
119
113
|
// In Chrome, when the selection is placed between adjacent nodes which are not contenteditatble
|
|
120
114
|
// the cursor appears at the right most point of the parent container.
|
|
@@ -2,8 +2,6 @@ import { doc, paragraph, text } from '@atlaskit/adf-schema';
|
|
|
2
2
|
import { keymap } from '@atlaskit/editor-common/keymaps';
|
|
3
3
|
import { baseKeymap } from '@atlaskit/editor-prosemirror/commands';
|
|
4
4
|
import { history } from '@atlaskit/prosemirror-history';
|
|
5
|
-
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
6
|
-
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
|
|
7
5
|
import { setKeyboardHeight } from './editor-commands/set-keyboard-height';
|
|
8
6
|
import disableSpellcheckingPlugin from './pm-plugins/disable-spell-checking';
|
|
9
7
|
import filterStepsPlugin from './pm-plugins/filter-steps';
|
|
@@ -99,14 +97,10 @@ const basePlugin = ({
|
|
|
99
97
|
dispatchAnalyticsEvent
|
|
100
98
|
}) => filterStepsPlugin(dispatchAnalyticsEvent)
|
|
101
99
|
}];
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
name: 'lazyNodeViewDecorationsPlugin',
|
|
107
|
-
plugin: () => createLazyNodeViewDecorationPlugin()
|
|
108
|
-
});
|
|
109
|
-
}
|
|
100
|
+
plugins.push({
|
|
101
|
+
name: 'lazyNodeViewDecorationsPlugin',
|
|
102
|
+
plugin: () => createLazyNodeViewDecorationPlugin()
|
|
103
|
+
});
|
|
110
104
|
|
|
111
105
|
// In Chrome, when the selection is placed between adjacent nodes which are not contenteditatble
|
|
112
106
|
// the cursor appears at the right most point of the parent container.
|
package/dist/esm/basePlugin.js
CHANGED
|
@@ -5,8 +5,6 @@ import { doc, paragraph, text } from '@atlaskit/adf-schema';
|
|
|
5
5
|
import { keymap } from '@atlaskit/editor-common/keymaps';
|
|
6
6
|
import { baseKeymap } from '@atlaskit/editor-prosemirror/commands';
|
|
7
7
|
import { history } from '@atlaskit/prosemirror-history';
|
|
8
|
-
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
9
|
-
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
|
|
10
8
|
import { setKeyboardHeight } from './editor-commands/set-keyboard-height';
|
|
11
9
|
import disableSpellcheckingPlugin from './pm-plugins/disable-spell-checking';
|
|
12
10
|
import filterStepsPlugin from './pm-plugins/filter-steps';
|
|
@@ -97,16 +95,12 @@ var basePlugin = function basePlugin(_ref) {
|
|
|
97
95
|
return filterStepsPlugin(dispatchAnalyticsEvent);
|
|
98
96
|
}
|
|
99
97
|
}];
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
return createLazyNodeViewDecorationPlugin();
|
|
107
|
-
}
|
|
108
|
-
});
|
|
109
|
-
}
|
|
98
|
+
plugins.push({
|
|
99
|
+
name: 'lazyNodeViewDecorationsPlugin',
|
|
100
|
+
plugin: function plugin() {
|
|
101
|
+
return createLazyNodeViewDecorationPlugin();
|
|
102
|
+
}
|
|
103
|
+
});
|
|
110
104
|
|
|
111
105
|
// In Chrome, when the selection is placed between adjacent nodes which are not contenteditatble
|
|
112
106
|
// the cursor appears at the right most point of the parent container.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-base",
|
|
3
|
-
"version": "7.2.
|
|
3
|
+
"version": "7.2.8",
|
|
4
4
|
"description": "Base plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -27,12 +27,12 @@
|
|
|
27
27
|
"sideEffects": false,
|
|
28
28
|
"atlaskit:src": "src/index.ts",
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@atlaskit/adf-schema": "^51.
|
|
30
|
+
"@atlaskit/adf-schema": "^51.5.1",
|
|
31
31
|
"@atlaskit/editor-plugin-context-identifier": "^6.0.0",
|
|
32
32
|
"@atlaskit/editor-plugin-feature-flags": "^5.0.0",
|
|
33
33
|
"@atlaskit/editor-prosemirror": "7.0.0",
|
|
34
34
|
"@atlaskit/prosemirror-history": "^0.2.0",
|
|
35
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
35
|
+
"@atlaskit/tmp-editor-statsig": "^15.0.0",
|
|
36
36
|
"@babel/runtime": "^7.0.0"
|
|
37
37
|
},
|
|
38
38
|
"techstack": {
|
|
@@ -74,6 +74,6 @@
|
|
|
74
74
|
}
|
|
75
75
|
},
|
|
76
76
|
"peerDependencies": {
|
|
77
|
-
"@atlaskit/editor-common": "^110.
|
|
77
|
+
"@atlaskit/editor-common": "^110.40.0"
|
|
78
78
|
}
|
|
79
79
|
}
|