dragon-editor 4.0.2 → 4.0.3
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/dist/module.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import hljs from "highlight.js";
|
|
1
|
+
import * as hljs from "highlight.js";
|
|
2
2
|
import { _isStrictlyEqualArrays } from "./index.js";
|
|
3
3
|
export function _highlightingCode(text, language) {
|
|
4
|
-
return hljs.highlight(text, { language }).value;
|
|
4
|
+
return hljs.default.highlight(text, { language }).value;
|
|
5
5
|
}
|
|
6
6
|
export function _arrangementNodeList(list, cursorStartNode, cursorStartNodeOffset, cursorEndNode, cursorEndNodeOffset) {
|
|
7
7
|
const arrangementNodeList = [];
|