@atlaskit/editor-plugin-code-block-advanced 8.0.25 → 8.0.27
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
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-code-block-advanced",
|
|
3
|
-
"version": "8.0.
|
|
3
|
+
"version": "8.0.27",
|
|
4
4
|
"description": "CodeBlockAdvanced plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"@atlaskit/editor-prosemirror": "^7.3.0",
|
|
39
39
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
40
40
|
"@atlaskit/prosemirror-history": "^0.2.0",
|
|
41
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
41
|
+
"@atlaskit/tmp-editor-statsig": "^58.0.0",
|
|
42
42
|
"@atlaskit/tokens": "^12.0.0",
|
|
43
43
|
"@babel/runtime": "^7.0.0",
|
|
44
44
|
"@codemirror/autocomplete": "6.18.4",
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"codemirror-lang-elixir": "4.0.0"
|
|
56
56
|
},
|
|
57
57
|
"peerDependencies": {
|
|
58
|
-
"@atlaskit/editor-common": "^112.
|
|
58
|
+
"@atlaskit/editor-common": "^112.19.0",
|
|
59
59
|
"react": "^18.2.0",
|
|
60
60
|
"react-intl-next": "npm:react-intl@^5.18.1"
|
|
61
61
|
},
|
|
@@ -141,9 +141,7 @@ export const prosemirrorDecorationPlugin = (
|
|
|
141
141
|
.filter(isDefined);
|
|
142
142
|
|
|
143
143
|
if (fg('platform_editor_fix_decoration_edge_case')) {
|
|
144
|
-
return CodeMirrorDecoration.set(
|
|
145
|
-
cmDecorations.sort(sortDecorationsByPositionAndSide),
|
|
146
|
-
);
|
|
144
|
+
return CodeMirrorDecoration.set(cmDecorations.sort(sortDecorationsByPositionAndSide));
|
|
147
145
|
} else {
|
|
148
146
|
return CodeMirrorDecoration.set(cmDecorations);
|
|
149
147
|
}
|