53 Commits

Author SHA1 Message Date
roymondchen
813ca55ef6 feat(editor): 添加右键菜单粘贴icon 2022-11-18 16:22:42 +08:00
roymondchen
8d8ef55b81 fix(editor): 画布滚动条出现的不准确 2022-11-04 19:39:47 +08:00
roymondchen
c2e8a1caae fix(editor): content-menu没有响应式 2022-11-04 19:19:44 +08:00
roymondchen
131ae30bae chore: 添加组件name 2022-11-03 14:14:54 +08:00
roymondchen
11e0e04cbd feat(editor,stage): 在画布中支持选择父组件
close #403
2022-10-20 19:52:53 +08:00
roymondchen
63c61caccc feat(editor): editor使用tmagic-design
#401
2022-10-11 20:29:08 +08:00
roymondchen
3ff823a59f fix(editor): 页面列表是否可以滚动判断不准确 2022-09-14 20:09:00 +08:00
roymondchen
b915accb71 feat(editor): uiService支持插件扩展 2022-09-13 20:30:52 +08:00
roymondchen
3e024d21ed feat(editor): 支持控制pagebar中新增按钮显隐 2022-09-06 16:27:30 +08:00
roymondchen
bdd544e87e fix(editor): 画布缩放后,拖入组件位置错位 2022-09-06 16:06:18 +08:00
roymondchen
de8ef8dc58 feat(editor): 画布添加滚动条
fix #262
2022-08-26 22:00:16 +08:00
roymondchen
dd3075be56 feat(editor): 去掉画布根据视窗大小自动调整缩放比例,加上缩放到实际大小/缩放以适应菜单按钮 2022-08-25 16:24:48 +08:00
roymondchen
4872e5352b chore(editor): 重构tool-button,将功能逻辑移到nav-menu中 2022-08-25 15:30:41 +08:00
roymondchen
98bc4e2dbb feat(editor): 添加stage slot 2022-08-24 09:37:41 +08:00
roymondchen
4f8ea94ee8 feat(stage,editor): 拖入指定容器支持配置成按住alt才开启 2022-08-12 15:36:05 +08:00
roymondchen
c949590f80 feat(editor,stage): 多选支持居中操作 2022-08-12 13:39:25 +08:00
roymondchen
b6fa064b0b feat(editor): editorService.add支持添加多个组件 2022-08-11 14:26:03 +08:00
roymondchen
beee67b3eb fix(editor): 画布右键菜单中粘贴按钮显示条件修改 2022-08-09 20:05:21 +08:00
roymondchen
a4dd4eac02 fix(editor): 页面列表显示问题 2022-08-08 19:21:40 +08:00
roymondchen
08dae20aa0 build(editor): 由于生成.d文件无法将别名转化成真实路径,暂时将@editor改回相对路径 2022-08-05 20:12:35 +08:00
roymondchen
5e36ca8e47 build: 构建时某些文件的.d文件丢失 2022-08-05 20:12:35 +08:00
王明华
da0cb7d614
feat(editor): 添加storageService服务 (#225)
* feat(editor): 添加storageService服务

* fix(editor): 添加type.ts 导出StorageService的定义
2022-08-04 12:45:55 +08:00
khuntoriia
b702857aad
feat(editor): 多选菜单支持复制粘贴删除 (#217)
* feat(editor): 多选菜单支持复制粘贴删除

* fix(editor): 编辑器选中节点统一为nodes数组,保留原node对象为nodes数组的第一个元素,将复制粘贴删除行为封装到editorservice中,支持键盘快捷键

* test(editor): 修改editor相关测试用例

* fix(editor): cr问题修改

* feat(editor): 将复制粘贴操作进行拆分封装

* fix(editor): cr修改

Co-authored-by: parisma <parisma@tencent.com>
2022-08-03 14:03:36 +08:00
roymondchen
c1fc6b8f94 feat(editor): editorService.add 的addNode参数对象中加上inputEvent 2022-07-26 16:28:37 +08:00
roymondchen
0e0e3ee310 refactor: 使用@element-plus/icons-vue替换@element-plus/icons 2022-07-14 20:39:11 +08:00
roymondchen
de0c6952c7 feat: 支持将组件拖动到指定容器 2022-07-14 19:02:29 +08:00
roymondchen
fb612eaddc feat(editor): 参考线缓存与页面绑定 2022-06-22 16:51:28 +08:00
jia000
0fe6e0ed75
release v1.0.0-rc.11 (#138)
* fix(editor): 页面标题不要换行

* docs: 教程与stageCore

* fix(editor): runtime.updateRootConfig可以为空

* fix(editor): 编辑组件是获取parent需要获取到Proxy

* fix(editor): 默认page属性值加上layout

* fix(stage): magic注入时机应当在iframe onload之后

* chore: release v1.0.0-rc.11

* chore: 更新changlog

Co-authored-by: roymondchen <roymondchen@tencent.com>
2022-06-17 17:13:22 +08:00
roymondchen
154860c66c feat: 支持配置updateDragEl方法来调制选中框 2022-06-15 14:22:14 +08:00
roymondchen
70292b92c8 feat(editor): contentmenu支持扩展 2022-06-06 15:28:47 +08:00
roymondchen
26081ea5cc fix(editor): 右键菜单粘贴的组件位置不对 2022-05-31 12:09:59 +08:00
roymondchen
9addbddd63 fix(editor): 修复浏览器快捷键 2022-05-27 18:48:55 +08:00
roymondchen
dbcd4201ea fix(stage): 只有当组件不在视窗内才自动滚动,新增scrollIntoView配置 2022-05-25 14:22:28 +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
d1610e5ff2 style(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
56375b0fb0 refactor(editor): 重构右键菜单 2022-05-05 20:33:10 +08:00
roymondchen
51031fe8ab feat(editor): 添加常用快捷键 2022-04-22 12:16:39 +08:00
roymondchen
9efe4f04fc fix(editor): 删除的快捷键操作,不要对页面生效 2022-04-22 12:16:39 +08:00
roymondchen
db62427ee9 feat(editor): 新增删除、复制、粘贴、剪切快捷键操作 2022-04-13 17:17:14 +08:00
roymondchen
8676e02f2f test(editor): 修改测试用例 2022-04-07 18:31:37 +08:00
roymondchen
9746bab435 refactor(editor): stage组件直接响应stageCore的事件 2022-04-07 18:31:37 +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
5350c9050c fix(editor): 修复pagebar文字超长换行问题 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