├── .gitignore ├── .vscode └── extensions.json ├── README.md ├── apps └── playground │ ├── .gitignore │ ├── README.md │ ├── index.html │ ├── package.json │ ├── public │ ├── banner-dark.png │ └── blocksvite.svg │ ├── src │ ├── App.vue │ ├── assets │ │ └── vue.svg │ ├── main.ts │ ├── style.css │ └── vite-env.d.ts │ ├── tsconfig.json │ ├── tsconfig.node.json │ └── vite.config.ts ├── banner.png ├── package.json ├── packages └── editor │ ├── README.md │ ├── package.json │ ├── src │ ├── BlocksviteEditor.vue │ ├── SimpleBlocksviteEditor.vue │ ├── block │ │ ├── List │ │ │ ├── ListView.vue │ │ │ ├── index.ts │ │ │ └── list-model.ts │ │ ├── Page │ │ │ ├── PageView.vue │ │ │ ├── index.ts │ │ │ └── page-model.ts │ │ ├── Paragraph │ │ │ ├── ParagraphView.vue │ │ │ ├── index.ts │ │ │ └── paragraph-model.ts │ │ ├── RenderChildren.vue │ │ ├── RichText │ │ │ └── RichTextView.vue │ │ ├── index.ts │ │ └── types.ts │ ├── github-mark.svg │ ├── inline │ │ ├── AttributeRender.ts │ │ ├── Link.vue │ │ ├── Normal.vue │ │ ├── Ref.vue │ │ └── Text.vue │ ├── main.ts │ ├── types.d.ts │ ├── ui │ │ └── BlockToolBar.vue │ └── utils │ │ ├── VRange.ts │ │ ├── VSelection.ts │ │ ├── base-attributes.ts │ │ ├── beforeInputHandel.ts │ │ ├── children.ts │ │ ├── consts.ts │ │ ├── dom.ts │ │ ├── hooks.ts │ │ ├── hotkey.ts │ │ ├── literal.ts │ │ ├── range.ts │ │ └── types.ts │ └── tsconfig.json ├── pnpm-lock.yaml └── pnpm-workspace.yaml /.gitignore: -------------------------------------------------------------------------------- 1 | # Logs 2 | logs 3 | *.log 4 | npm-debug.log* 5 | yarn-debug.log* 6 | yarn-error.log* 7 | pnpm-debug.log* 8 | lerna-debug.log* 9 | 10 | node_modules 11 | dist 12 | dist-ssr 13 | *.local 14 | 15 | # Editor directories and files 16 | .vscode/* 17 | !.vscode/extensions.json 18 | .idea 19 | .DS_Store 20 | *.suo 21 | *.ntvs* 22 | *.njsproj 23 | *.sln 24 | *.sw? 25 | -------------------------------------------------------------------------------- /.vscode/extensions.json: -------------------------------------------------------------------------------- 1 | { 2 | "recommendations": ["Vue.volar", "Vue.vscode-typescript-vue-plugin"] 3 | } 4 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # BlocksVite 2 | 3 |
4 |
8 |