@tmagic/editor 1.0.0-beta.7 → 1.0.0-beta.8

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/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.0.0-beta.7",
2
+ "version": "1.0.0-beta.8",
3
3
  "name": "@tmagic/editor",
4
4
  "sideEffects": false,
5
5
  "main": "dist/tmagic-editor.umd.js",
@@ -28,13 +28,13 @@
28
28
  },
29
29
  "dependencies": {
30
30
  "@element-plus/icons": "0.0.11",
31
- "@tmagic/core": "^1.0.0-beta.6",
32
- "@tmagic/form": "^1.0.0-beta.6",
33
- "@tmagic/schema": "^1.0.0-beta.6",
34
- "@tmagic/stage": "^1.0.0-beta.7",
35
- "@tmagic/utils": "^1.0.0-beta.6",
31
+ "@tmagic/core": "^1.0.0-beta.8",
32
+ "@tmagic/form": "^1.0.0-beta.8",
33
+ "@tmagic/schema": "^1.0.0-beta.8",
34
+ "@tmagic/stage": "^1.0.0-beta.8",
35
+ "@tmagic/utils": "^1.0.0-beta.8",
36
36
  "color": "^3.1.3",
37
- "element-plus": "^2.0.2",
37
+ "element-plus": "^2.1.7",
38
38
  "events": "^3.3.0",
39
39
  "lodash-es": "^4.17.21",
40
40
  "monaco-editor": "^0.32.1",
@@ -55,5 +55,6 @@
55
55
  "vite": "^2.3.7",
56
56
  "vite-plugin-dts": "^0.9.6",
57
57
  "vue-tsc": "^0.0.24"
58
- }
58
+ },
59
+ "gitHead": "ff8e32901775ecc145a82f906d6af6119652d61e"
59
60
  }
@@ -1,6 +1,7 @@
1
1
  <template>
2
2
  <m-form
3
3
  class="m-editor-props-panel"
4
+ popper-class="m-editor-props-panel-popper"
4
5
  ref="configForm"
5
6
  size="small"
6
7
  :init-values="values"
@@ -359,6 +359,8 @@ class Editor extends BaseService {
359
359
  await this.update(parent);
360
360
  await this.select(node);
361
361
 
362
+ this.get<StageCore>('stage')?.update({ config: cloneDeep(node), root: this.get('root') });
363
+
362
364
  this.addModifiedNodeId(parent.id);
363
365
  this.pushHistoryState();
364
366
  }
@@ -14,4 +14,18 @@
14
14
  .el-tabs__item {
15
15
  font-size: 12px;
16
16
  }
17
+
18
+ span,
19
+ a,
20
+ p {
21
+ font-size: 12px;
22
+ }
23
+ }
24
+
25
+ .m-editor-props-panel-popper {
26
+ span,
27
+ a,
28
+ p {
29
+ font-size: 12px;
30
+ }
17
31
  }