@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/LICENSE +5432 -0
- package/dist/style.css +10 -0
- package/dist/tmagic-editor.es.js +2 -0
- package/dist/tmagic-editor.es.js.map +1 -1
- package/dist/tmagic-editor.umd.js +2 -0
- package/dist/tmagic-editor.umd.js.map +1 -1
- package/package.json +9 -8
- package/src/layouts/PropsPanel.vue +1 -0
- package/src/services/editor.ts +2 -0
- package/src/theme/props-panel.scss +14 -0
package/dist/style.css
CHANGED
|
@@ -441,6 +441,16 @@
|
|
|
441
441
|
.m-editor-props-panel .el-tabs__item {
|
|
442
442
|
font-size: 12px;
|
|
443
443
|
}
|
|
444
|
+
.m-editor-props-panel span,
|
|
445
|
+
.m-editor-props-panel a,
|
|
446
|
+
.m-editor-props-panel p {
|
|
447
|
+
font-size: 12px;
|
|
448
|
+
}
|
|
449
|
+
.m-editor-props-panel-popper span,
|
|
450
|
+
.m-editor-props-panel-popper a,
|
|
451
|
+
.m-editor-props-panel-popper p {
|
|
452
|
+
font-size: 12px;
|
|
453
|
+
}
|
|
444
454
|
.magic-editor-content-menu {
|
|
445
455
|
position: fixed;
|
|
446
456
|
font-size: 12px;
|
package/dist/tmagic-editor.es.js
CHANGED
|
@@ -958,6 +958,7 @@ class Editor$1 extends BaseService {
|
|
|
958
958
|
parent.items.splice(index2, 0, ...parent.items.splice(index1, 1));
|
|
959
959
|
await this.update(parent);
|
|
960
960
|
await this.select(node);
|
|
961
|
+
this.get("stage")?.update({ config: cloneDeep(node), root: this.get("root") });
|
|
961
962
|
this.addModifiedNodeId(parent.id);
|
|
962
963
|
this.pushHistoryState();
|
|
963
964
|
}
|
|
@@ -3001,6 +3002,7 @@ function _sfc_render$a(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3001
3002
|
const _component_m_form = resolveComponent("m-form");
|
|
3002
3003
|
return openBlock(), createBlock(_component_m_form, {
|
|
3003
3004
|
class: "m-editor-props-panel",
|
|
3005
|
+
"popper-class": "m-editor-props-panel-popper",
|
|
3004
3006
|
ref: "configForm",
|
|
3005
3007
|
size: "small",
|
|
3006
3008
|
"init-values": _ctx.values,
|