-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
28 changed files
with
3,849 additions
and
10,409 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,6 @@ | |
.DS_Store | ||
.idea | ||
vendor | ||
build | ||
/tests/Browser/console | ||
/tests/Browser/screenshots | ||
.lock | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,17 @@ | ||
# Tiptap WYSIWYG editor for Voyager II | ||
# Tiptap 2 WYSIWYG editor for Voyager II | ||
|
||
This is a WYSIWYG editor based on [tiptap](https://github.com/scrumpy/tiptap) | ||
This is a WYSIWYG editor based on [tiptap 2](https://github.com/ueberdosis/tiptap) | ||
|
||
## TODO | ||
|
||
- Add anchor extension | ||
- Add image extension | ||
- Add media-picker modal | ||
- Add autocomplete based on a custom route (allow linking as well?) | ||
- Add `input` class to ListItem checkbox when tiptap supports it | ||
- Disabled should really be `disabled`. Tiptap only restricts writing into the editor (not running actions) | ||
|
||
## Special thanks | ||
|
||
- [tiptap](https://tiptap.dev) made by [ĂĽberdosis](https://ueberdosis.io/) | ||
- [Tabler-icons](https://github.com/tabler/tabler-icons) for the awesome icons - go check them out! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
<link rel="icon" href="/favicon.ico" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<title>Vite App</title> | ||
</head> | ||
<body> | ||
<div id="app"></div> | ||
<script type="module" src="/src/main.js"></script> | ||
</body> | ||
</html> |
This file was deleted.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,39 @@ | ||
{ | ||
"name": "voyager-black-theme", | ||
"version": "1.0.0", | ||
"description": "An all-black theme for Voyager II", | ||
"scripts": { | ||
"dev": "npm run development", | ||
"development": "cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js", | ||
"watch": "cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --watch --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js", | ||
"watch-poll": "npm run watch -- --watch-poll", | ||
"hot": "cross-env NODE_ENV=development node_modules/webpack-dev-server/bin/webpack-dev-server.js --inline --hot --config=node_modules/laravel-mix/setup/webpack.config.js", | ||
"prod": "npm run production", | ||
"production": "cross-env NODE_ENV=production node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js" | ||
}, | ||
"devDependencies": { | ||
"cross-env": "^7.0.2", | ||
"laravel-mix": "^5.0.4", | ||
"vue-template-compiler": "^2.6.11" | ||
}, | ||
"keywords": [], | ||
"author": "Christoph Schweppe", | ||
"license": "MIT", | ||
"dependencies": { | ||
"sass": "^1.26.10", | ||
"sass-loader": "^9.0.3", | ||
"tiptap": "^1.29.5", | ||
"tiptap-extensions": "^1.32.4", | ||
"vue": "^2.6.11" | ||
} | ||
"name": "tiptap-vite", | ||
"version": "0.0.0", | ||
"scripts": { | ||
"build": "vite build", | ||
"watch": "vite build --mode development --watch" | ||
}, | ||
"dependencies": { | ||
"@tabler/icons": "^1.41.1", | ||
"@tiptap/core": "^2.0.0-beta.53", | ||
"@tiptap/extension-blockquote": "^2.0.0-beta.11", | ||
"@tiptap/extension-bullet-list": "^2.0.0-beta.11", | ||
"@tiptap/extension-character-count": "^2.0.0-beta.10", | ||
"@tiptap/extension-code-block": "^2.0.0-beta.13", | ||
"@tiptap/extension-document": "^2.0.0-beta.10", | ||
"@tiptap/extension-heading": "^2.0.0-beta.11", | ||
"@tiptap/extension-history": "^2.0.0-beta.10", | ||
"@tiptap/extension-horizontal-rule": "^2.0.0-beta.14", | ||
"@tiptap/extension-image": "^2.0.0-beta.11", | ||
"@tiptap/extension-list-item": "^2.0.0-beta.11", | ||
"@tiptap/extension-ordered-list": "^2.0.0-beta.11", | ||
"@tiptap/extension-paragraph": "^2.0.0-beta.12", | ||
"@tiptap/extension-task-item": "^2.0.0-beta.13", | ||
"@tiptap/extension-task-list": "^2.0.0-beta.13", | ||
"@tiptap/extension-text": "^2.0.0-beta.10", | ||
"@tiptap/extension-text-align": "^2.0.0-beta.14", | ||
"@tiptap/extension-typography": "^2.0.0-beta.10", | ||
"@tiptap/extension-underline": "^2.0.0-beta.12", | ||
"@tiptap/starter-kit": "^2.0.0-beta.50", | ||
"@tiptap/vue-3": "^2.0.0-beta.33", | ||
"vue": "^3.0.11" | ||
}, | ||
"devDependencies": { | ||
"@vitejs/plugin-vue": "^1.2.2", | ||
"@vue/compiler-sfc": "^3.0.11", | ||
"sass": "^1.32.12", | ||
"vite": "^2.2.4" | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<?php | ||
|
||
return [ | ||
'blockquote' => 'Blockquote', | ||
'bubble_menu' => 'Bubble menu', | ||
'bullet_list' => 'Bullet list', | ||
'bold' => 'Bold', | ||
'center' => 'Center', | ||
'character_count' => ':chars of :max characters', | ||
'clear' => 'Clear', | ||
'code' => 'Code', | ||
'code_block' => 'Code block', | ||
'heading' => 'Heading', | ||
'horizontal_rule' => 'Horizontal rule', | ||
'italic' => 'Italic', | ||
'justify' => 'Justify', | ||
'left' => 'Left', | ||
'max_characters' => 'Max characters (0 = infinite)', | ||
'redo' => 'Redo', | ||
'right' => 'Right', | ||
'strike' => 'Strike', | ||
'strong' => 'Strong', | ||
'task_list' => 'Task list', | ||
'text_align' => 'Text align', | ||
'underline' => 'Underline', | ||
'undo' => 'Undo', | ||
'ordered_list' => 'Ordered list', | ||
]; |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.