Commit Graph

418 Commits

Author SHA1 Message Date
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
Philipp Kühn
808b806db8 store editor in dom element 2020-09-11 18:06:13 +02:00
Hans Pagel
a3466f1add add before method again 2020-09-11 17:51:57 +02:00
Hans Pagel
464d3665db fix broken test 2020-09-11 17:44:28 +02:00
Hans Pagel
dc83868b53 get rid of before method 2020-09-11 17:42:41 +02:00
Hans Pagel
7aa1d33cc4 add async to missing tests 2020-09-11 17:32:03 +02:00
Hans Pagel
7e3d6fbe83 delete crap code test 2020-09-11 16:41:20 +02:00
Hans Pagel
c4d02c291c async beforeeach 2020-09-11 16:24:37 +02:00
Hans Pagel
1b414ab33c really fix tests 2020-09-11 15:57:33 +02:00
Hans Pagel
c08b35e352 fix tests 2020-09-11 12:57:16 +02:00
Hans Pagel
61208efe3f add heading tests 2020-09-11 12:56:58 +02:00
Hans Pagel
4129d13f19 add tests to the paragraph extension 2020-09-11 12:12:15 +02:00
Hans Pagel
0104bf6b34 try to fix the tests 2020-09-11 11:27:53 +02:00
Hans Pagel
b3297f05c2 update the code block page, add tests 2020-09-10 17:29:34 +02:00
Hans Pagel
d1ea1da0cc add more content to the heading page 2020-09-10 17:10:20 +02:00
Hans Pagel
89b5f04aac rename the code block extension, add content to the code block extension 2020-09-10 16:54:53 +02:00
Hans Pagel
e99ecb9595 fix code blocks 2020-09-10 15:03:48 +02:00
Hans Pagel
cd116b7d1a wording 2020-09-10 14:52:19 +02:00
Hans Pagel
7c069e3eb6 add new extensions to the basic example 2020-09-10 14:51:07 +02:00
Hans Pagel
6f898a004b add a demo and tests to the horizontal rule extension 2020-09-10 12:55:15 +02:00
Hans Pagel
860b6385ad add an interactive demo and tests to the underline extension 2020-09-10 12:43:40 +02:00
Hans Pagel
12116a65ec add markdown shortcut tests to the bold extension 2020-09-10 12:40:55 +02:00
Hans Pagel
2d4f8cd3a6 switch to single tilde syntax 2020-09-10 12:31:26 +02:00
Hans Pagel
d043efe923 test the strikes extension, enable the interactive demo 2020-09-10 12:27:27 +02:00
Hans Pagel
c2570d6adc improve the hardbreak demo and add tests 2020-09-10 12:11:42 +02:00
Hans Pagel
72d262c9fc Merge branch 'main' of github.com:ueberdosis/tiptap-next into main 2020-09-10 11:58:08 +02:00
Hans Pagel
13ea910326 enable hardbreak demo 2020-09-10 11:58:00 +02:00
Philipp Kühn
7f0a734edc
Merge pull request #5 from ueberdosis/feature/blockquote-extension
Add Blockquote extension (with documentation, demo and tests)
2020-09-10 11:56:46 +02:00
Hans Pagel
868ffb4d66 add the strike extension documentation 2020-09-10 11:53:03 +02:00
Hans Pagel
0a8e15623b add the documentation for the hardbreak extension 2020-09-10 11:35:56 +02:00
Hans Pagel
e92da4c966
Merge branch 'main' into feature/blockquote-extension 2020-09-10 11:25:25 +02:00
Hans Pagel
19a5e7eab5 clean up the markdown shortcuts tests 2020-09-10 11:23:54 +02:00
Hans Pagel
405a380fb6 fix a typo 2020-09-10 11:22:26 +02:00
Hans Pagel
8ce9a440a7 don’t check the platform in cypress, use the modifier alias only 2020-09-10 11:21:51 +02:00
Hans Pagel
889bf4f4ff add blockquote extension with documentation, demo and tests 2020-09-10 11:19:49 +02:00
Philipp Kühn
9acbcf11bc fix getSchema 2020-09-09 21:18:04 +02:00
Philipp Kühn
cbe5ce4673 Merge branch 'main' into feature/generate-html-from-json-document
# Conflicts:
#	packages/core/src/ExtensionManager.ts
2020-09-09 20:50:53 +02:00
Philipp Kühn
0361da1b71 Merge branch 'main' of https://github.com/ueberdosis/tiptap-next into feature/replace-classes
# Conflicts:
#	docs/src/demos/Examples/Focus/index.vue
#	docs/src/docPages/api/extensions/placeholder.md
#	docs/src/docPages/general/roadmap.md
2020-09-09 18:16:51 +02:00
Hans Pagel
0efab21338 write about the paragraph extension 2020-09-09 16:12:39 +02:00
Hans Pagel
cc7a448474 write about the Document extension 2020-09-09 15:58:06 +02:00