dragon-editor 3.8.6 → 3.8.7

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/README.md CHANGED
@@ -86,7 +86,7 @@ Done!
86
86
  </script>
87
87
  ```
88
88
 
89
- More information is [here](https://lovefields.github.io/dragonEditor-doc/)
89
+ More information in [Document](https://lovefields.github.io/dragonEditor-doc/)
90
90
 
91
91
  # Sponsors
92
92
 
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.8.6",
7
+ "version": "3.8.7",
8
8
  "builder": {
9
9
  "@nuxt/module-builder": "1.0.2",
10
10
  "unbuild": "3.6.1"
@@ -43,7 +43,7 @@ function __createTextBlock(data, isEditable) {
43
43
  return h("p", option);
44
44
  }
45
45
  function __createHeadingBlock(data, isEditable) {
46
- const option = { class: ["de-block", "de-heading-block", ...data.classList], "data-level": data.level, innerHTML: data.textContent };
46
+ const option = { class: ["de-block", "de-heading-block", ...data.classList], id: data.id, "data-level": data.level, innerHTML: data.textContent };
47
47
  if (data.depth !== void 0 && data.depth !== 0) {
48
48
  option["data-depth"] = data.depth;
49
49
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dragon-editor",
3
- "version": "3.8.6",
3
+ "version": "3.8.7",
4
4
  "description": "Javascript WYSIWYG editor in Nuxt!",
5
5
  "repository": {
6
6
  "type": "git",