@atlaskit/editor-plugin-code-block-advanced 10.1.4 → 10.1.5
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": "10.1.
|
|
3
|
+
"version": "10.1.5",
|
|
4
4
|
"description": "CodeBlockAdvanced plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"sideEffects": false,
|
|
29
29
|
"atlaskit:src": "src/index.ts",
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@atlaskit/adf-schema": "^52.
|
|
31
|
+
"@atlaskit/adf-schema": "^52.14.0",
|
|
32
32
|
"@atlaskit/code": "^17.5.0",
|
|
33
33
|
"@atlaskit/editor-plugin-code-block": "^12.1.0",
|
|
34
34
|
"@atlaskit/editor-plugin-editor-disabled": "^10.1.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": "^83.0.0",
|
|
42
42
|
"@atlaskit/tokens": "^13.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": "^114.
|
|
58
|
+
"@atlaskit/editor-common": "^114.46.0",
|
|
59
59
|
"react": "^18.2.0",
|
|
60
60
|
"react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"
|
|
61
61
|
},
|
|
@@ -107,6 +107,7 @@
|
|
|
107
107
|
}
|
|
108
108
|
},
|
|
109
109
|
"devDependencies": {
|
|
110
|
+
"react": "^18.2.0",
|
|
110
111
|
"react-intl": "^6.6.2"
|
|
111
112
|
}
|
|
112
113
|
}
|
|
@@ -437,9 +437,7 @@ class CodeBlockAdvancedNodeView implements NodeView {
|
|
|
437
437
|
const lineNumbersHidden = areCodeBlockLineNumbersHidden(node);
|
|
438
438
|
if (this.lineNumbersHidden !== lineNumbersHidden) {
|
|
439
439
|
this.lineNumbersHidden = lineNumbersHidden;
|
|
440
|
-
return this.lineNumbersCompartment.reconfigure(
|
|
441
|
-
this.getLineNumberVisibilityExtensions(node),
|
|
442
|
-
);
|
|
440
|
+
return this.lineNumbersCompartment.reconfigure(this.getLineNumberVisibilityExtensions(node));
|
|
443
441
|
}
|
|
444
442
|
return undefined;
|
|
445
443
|
}
|