Commit Graph

457 Commits

Author SHA1 Message Date
Philipp Kühn
5bccbacf32 improve v-model example 2020-11-13 15:30:09 +01:00
Hans Pagel
1f30ea271b Merge branch 'main' of github.com:ueberdosis/tiptap-next into main 2020-11-13 15:08:40 +01:00
Philipp Kühn
2cf8137def fix tests 2020-11-13 12:33:25 +01:00
Philipp Kühn
e548181455 fix linter 2020-11-13 11:58:22 +01:00
Philipp Kühn
b2592c2a04 update doc pages 2020-11-13 11:52:02 +01:00
Hans Pagel
8ee85ca035 update content 2020-11-13 11:46:51 +01:00
Hans Pagel
bb9e159642 replace renderless with headless 2020-11-13 11:04:31 +01:00
Hans Pagel
813575850c update content 2020-11-13 10:51:53 +01:00
Hans Pagel
262ff88e59 update content 2020-11-12 16:36:29 +01:00
Hans Pagel
eb827d774b Merge branch 'main' of github.com:ueberdosis/tiptap-next into main 2020-11-12 16:00:31 +01:00
Hans Pagel
d7eeaa9e79 add todos 2020-11-12 15:38:57 +01:00
Philipp Kühn
719db52eb7 Merge branch 'main' of https://github.com/ueberdosis/tiptap-next into main
# Conflicts:
#	docs/src/demos/Examples/FullEditor/index.vue
2020-11-12 15:35:13 +01:00
Hans Pagel
956f2b184a ad link to v-model example 2020-11-12 13:20:22 +01:00
Philipp Kühn
a2f83b78c1 add extensions prop 2020-11-12 10:14:50 +01:00
Philipp Kühn
dbefbb98fa add FullEditor component 2020-11-12 00:01:18 +01:00
Philipp Kühn
2e62e94852 refactoring 2020-11-06 17:34:58 +01:00
Philipp Kühn
3c49928347 formatting 2020-11-06 17:25:57 +01:00
Philipp Kühn
59dabfbbe6 add remove font family button 2020-11-06 16:39:01 +01:00
Philipp Kühn
37768cf7b2 fix lint 2020-11-06 16:28:10 +01:00
Philipp Kühn
fd314bf6f5 Merge branch 'feature/text-style-mark' of https://github.com/ueberdosis/tiptap-next into feature/text-style-mark
# Conflicts:
#	docs/src/demos/Marks/TextStyle/index.vue
2020-11-06 16:24:20 +01:00
Philipp Kühn
1af7829924 improve text style extension 2020-11-06 16:21:19 +01:00
Hans Pagel
5ec6e8bfd7 document text style and font family extensions (wip) 2020-11-06 16:12:53 +01:00
Hans Pagel
f28f33f140 Merge branch 'main' into feature/text-style-mark 2020-11-06 16:06:40 +01:00
Hans Pagel
1bed23484d add content 2020-11-06 16:06:36 +01:00
Hans Pagel
6beb9d2d69 update the text align page 2020-11-06 15:44:23 +01:00
Hans Pagel
be44c6c6c7 improve typography extension 2020-11-06 15:31:29 +01:00
Philipp Kühn
944d5e7039 add basic font-family extension 2020-11-06 15:14:04 +01:00
Hans Pagel
8c1d7cd160 Merge branch 'main' of github.com:ueberdosis/tiptap-next into main 2020-11-06 14:49:45 +01:00
Hans Pagel
d4a8058539 add new pages, add more content 2020-11-06 14:49:40 +01:00
Philipp Kühn
d6930a6ba6 add basic text style mark 2020-11-06 14:46:59 +01:00
Philipp Kühn
bdb90403eb refactoring 2020-11-06 14:27:43 +01:00
Philipp Kühn
c0cc5a667c move hightlight test 2020-11-06 14:20:48 +01:00
Hans Pagel
645ec6e153 update content 2020-11-06 11:37:30 +01:00
Philipp Kühn
e4eed4ea09 Merge branch 'main' into feature/new-highlight-extension 2020-11-05 23:19:37 +01:00
Hans Pagel
7fa5ad5db4 add mooore typography rules 2020-11-05 23:06:59 +01:00
Hans Pagel
7a7e517577 add arrows to the typography extension 2020-11-05 22:50:07 +01:00
Hans Pagel
44865a2ea7 clean up the tests 2020-11-05 22:47:55 +01:00
Hans Pagel
dd3f84c4e3 add content to the typography extension page 2020-11-05 22:47:44 +01:00
Philipp Kühn
3875c71f8e Merge branch 'main' into feature/new-highlight-extension 2020-11-05 22:35:46 +01:00
Hans Pagel
e90934aa96 add more content 2020-11-05 22:16:18 +01:00
Hans Pagel
f946954e91 add content to the collaboration cursor extension 2020-11-05 21:57:25 +01:00
Hans Pagel
810f3d6b6d add content to the dropcursor page 2020-11-05 21:39:08 +01:00
Philipp Kühn
9103172837 Merge branch 'main' into feature/new-highlight-extension
# Conflicts:
#	docs/src/docPages/api/extensions.md
#	docs/src/links.yaml
#	packages/core/src/extensions/toggleMark.ts
2020-11-05 21:27:20 +01:00
Philipp Kühn
5a9e8ce522 fixx task list style 2020-11-05 14:52:11 +01:00
Hans Pagel
520cc318a6 add content 2020-11-05 14:39:28 +01:00
Hans Pagel
8147172325 update the gapcursor page & example 2020-11-05 13:51:09 +01:00
Hans Pagel
729fa7f036 add content to the gapcursor page 2020-11-05 11:46:27 +01:00
Philipp Kühn
4ed01c41cb rename schema names 2020-11-03 20:57:09 +01:00
Hans Pagel
d69b8778d6 add more content, add tests to the tasklist extension 2020-11-03 17:05:27 +01:00
Hans Pagel
34a3a7fe26 move everything around, add more content and a first test for images 2020-11-03 16:43:35 +01:00
Hans Pagel
9bcdb57f14 update content, add text align justify 2020-11-03 16:13:13 +01:00
Philipp Kühn
c73b03c595 fix error 2020-11-02 16:56:01 +01:00
Philipp Kühn
b3fb079fee fix tests 2020-11-02 16:33:12 +01:00
Philipp Kühn
389937c32f refactoring 2020-11-02 16:23:43 +01:00
Philipp Kühn
eed82a57b6 wording 2020-11-02 15:47:51 +01:00
Philipp Kühn
83ebbf957a add setDefaultNodeAttributes 2020-11-02 15:46:56 +01:00
Philipp Kühn
a97ffc41f4 add clear nodes button 2020-11-02 14:30:08 +01:00
Philipp Kühn
9f6087f36f revert changes in demo 2020-11-01 00:35:14 +01:00
Philipp Kühn
97831ea8e5 add typography extension 2020-11-01 00:28:46 +01:00
Philipp Kühn
4ce0eef6c0 move dropcursor and gapcursor to its own package 2020-11-01 00:16:28 +01:00
Philipp Kühn
1ab817295c dont use scoped styles for demos 2020-10-30 17:52:46 +01:00
Philipp Kühn
a56f396e02 add basic styling to task list 2020-10-30 17:21:20 +01:00
Philipp Kühn
cc3dcf1c29 fix tests 2020-10-30 17:12:28 +01:00
Philipp Kühn
40fb2bf567 Merge branch 'feature/node-views' into main 2020-10-30 16:58:13 +01:00
Hans Pagel
e7c7ea16c7 add new example, update content 2020-10-30 16:13:47 +01:00
Philipp Kühn
9dabdfe288 Merge branch 'main' into feature/node-views 2020-10-30 16:06:53 +01:00
Philipp Kühn
b28a322d8b add node view to task item 2020-10-30 14:55:48 +01:00
Hans Pagel
25f4078996 update content 2020-10-30 14:24:16 +01:00
Philipp Kühn
3e00fadcaa add basic task list and task item extension 2020-10-30 13:19:06 +01:00
Hans Pagel
86c528830c add premium hints everywhere, add premium flags to the navigation, add a license page 2020-10-28 18:05:20 +01:00
Hans Pagel
83eac2ddd8 rename demo, add more content 2020-10-28 17:31:51 +01:00
Hans Pagel
4dad818f7d rename HTML function names 2020-10-28 17:20:38 +01:00
Hans Pagel
4af6049792 add hostic-dom 2020-10-28 17:12:25 +01:00
Hans Pagel
c353a7f01f Merge branch 'main' of github.com:ueberdosis/tiptap-next into main 2020-10-28 16:54:19 +01:00
Hans Pagel
3518943e62 update content 2020-10-28 16:32:06 +01:00
Philipp Kühn
4a78ad1523 smaller images 2020-10-28 08:53:03 +01:00
Philipp Kühn
bfb52ebfa6 update image content 2020-10-27 22:41:19 +01:00
Hans Pagel
0f9c705ee0 try to fix the test (wip) 2020-10-27 22:38:05 +01:00
Philipp Kühn
a731ff8ea2 refactoring 2020-10-27 22:35:31 +01:00
Hans Pagel
47109ed97f improve the highlight extension, add pasteRule and inputRule 2020-10-27 22:14:40 +01:00
Philipp Kühn
d8e82959ec add some random image 2020-10-27 21:38:29 +01:00
Hans Pagel
da3618ec6f Merge branch 'main' into feature/new-highlight-extension
# Conflicts:
#	packages/core/src/commands/toggleMark.ts
2020-10-27 20:36:22 +01:00
Philipp Kühn
fd7d0f03bd add basic image extension 2020-10-27 15:32:55 +01:00
Philipp Kühn
ed7d3862b2 refactor some attributes to new syntax 2020-10-27 14:53:23 +01:00
Philipp Kühn
98580b2149 fix some bugs 2020-10-23 23:41:54 +02:00
Philipp Kühn
4bff000751 add textAlign command 2020-10-23 17:50:28 +02:00
Philipp Kühn
9f908b2cbf add setNodeAttributes command 2020-10-23 17:19:12 +02:00
Philipp Kühn
5976d6083c add basic text align extension 2020-10-23 15:23:40 +02:00
Philipp Kühn
f37e6da902 rename .json() to .getJSON() and .html() to .getHTML(), fix #22, fix #23 2020-10-23 11:58:00 +02:00
Philipp Kühn
79172753ef add new syntax to all extensions 2020-10-22 12:34:49 +02:00
Philipp Kühn
681f951f5f Merge branch 'main' into feature/extension-classes
# Conflicts:
#	packages/core/src/utils/getSchema.ts
2020-10-12 22:25:33 +02:00
Hans Pagel
2f8f40e8c9 disable last failing test for now 2020-10-12 20:36:01 +02:00
Hans Pagel
3e3f4444e4 change keyboard shortcut for code blocks, should fix tests 2020-10-12 20:28:04 +02:00
Hans Pagel
9a1bc8a8b1 everything is broken 2020-10-12 17:58:30 +02:00
Hans Pagel
7ad63a2921 improve tests 2020-10-12 17:47:22 +02:00
Hans Pagel
34affa7bbb fix tests 2020-10-12 17:19:19 +02:00
Philipp Kühn
8324f57528 add basic extension classes 2020-10-09 22:59:25 +02:00
Hans Pagel
2364ebd974 add beautiful colors (wip, breaking tests) 2020-10-08 14:59:24 +02:00
Hans Pagel
5c0bf25442 add more tests 2020-10-08 14:54:30 +02:00
Hans Pagel
0e48b8e6f6 add a lot more parseDOM tests to all extensions 2020-10-08 14:15:02 +02:00
Hans Pagel
d09c664909 add italic parseDOM tests 2020-10-08 03:57:45 +02:00
Hans Pagel
78cc76c1a6 test bold parseDOM rules 2020-10-08 03:51:39 +02:00
Hans Pagel
3b01b5b219 improve highlight toggling 2020-10-05 17:26:34 +02:00
Hans Pagel
1d5d1f7c6e check if mark has attributes 2020-10-05 17:12:57 +02:00
Hans Pagel
021d911ad6 add color parameter to highlight command 2020-10-05 16:17:31 +02:00
Hans Pagel
2d82e4e1a7 add mooore content 2020-10-05 14:56:45 +02:00
Philipp Kühn
0bad11bac7
Merge pull request #19 from ueberdosis/fix/autofocus
Fix the broken autoFocus option
2020-10-02 21:58:02 +02:00
Philipp Kühn
ca5a049950
Merge pull request #17 from ueberdosis/feature/add-tilde-shortcut-to-code-blocks
add tilde markdown shortcut support to code blocks
2020-10-02 21:45:37 +02:00
Hans Pagel
b5359a305f add color support 2020-10-02 21:39:16 +02:00
Hans Pagel
6baa758ec3 clean up the test 2020-10-02 15:49:58 +02:00
Hans Pagel
eabcecb550 add comment about broken autoFocus option 2020-10-02 15:45:45 +02:00
Hans Pagel
1fc7a6b37e add basic highlight extension 2020-10-02 15:28:00 +02:00
Hans Pagel
eeec5b6871 change markdown shortcut for striked text to two tildes 2020-10-02 15:05:26 +02:00
Hans Pagel
64da5cbcf7 add tilde markdown shortcut support to code blocks 2020-10-02 14:54:10 +02:00
Hans Pagel
f96dca37d6 move styles from demos to vue components 2020-10-02 14:43:19 +02:00
Philipp Kühn
412c43e086 improve dev server startup time 2020-10-01 21:14:00 +02:00
Philipp Kühn
cd2835b6ca
Merge pull request #15 from ueberdosis/feature/parse-code-blocks
Add language support to Code Block’s parseDOM function
2020-09-30 19:21:17 +02:00
Hans Pagel
9261639725 wording 2020-09-30 16:33:32 +02:00
Hans Pagel
576f3e1caa add language support to code blocks 2020-09-30 16:25:32 +02:00
Hans Pagel
5d7435f3fe add more content 2020-09-30 16:16:15 +02:00
Hans Pagel
5d9b16c9f1 rename test 2020-09-27 10:45:32 +02:00
Hans Pagel
30bf37c8c8 make link target _blank the default 2020-09-27 10:41:20 +02:00
Hans Pagel
13c95b602e replace headline with heading 2020-09-27 10:40:08 +02:00
Hans Pagel
eca9dcd40d remove underline from default extensions 2020-09-27 10:38:59 +02:00
Hans Pagel
a6bcea4458 improve collab cursor styling 2020-09-27 10:37:48 +02:00
Hans Pagel
149ce56ad8 add table of content support 2020-09-27 10:29:01 +02:00
Philipp Kühn
b926060f1e
Merge pull request #13 from ueberdosis/feature/make-blockquotes-wrappable
make blockquotes wrappable
2020-09-27 09:30:11 +02:00
Philipp Kühn
6b57c09feb
Merge pull request #12 from ueberdosis/feature/code-block-with-language-support
add language support to code blocks
2020-09-27 09:29:59 +02:00
Hans Pagel
408514287e move collaboration example 2020-09-26 21:08:49 +02:00
Hans Pagel
960d230d84 add content to the collaboration extension page 2020-09-26 20:58:58 +02:00
Hans Pagel
5313c0b8f6 make blockquotes wrappable 2020-09-26 20:50:01 +02:00
Hans Pagel
e24ce2af77 add language support to code blocks 2020-09-26 20:20:52 +02:00
Hans Pagel
e14365fad6 add a list of animal emojis to get a random name 2020-09-26 17:57:08 +02:00
Hans Pagel
97a8fd961a clean up 2020-09-26 17:39:41 +02:00
Hans Pagel
79113aa394 add command to update username and color, add UI to show other users 2020-09-26 17:35:07 +02:00
Hans Pagel
015d0f2c21 rename room 2020-09-26 15:00:02 +02:00
Hans Pagel
225727e40f fix number of connected users 2020-09-26 14:37:35 +02:00
Hans Pagel
81051835f4 add offline support to the collaboration example 2020-09-26 14:30:09 +02:00
Hans Pagel
c44c30dc50 add number of connected users 2020-09-26 14:17:51 +02:00
Hans Pagel
870f52065e Merge branch 'feature/collaboration-with-yjs' into main 2020-09-26 13:58:11 +02:00
Hans Pagel
b573967482 improve the link test 2020-09-26 13:57:55 +02:00
Hans Pagel
80d5c54cb7 add render function to the collaboration cursor 2020-09-26 11:20:19 +02:00
Hans Pagel
6190380e75 add new collaboration cursor plugin 2020-09-26 11:03:17 +02:00
Hans Pagel
90f127b8a6 refactor collaboration extension 2020-09-26 10:43:08 +02:00
Hans Pagel
560edc93bb add cursor styling and configuration, remove second demo, disable initial content 2020-09-25 23:55:34 +02:00
Hans Pagel
4052165498 add basic yjs extension with baked in web rtc support (wip) 2020-09-25 23:22:21 +02:00
Hans Pagel
4a508fbf2b add paste command to cypress, test the link pasterule for a few domains 2020-09-25 21:54:19 +02:00
Hans Pagel
f0e42e1858 add links example 2020-09-25 19:38:15 +02:00
Hans Pagel
8a0a25aeb0 add tests to the link extension page 2020-09-25 19:36:43 +02:00
Hans Pagel
304504da73 add content to the link extension page 2020-09-25 19:05:21 +02:00
Philipp Kühn
49eff17fb6 add link button 2020-09-25 14:17:53 +02:00
Hans Pagel
7c2b39353d add link extension 2020-09-24 22:26:23 +02:00
Hans Pagel
a00bb32cc4 improve basic example, add task 2020-09-24 21:50:27 +02:00
Hans Pagel
f4f5a02778 minor content improvements 2020-09-24 21:47:04 +02:00
Philipp Kühn
57bafb00b9
Merge pull request #10 from ueberdosis/feature/add-paragraph-command
add paragraph command and keyboard shortcut
2020-09-24 20:45:12 +02:00
Hans Pagel
ab64afc249 add moooore content 2020-09-24 18:29:53 +02:00
Hans Pagel
e283ec4399 fix tests 2020-09-24 18:29:34 +02:00
Hans Pagel
26d808e1ba improve the examples 2020-09-24 17:56:42 +02:00
Hans Pagel
2848b814b6 a few minor improvements to the content 2020-09-24 15:58:40 +02:00
Hans Pagel
d7db24a199 add paragraph command and keyboard shortcut 2020-09-24 15:27:29 +02:00
Philipp Kühn
ac33eb483e fix more linting errors 2020-09-24 00:29:05 +02:00
Philipp Kühn
5dff1c00d8 fix some linting errors 2020-09-23 23:38:11 +02:00
Hans Pagel
c85064d229 add some content to the link extension page 2020-09-23 12:39:09 +02:00
Hans Pagel
318172741b add ordered list and list item 2020-09-23 12:33:45 +02:00
Hans Pagel
cb588bf6e0 add more bullet list tests 2020-09-23 12:14:00 +02:00
Hans Pagel
949f4ccb3d a ton of improvements 2020-09-23 12:03:03 +02:00
Hans Pagel
f4a76c5448 add bullet list and ordered list to the basic example 2020-09-23 09:43:21 +02:00
Philipp Kühn
2c9973af8c fix bullet list 2020-09-22 20:39:24 +02:00
Philipp Kühn
7f9bb9f1d1 Merge branch 'main' of https://github.com/ueberdosis/tiptap-next into feature/improve-command-chaining 2020-09-22 20:09:22 +02:00
Hans Pagel
51af4b696b fix markup typo 2020-09-22 16:52:20 +02:00
Hans Pagel
4e1676956e whitespace 2020-09-22 15:17:02 +02:00
Philipp Kühn
0aa5a4c474 disable list test for now 2020-09-22 09:15:09 +02:00
Philipp Kühn
dcac67c61a fix more commands 2020-09-22 09:08:08 +02:00
Philipp Kühn
4da71ecfbb add some more commands 2020-09-21 23:17:30 +02:00
Philipp Kühn
778e064979 add basic ChainedCommands type 2020-09-21 21:40:44 +02:00
Philipp Kühn
c1a941a042 add support for prosemirror commands 2020-09-21 18:40:32 +02:00
Philipp Kühn
f6270c0e0c add more commands 2020-09-20 23:44:38 +02:00
Philipp Kühn
fbdc156981 add basic new chaining 2020-09-20 23:19:27 +02:00
Hans Pagel
c307171295 add morrre content 2020-09-16 17:01:47 +02:00
Hans Pagel
3470400785 add more content to the basic example 2020-09-15 17:55:22 +02:00
Hans Pagel
297981c5d8 add a test to the text extension page 2020-09-15 17:31:43 +02:00
Hans Pagel
2f9ee7fbbd add the text extension page 2020-09-15 17:05:32 +02:00
Hans Pagel
f8487c95a7 add bullet list markdown shortcut tests 2020-09-15 16:59:27 +02:00
Hans Pagel
a560a1bbb4 remove global window.editor instance from demos 2020-09-15 16:52:19 +02:00
Hans Pagel
f7f3d29fe5 add a demo to the bullet list extension page 2020-09-15 16:50:54 +02:00
Hans Pagel
a917264057 update the heading page 2020-09-15 16:44:20 +02:00
Philipp Kühn
00506e359b defaults to force: true for type and click 2020-09-15 09:03:08 +02:00
Philipp Kühn
71cc626b0a refactoring 2020-09-15 00:07:00 +02:00
Philipp Kühn
61ca7d4377 remove focus from tests 2020-09-14 23:39:27 +02:00
Philipp Kühn
7afcb0250e fix shortcuts 2020-09-11 23:17:40 +02:00
Philipp Kühn
f5dca8defb refactoring 2020-09-11 22:26:53 +02:00
Philipp Kühn
cc9425fc07 fix tests again 2020-09-11 22:25:05 +02:00
Philipp Kühn
23ce5bc044 fix shortcuts 2020-09-11 22:02:51 +02:00
Philipp Kühn
66841f2fe2 replace all contains 2020-09-11 21:56:08 +02:00
Philipp Kühn
46cee66db9 update some tests 2020-09-11 21:04:55 +02:00
Philipp Kühn
8df2a5d25e add done again 2020-09-11 18:52:18 +02:00
Philipp Kühn
cc0695feb6 formatting 2020-09-11 18:45:16 +02:00
Philipp Kühn
7350f52392 fix crapcode 2020-09-11 18:35:25 +02:00
Hans Pagel
3b67e58941 Merge branch 'main' of github.com:ueberdosis/tiptap-next into main
# Conflicts:
#	docs/src/demos/Examples/MarkdownShortcuts/index.spec.js
#	docs/src/demos/Extensions/Blockquote/index.spec.js
#	docs/src/demos/Extensions/Bold/index.spec.js
#	docs/src/demos/Extensions/Code/index.spec.js
#	docs/src/demos/Extensions/CodeBlock/index.spec.js
#	docs/src/demos/Extensions/HardBreak/index.spec.js
#	docs/src/demos/Extensions/Heading/index.spec.js
#	docs/src/demos/Extensions/History/index.spec.js
#	docs/src/demos/Extensions/HorizontalRule/index.spec.js
#	docs/src/demos/Extensions/Italic/index.spec.js
#	docs/src/demos/Extensions/Paragraph/index.spec.js
#	docs/src/demos/Extensions/Strike/index.spec.js
#	docs/src/demos/Extensions/Underline/index.spec.js
2020-09-11 18:20:56 +02:00
Philipp Kühn
b13d3ddb0b Merge branch 'main' of https://github.com/ueberdosis/tiptap-next into main
# Conflicts:
#	docs/src/demos/Examples/MarkdownShortcuts/index.spec.js
#	docs/src/demos/Extensions/Blockquote/index.spec.js
#	docs/src/demos/Extensions/Bold/index.spec.js
#	docs/src/demos/Extensions/Code/index.spec.js
#	docs/src/demos/Extensions/CodeBlock/index.spec.js
#	docs/src/demos/Extensions/HardBreak/index.spec.js
#	docs/src/demos/Extensions/Heading/index.spec.js
#	docs/src/demos/Extensions/History/index.spec.js
#	docs/src/demos/Extensions/HorizontalRule/index.spec.js
#	docs/src/demos/Extensions/Italic/index.spec.js
#	docs/src/demos/Extensions/Paragraph/index.spec.js
#	docs/src/demos/Extensions/Strike/index.spec.js
#	docs/src/demos/Extensions/Underline/index.spec.js
2020-09-11 18:11:56 +02:00