dragon-editor 3.8.5 → 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.5",
7
+ "version": "3.8.7",
8
8
  "builder": {
9
9
  "@nuxt/module-builder": "1.0.2",
10
10
  "unbuild": "3.6.1"
@@ -1219,6 +1219,7 @@ defineExpose({
1219
1219
  text-decoration: line-through underline;
1220
1220
  }
1221
1221
  .dragon-editor .de-code {
1222
+ display: inline-block;
1222
1223
  padding: 2px 4px;
1223
1224
  background: #f1f1f1;
1224
1225
  color: #ff0000;
@@ -186,10 +186,7 @@ function structure() {
186
186
  * 노드 스타일
187
187
  */
188
188
  .dragon-editor-viewer {
189
- display: flex;
190
- flex-direction: column;
191
189
  width: 100%;
192
- height: 100%;
193
190
  line-height: 1.6;
194
191
  box-sizing: border-box;
195
192
  }
@@ -799,6 +796,7 @@ function structure() {
799
796
  text-decoration: line-through underline;
800
797
  }
801
798
  .dragon-editor-viewer .de-code {
799
+ display: inline-block;
802
800
  padding: 2px 4px;
803
801
  background: #f1f1f1;
804
802
  color: #ff0000;
@@ -1007,6 +1007,7 @@
1007
1007
  text-decoration: line-through underline;
1008
1008
  }
1009
1009
  .dragon-editor .de-code {
1010
+ display: inline-block;
1010
1011
  padding: 2px 4px;
1011
1012
  background: #f1f1f1;
1012
1013
  color: #ff0000;
@@ -159,10 +159,7 @@
159
159
  * 노드 스타일
160
160
  */
161
161
  .dragon-editor-viewer {
162
- display: flex;
163
- flex-direction: column;
164
162
  width: 100%;
165
- height: 100%;
166
163
  line-height: 1.6;
167
164
  box-sizing: border-box;
168
165
  }
@@ -772,6 +769,7 @@
772
769
  text-decoration: line-through underline;
773
770
  }
774
771
  .dragon-editor-viewer .de-code {
772
+ display: inline-block;
775
773
  padding: 2px 4px;
776
774
  background: #f1f1f1;
777
775
  color: #ff0000;
@@ -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.5",
3
+ "version": "3.8.7",
4
4
  "description": "Javascript WYSIWYG editor in Nuxt!",
5
5
  "repository": {
6
6
  "type": "git",