https://github.com/fefeding/design-editor
html设计编辑器
https://github.com/fefeding/design-editor
Last synced: 6 days ago
JSON representation
html设计编辑器
- Host: GitHub
- URL: https://github.com/fefeding/design-editor
- Owner: fefeding
- License: mit
- Created: 2024-01-22T08:47:51.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-10-22T06:30:48.000Z (over 1 year ago)
- Last Synced: 2025-10-27T05:51:40.714Z (8 months ago)
- Language: TypeScript
- Size: 45.7 MB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# @cicctencent/design-editor
html设计编辑器
```zsh
src
├── components
│ ├── image.ts
│ └── text.ts
├── constant
│ ├── data.ts 基础数据结构 JData、IData、IDataItem
│ ├── eventEmitter.ts 与dom无关的事件发射器,扩展了eventemitter3的on和off支持空格间隔多个事件
│ ├── styleMap.ts
│ ├── transform.ts
│ └── types.ts
├── core
│ ├── baseComponent.ts
│ ├── controller.ts
│ ├── element.ts 元素相关能力的基类:JElement
│ ├── event.ts dom相关的事件处理。
│ ├── fonts.ts
│ └── style.ts
├── editor.ts
├── index.ts
└── lib
└── util.ts
```
[example](https://fefeding.github.io/design-editor/example/index.html)
# API
[API](./docs/api/index.md)