171 Commits

Author SHA1 Message Date
roymondchen
327fc47aa1 test(editor): 右键菜单重构后,删除无效测试用例 2022-05-07 15:18:29 +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
a1ae3dd88d fix: 修复lock文件问题 2022-04-28 16:55:10 +08:00
marchyang
582962f6df fix: 修复单独使用@tmagic/editor,报错无法运行的问题 2022-04-28 16:55:10 +08:00
marchyang
cb99a6fff5 fix: 修复缺少buffer依赖,导致单独使用@tmagic/editor出现报错,无法运行的问题
safe-buffer是一个server端的库,使用了nodejs自带的buffer包,不支持浏览器环境,因此导致在运行时报错. 为解决此问题需要引入npm第三方包buffer来兼容浏览器环境.
2022-04-28 16:55:10 +08:00
roymondchen
2f8f81afb3 v1.0.0-beta.13 2022-04-22 13:24:31 +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
9d46305d2a chore: 更新npm依赖 2022-04-14 15:48:53 +08:00
roymondchen
9c540f569c v1.0.0-beta.12 2022-04-13 17:17:14 +08:00
roymondchen
db62427ee9 feat(editor): 新增删除、复制、粘贴、剪切快捷键操作 2022-04-13 17:17:14 +08:00
roymondchen
067164aadc docs: 添加packages readme 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
575adb9a5e v1.0.0-beta.11 2022-04-07 19:59:19 +08:00
roymondchen
bb5e192dcd fix(editor): 修复历史状态变化后,画布没有更新 2022-04-07 19:59:19 +08:00
roymondchen
ece1bab5c0 v1.0.0-beta.10 2022-04-07 19:14:14 +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
roymondchen
b8d352a885 fix(editor): 新增service方法串行调用问题,解决连续快速拖动导致更新节点错乱问题 2022-04-07 18:31:37 +08:00
roymondchen
9746bab435 refactor(editor): stage组件直接响应stageCore的事件 2022-04-07 18:31:37 +08:00
roymondchen
97fa34bbc6 fix(editor): 添加或者删除节点后,选中状态没有刷新 2022-04-02 20:14:45 +08:00
roymondchen
ed9805f2b4 feat(editor): 修改默人属性面板宽度 2022-04-02 20:14:45 +08:00
roymondchen
97a722579d feat(editor): 组件树增加id和type过滤 2022-04-02 20:14:45 +08:00
roymondchen
29a9912820 fix(stage): canSelect增加event参数 2022-04-02 20:14:45 +08:00
roymondchen
9b849cc906 fix(editor): 修改pagebar过长无法滚动问题 2022-04-02 20:14:45 +08:00
roymondchen
a842c5b0ce feat: 优化拖拽体验 2022-04-02 12:56:54 +08:00
roymondchen
be4df0fc9b fix(editor): 组件树右键菜单子菜单出不来 2022-04-01 16:56:59 +08:00
roymondchen
faa6c6d9fe feat(editor): zoom 设置为button 2022-04-01 16:56:59 +08:00
roymondchen
f500e51933 v1.0.0-beta.9 2022-03-31 19:46:12 +08:00
roymondchen
5350c9050c fix(editor): 修复pagebar文字超长换行问题 2022-03-31 19:46:12 +08:00
roymondchen
3dab16b2f6 fix(editor): 新增页面不用添加历史记录 2022-03-31 19:46:12 +08:00
roymondchen
6dbda7b565 style(editor): 将节点类型改成枚举 2022-03-31 19:46:12 +08:00
parisma
feb9ac9a81 feat: 编辑器支持鼠标悬停高亮组件 2022-03-31 15:16:32 +08:00