@atlaskit/editor-plugin-base 17.0.7 → 17.0.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
CHANGED
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
var _safePlugin = require("@atlaskit/editor-common/safe-plugin");
|
|
8
|
-
var
|
|
8
|
+
var _editorExperiment = require("@atlaskit/tmp-editor-statsig/editor-experiment");
|
|
9
9
|
var _pluginKey = require("./plugin-key");
|
|
10
10
|
var GUTTER_SIZE_IN_PX = 120;
|
|
11
11
|
var GUTTER_SELECTOR_NAME = 'editor-scroll-gutter';
|
|
@@ -15,7 +15,7 @@ var GUTTER_ATTR = 'data-editor-scroll-gutter';
|
|
|
15
15
|
* Create a gutter element that can be added or removed from the DOM.
|
|
16
16
|
*/
|
|
17
17
|
function createGutter(gutterSize, parent) {
|
|
18
|
-
if ((0,
|
|
18
|
+
if ((0, _editorExperiment.editorExperiment)('platform_editor_blocks', true)) {
|
|
19
19
|
if (!parent) {
|
|
20
20
|
return function () {};
|
|
21
21
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
|
|
2
|
-
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/
|
|
2
|
+
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/editor-experiment';
|
|
3
3
|
import { scrollGutterPluginKey } from './plugin-key';
|
|
4
4
|
const GUTTER_SIZE_IN_PX = 120;
|
|
5
5
|
const GUTTER_SELECTOR_NAME = 'editor-scroll-gutter';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
|
|
2
|
-
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/
|
|
2
|
+
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/editor-experiment';
|
|
3
3
|
import { scrollGutterPluginKey } from './plugin-key';
|
|
4
4
|
var GUTTER_SIZE_IN_PX = 120;
|
|
5
5
|
var GUTTER_SELECTOR_NAME = 'editor-scroll-gutter';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-base",
|
|
3
|
-
"version": "17.0.
|
|
3
|
+
"version": "17.0.8",
|
|
4
4
|
"description": "Base plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"@atlaskit/editor-prosemirror": "^8.0.0",
|
|
26
26
|
"@atlaskit/feature-gate-js-client": "^6.0.0",
|
|
27
27
|
"@atlaskit/prosemirror-history": "^1.2.0",
|
|
28
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
28
|
+
"@atlaskit/tmp-editor-statsig": "^168.0.0",
|
|
29
29
|
"@babel/runtime": "^7.0.0"
|
|
30
30
|
},
|
|
31
31
|
"techstack": {
|