@atlaskit/editor-plugin-code-block 10.0.27 → 10.0.29
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
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-code-block
|
|
2
2
|
|
|
3
|
+
## 10.0.29
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`48a64b7bbac82`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/48a64b7bbac82) -
|
|
8
|
+
Clean up stale experiment platform_editor_plain_text_support (always-enabled path)
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
11
|
+
## 10.0.28
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- Updated dependencies
|
|
16
|
+
|
|
3
17
|
## 10.0.27
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
|
@@ -13,7 +13,6 @@ var _blockMenu = require("@atlaskit/editor-common/block-menu");
|
|
|
13
13
|
var _messages = require("@atlaskit/editor-common/messages");
|
|
14
14
|
var _quickInsert = require("@atlaskit/editor-common/quick-insert");
|
|
15
15
|
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
16
|
-
var _expValEqualsNoExposure = require("@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure");
|
|
17
16
|
var _experiments = require("@atlaskit/tmp-editor-statsig/experiments");
|
|
18
17
|
var _editorCommands = require("./editor-commands");
|
|
19
18
|
var _codeBlockAutoFullStopTransformPlugin = require("./pm-plugins/codeBlockAutoFullStopTransformPlugin");
|
|
@@ -141,7 +140,7 @@ var codeBlockPlugin = function codeBlockPlugin(_ref) {
|
|
|
141
140
|
actionSubject: _analytics.ACTION_SUBJECT.DOCUMENT,
|
|
142
141
|
actionSubjectId: _analytics.ACTION_SUBJECT_ID.CODE_BLOCK,
|
|
143
142
|
attributes: {
|
|
144
|
-
inputMethod:
|
|
143
|
+
inputMethod: source || _analytics.INPUT_METHOD.QUICK_INSERT
|
|
145
144
|
},
|
|
146
145
|
eventType: _analytics.EVENT_TYPE.TRACK
|
|
147
146
|
})(tr);
|
|
@@ -5,7 +5,6 @@ import { TRANSFORM_STRUCTURE_MENU_SECTION, TRANSFORM_STRUCTURE_CODE_BLOCK_MENU_I
|
|
|
5
5
|
import { blockTypeMessages } from '@atlaskit/editor-common/messages';
|
|
6
6
|
import { IconCode } from '@atlaskit/editor-common/quick-insert';
|
|
7
7
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
8
|
-
import { expValEqualsNoExposure } from '@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure';
|
|
9
8
|
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
|
|
10
9
|
import { createInsertCodeBlockTransaction, insertCodeBlockWithAnalytics } from './editor-commands';
|
|
11
10
|
import { codeBlockAutoFullStopTransformPlugin } from './pm-plugins/codeBlockAutoFullStopTransformPlugin';
|
|
@@ -124,7 +123,7 @@ const codeBlockPlugin = ({
|
|
|
124
123
|
actionSubject: ACTION_SUBJECT.DOCUMENT,
|
|
125
124
|
actionSubjectId: ACTION_SUBJECT_ID.CODE_BLOCK,
|
|
126
125
|
attributes: {
|
|
127
|
-
inputMethod:
|
|
126
|
+
inputMethod: source || INPUT_METHOD.QUICK_INSERT
|
|
128
127
|
},
|
|
129
128
|
eventType: EVENT_TYPE.TRACK
|
|
130
129
|
})(tr);
|
|
@@ -8,7 +8,6 @@ import { TRANSFORM_STRUCTURE_MENU_SECTION, TRANSFORM_STRUCTURE_CODE_BLOCK_MENU_I
|
|
|
8
8
|
import { blockTypeMessages } from '@atlaskit/editor-common/messages';
|
|
9
9
|
import { IconCode } from '@atlaskit/editor-common/quick-insert';
|
|
10
10
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
11
|
-
import { expValEqualsNoExposure } from '@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure';
|
|
12
11
|
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
|
|
13
12
|
import { createInsertCodeBlockTransaction, insertCodeBlockWithAnalytics } from './editor-commands';
|
|
14
13
|
import { codeBlockAutoFullStopTransformPlugin } from './pm-plugins/codeBlockAutoFullStopTransformPlugin';
|
|
@@ -134,7 +133,7 @@ var codeBlockPlugin = function codeBlockPlugin(_ref) {
|
|
|
134
133
|
actionSubject: ACTION_SUBJECT.DOCUMENT,
|
|
135
134
|
actionSubjectId: ACTION_SUBJECT_ID.CODE_BLOCK,
|
|
136
135
|
attributes: {
|
|
137
|
-
inputMethod:
|
|
136
|
+
inputMethod: source || INPUT_METHOD.QUICK_INSERT
|
|
138
137
|
},
|
|
139
138
|
eventType: EVENT_TYPE.TRACK
|
|
140
139
|
})(tr);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-code-block",
|
|
3
|
-
"version": "10.0.
|
|
3
|
+
"version": "10.0.29",
|
|
4
4
|
"description": "Code block plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -43,11 +43,11 @@
|
|
|
43
43
|
"@atlaskit/icon": "^34.0.0",
|
|
44
44
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
45
45
|
"@atlaskit/prosemirror-input-rules": "^3.6.0",
|
|
46
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
46
|
+
"@atlaskit/tmp-editor-statsig": "^58.0.0",
|
|
47
47
|
"@babel/runtime": "^7.0.0"
|
|
48
48
|
},
|
|
49
49
|
"peerDependencies": {
|
|
50
|
-
"@atlaskit/editor-common": "^112.
|
|
50
|
+
"@atlaskit/editor-common": "^112.19.0",
|
|
51
51
|
"react": "^18.2.0",
|
|
52
52
|
"react-intl-next": "npm:react-intl@^5.18.1"
|
|
53
53
|
},
|