dragon-editor 3.5.5 → 3.5.6

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
@@ -4,7 +4,7 @@
4
4
  "nuxt": ">=3.0.0"
5
5
  },
6
6
  "configKey": "dragon-editor",
7
- "version": "3.5.5",
7
+ "version": "3.5.6",
8
8
  "builder": {
9
9
  "@nuxt/module-builder": "0.8.4",
10
10
  "unbuild": "2.0.0"
@@ -1,4 +1,4 @@
1
- import hljs from "highlight.js";
1
+ import hljs from "highlight.js/lib/core";
2
2
  import { defineNuxtPlugin } from "nuxt/app";
3
3
  export default defineNuxtPlugin((nuxtApp) => {
4
4
  nuxtApp.vueApp.provide("hljs", hljs);
@@ -1,5 +1,5 @@
1
1
  import { _getDefaultBlockData, _generateId, _updateModelData, _updateCursorData, _decideWhetherOpenControlBar, _updateControlBarStatus, CODEBLOCKLANG } from "../event/index.js";
2
- import hljs from "highlight.js";
2
+ import hljs from "highlight.js/lib/core";
3
3
  export function _addBlock(type, store, data) {
4
4
  const blockData = data === void 0 ? _getDefaultBlockData(type) : data;
5
5
  let $block = _createTextBlock(_getDefaultBlockData("text"));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dragon-editor",
3
- "version": "3.5.5",
3
+ "version": "3.5.6",
4
4
  "description": "Javascript WYSIWYG editor in Nuxt3!",
5
5
  "repository": {
6
6
  "type": "git",