126 Commits

Author SHA1 Message Date
roymondchen
663d7cee9f fix(editor): 添加组件默认添加到视窗中间,如果组件初始化height不是数值,则当0处理 2022-05-31 21:47:54 +08:00
roymondchen
805339422a fix(editor): 组件树右键菜单 2022-05-31 20:06:32 +08:00
roymondchen
31cbe7818f fix(editor): 右键菜单,mac触摸板上容易在菜单出现的时候触发当前鼠标位置的按钮 2022-05-31 12:09:59 +08:00
roymondchen
26081ea5cc fix(editor): 右键菜单粘贴的组件位置不对 2022-05-31 12:09:59 +08:00
roymondchen
c80dab835d fix(editor): 复制页面,页面名称重新生成 2022-05-31 12:09:59 +08:00
roymondchen
4a19017662 fix(editor): 组件配置width为100%时,水平居中失效 2022-05-27 18:48:55 +08:00
roymondchen
9addbddd63 fix(editor): 修复浏览器快捷键 2022-05-27 18:48:55 +08:00
roymondchen
d02e044293 refactor(editor): tabpane prop type 2022-05-27 18:48:55 +08:00
roymondchen
dbcd4201ea fix(stage): 只有当组件不在视窗内才自动滚动,新增scrollIntoView配置 2022-05-25 14:22:28 +08:00
roymondchen
2134d92d54 fix(editor): 源代码编辑器保存快捷键阻止冒泡 2022-05-24 20:49:58 +08:00
roymondchen
359fc5fdc6 feat(editor): 源代码编辑器支持扩展配置 2022-05-24 20:49:58 +08:00
roymondchen
64e751bdd8 refactor(editor): 拖动添加组件,避免覆盖默认样式 2022-05-24 20:49:58 +08:00
roymondchen
fbd7f80c4f feat(editor): feat(editor): 鼠标移出workpace,禁用快捷键 2022-05-24 20:49:58 +08:00
roymondchen
cf5e775b84 feat(editor): 添加globalThis兼容 2022-05-24 20:49:58 +08:00
roymondchen
662a3d61ea fix(form): popper弹层字体大小仅在form size为small的时候设置为12px 2022-05-19 14:54:24 +08:00
roymondchen
04d7725db9 feat(editor): 属性表单大小配置;记住编辑器分栏宽度 2022-05-18 17:45:36 +08:00
roymondchen
17e8bbb7b4 refactor(editor): 调整zoomIn zommOut顺序 2022-05-13 20:45:31 +08:00
roymondchen
27a1ff8527 fix(editor): ui-select样式优化 2022-05-13 20:45:31 +08:00
roymondchen
2731609526 fix: 升级element-plus2.2.0后,sidebar动态变化后,顺序不对 2022-05-13 20:45:31 +08:00
roymondchen
1486beb52c fix: 升级element-plus2.2.0后,button默认样式变化 2022-05-13 20:45:31 +08:00
roymondchen
7dc54797d2 fix(editor): 代码编辑器大小变化没有自适应大小 2022-05-13 20:45:31 +08:00
roymondchen
75133ab6da refactor: update element-plus 2022-05-11 18:38:17 +08:00
roymondchen
3fcaeb9936 refactor(editor): 导出ToolButton组件 2022-05-07 17:05:54 +08:00
roymondchen
7d62c09c6b fix(editor): root为空时异常处理 2022-05-07 17:05:54 +08:00
roymondchen
a0c3e25edb fix(editor): 删除全部页面后显示异常 2022-05-07 15:18:29 +08:00
roymondchen
d1610e5ff2 style(editor): 菜单样式优化 2022-05-07 15:18:29 +08:00
roymondchen
bcbd1f5d37 fix(editor): 删除组件后,组件树不更新 2022-05-07 15:18:29 +08:00
roymondchen
5da8601f36 feat(editor): 支持拖拽添加组件 2022-05-07 15:18:29 +08:00
roymondchen
76b8d2314a fix(editor): mac下meta + v,meta + x快捷键无效 2022-05-07 15:18:29 +08:00
roymondchen
b1aae65182 feat(editor): 增加editorService.move的扩展 2022-05-05 20:33:10 +08:00
roymondchen
f7bca02844 feat(playground): 增加字体样式配置 2022-05-05 20:33:10 +08:00
roymondchen
56375b0fb0 refactor(editor): 重构右键菜单 2022-05-05 20:33:10 +08:00
roymondchen
5e4b709d61 fix(editor): 组件列表中搜索栏层级问题 2022-04-29 17:49:17 +08:00
marchyang
582962f6df fix: 修复单独使用@tmagic/editor,报错无法运行的问题 2022-04-28 16:55:10 +08:00
roymondchen
51031fe8ab feat(editor): 添加常用快捷键 2022-04-22 12:16:39 +08:00
roymondchen
74b865f0f9 style(stage): 组件列表节点文案过长时会与右侧图标重叠 2022-04-22 12:16:39 +08:00
roymondchen
9efe4f04fc fix(editor): 删除的快捷键操作,不要对页面生效 2022-04-22 12:16:39 +08:00
roymondchen
9526c44d16 fix(editor): 由于有可选参数,所以将after hook的返回值放到第一个参数 2022-04-22 12:16:39 +08:00
roymondchen
8e004f9766 fix(editor): getLayout增加判断fixed 2022-04-22 12:16:39 +08:00
roymondchen
1c8829fac9 fix(editor): 在小屏幕下画布的标尺显示不全 2022-04-20 16:38:35 +08:00
roymondchen
db62427ee9 feat(editor): 新增删除、复制、粘贴、剪切快捷键操作 2022-04-13 17:17:14 +08:00
roymondchen
9ae93fc9f2 test: 修改测试用例 2022-04-13 17:17:14 +08:00
roymondchen
992ebbe3ce fix(editor): 修复新增组件时,组件列表配置的数据丢失问题 2022-04-13 17:17:14 +08:00
roymondchen
31373500c2 fix(editor): 切换组件时会连续触发两次表单初始化 2022-04-13 17:17:14 +08:00
roymondchen
0e74970bfe feat(editor): 新增组件自动设置到视窗中间 2022-04-13 17:17:14 +08:00
roymondchen
bb5e192dcd fix(editor): 修复历史状态变化后,画布没有更新 2022-04-07 19:59:19 +08:00
roymondchen
06b40c9c15 fix(editor): 修复code 代码编辑器光标错乱问题 2022-04-07 18:31:37 +08:00
roymondchen
f896115881 feat(editor): 组件树保持展开当前选中节点的父节点 2022-04-07 18:31:37 +08:00
roymondchen
8676e02f2f test(editor): 修改测试用例 2022-04-07 18:31:37 +08:00
roymondchen
8390ba75be fix(editor): 从组件树选中没有渲染的组件时,需要等待组件渲染完成再初始化选中框 2022-04-07 18:31:37 +08:00