Skip to content

Commit 044dce7

Browse files
committed
[Ui] Add wysiwyg editor based on tiptap
Quasar editor dont respects HTML standards and uses deprecated javascript methods so we introduce a new (optional) editor based on tiptap (opensource and extensible via plugins) vu:text-editor now uses the new editor old editor is renamed to q-text-editor
1 parent 4efa925 commit 044dce7

File tree

19 files changed

+20848
-7
lines changed

19 files changed

+20848
-7
lines changed

vertigo-ui-wysiwyg/.gitignore

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
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+
.DS_Store
12+
dist
13+
dist-ssr
14+
coverage
15+
*.local
16+
17+
/cypress/videos/
18+
/cypress/screenshots/
19+
20+
# Editor directories and files
21+
.vscode/*
22+
!.vscode/extensions.json
23+
.idea
24+
*.suo
25+
*.ntvs*
26+
*.njsproj
27+
*.sln
28+
*.sw?
29+
30+
*.tsbuildinfo

vertigo-ui-wysiwyg/README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# WYSIWYG
2+
3+
We are building our own umd version of the tiptap wysiwyg editor with a custom vue component handeling our options and with double binding
4+
5+
## Project Setup
6+
7+
```sh
8+
npm install
9+
```
10+
11+
### Compile and Minify for Production
12+
13+
```sh
14+
npm run build-lib
15+
```

vertigo-ui-wysiwyg/jsconfig.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"compilerOptions": {
3+
"paths": {
4+
"@/*": ["./src/*"]
5+
}
6+
},
7+
"exclude": ["node_modules", "dist"]
8+
}

0 commit comments

Comments
 (0)