Commit Graph

607 Commits

Author SHA1 Message Date
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
c40e7761b8 fix lint 2020-10-23 11:45:28 +02:00
Philipp Kühn
79172753ef add new syntax to all extensions 2020-10-22 12:34:49 +02:00
Philipp Kühn
36fd2b70c7 Merge branch 'main' into feature/extension-classes 2020-10-21 09:42:27 +02:00
Philipp Kühn
e549f3954f improve scrolling again 2020-10-16 09:28:14 +02:00
Philipp Kühn
a6041f2723 improve scroll position 2020-10-16 09:11:09 +02:00
Philipp Kühn
7e33b748d1 improve spacings 2020-10-13 09:07:47 +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
Philipp Kühn
82ee198e57 improve demo styling 2020-10-12 21:51:47 +02:00
Philipp Kühn
77f431a47d dont use live-demo 2020-10-12 21:47:19 +02:00
Philipp Kühn
d332a189b3 fix list style 2020-10-12 21:41:32 +02:00
Philipp Kühn
867254f109 refactoring 2020-10-12 21:37:03 +02:00
Philipp Kühn
5a9a8ce34e improve menu styling 2020-10-12 21:19:13 +02:00
Philipp Kühn
e9d410f53b fix code highlight lines 2020-10-12 21:14:14 +02:00
Philipp Kühn
bfc23427e7 improve mobile styling 2020-10-12 20:59:16 +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
Philipp Kühn
9797a0b7a8 add mobile nav 2020-10-12 18:42:47 +02:00
Philipp Kühn
f0cfd8e877 improve page navigation styling 2020-10-12 18:09:20 +02:00
Hans Pagel
9a1bc8a8b1 everything is broken 2020-10-12 17:58:30 +02:00
Philipp Kühn
ba4a52d610 improve img styling 2020-10-12 17:50:56 +02:00
Hans Pagel
7ad63a2921 improve tests 2020-10-12 17:47:22 +02:00
Philipp Kühn
95aa1fd46b fix lint 2020-10-12 17:45:38 +02:00
Philipp Kühn
e3f5447476 Merge branch 'main' of https://github.com/ueberdosis/tiptap-next into main 2020-10-12 17:43:23 +02:00
Philipp Kühn
512f504f08 add github link 2020-10-12 17:43:20 +02:00
Philipp Kühn
ba7d17603b decrease text brightness 2020-10-12 17:21:09 +02:00
Hans Pagel
34affa7bbb fix tests 2020-10-12 17:19:19 +02:00
Philipp Kühn
9abb4afc21 improve inline code breaks 2020-10-12 17:16:51 +02:00
Philipp Kühn
5d679249d5 fix render bug 2020-10-12 17:12:44 +02:00
Philipp Kühn
597b2db742 add label to toc 2020-10-12 17:07:10 +02:00
Philipp Kühn
801912be5d add toc style 2020-10-12 17:03:46 +02:00
Philipp Kühn
4cd4c7527b add basic new page layout 2020-10-12 13:58:41 +02:00
Philipp Kühn
fb101c05f3 improve styling 2020-10-12 13:21:16 +02:00
Philipp Kühn
b8483f4c08 improve css scope 2020-10-12 13:09:37 +02:00
Philipp Kühn
cbf21078de add basic new colors 2020-10-12 12:26:54 +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
05902a2f77 wording 2020-10-08 14:54:25 +02:00
Hans Pagel
f070ddc9fc disable vue components menu entry 2020-10-08 14:39:36 +02:00
Hans Pagel
0e48b8e6f6 add a lot more parseDOM tests to all extensions 2020-10-08 14:15:02 +02:00
Hans Pagel
2282beae07 fix typos 2020-10-08 13:54:29 +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
Hans Pagel
3de4187a39 Merge branch 'main' of github.com:ueberdosis/tiptap-next into main 2020-10-05 09:59:43 +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
Philipp Kühn
b573329fd5
Merge pull request #18 from ueberdosis/feature/double-tilde-shortcut-for-strike-mark
change markdown shortcut for striked text to two tildes
2020-10-02 21:44:44 +02:00
Hans Pagel
b5359a305f add color support 2020-10-02 21:39:16 +02:00
Hans Pagel
548e148549 add content 2020-10-02 21:11:01 +02:00
Hans Pagel
546f0e750d clean zp 2020-10-02 17:24:09 +02:00
Hans Pagel
95c9c7cc0e minor improvement to the commands page 2020-10-02 17:22:38 +02:00
Hans Pagel
a03dfaf28d add content to the commands page 2020-10-02 16:56:02 +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
26504027b7 update the documentation 2020-10-02 15:12:01 +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
f9bea265bd add chunk names 2020-10-02 10:55:55 +02:00
Philipp Kühn
3ee7e2f312 add async ReactRenderer 2020-10-02 08:52:12 +02:00
Philipp Kühn
466bd33a62 add dynamic import to demo components 2020-10-02 00:10:08 +02:00
Philipp Kühn
084854bf18 improve styling 2020-10-01 23:30:26 +02:00
Philipp Kühn
82b3dc1862 import all packages for live demo 2020-10-01 22:52:31 +02:00
Philipp Kühn
68f59c2d98 Merge branch 'main' into feature/live-demo 2020-10-01 21:41:23 +02:00
Hans Pagel
3b3dce7627 Merge branch 'main' of github.com:ueberdosis/tiptap-next into main 2020-10-01 21:30:11 +02:00
Philipp Kühn
412c43e086 improve dev server startup time 2020-10-01 21:14:00 +02:00
Hans Pagel
d99b75f6dd add introduction to all pages, move under table of contents 2020-10-01 12:26:20 +02:00
Philipp Kühn
16a490fd33 Merge branch 'main' into feature/live-demo 2020-09-30 19:43:40 +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
Philipp Kühn
a46a25406c rename 2020-09-30 18:50:13 +02:00
Hans Pagel
f343dbc53f fix a typo 2020-09-30 16:42:19 +02:00
Hans Pagel
9261639725 wording 2020-09-30 16:33:32 +02:00
Hans Pagel
ecfa26b28a add support to configure the languageClassPrefix 2020-09-30 16:33:13 +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
Philipp Kühn
1a4e7385e4 add basic live demo component 2020-09-30 10:01:16 +02:00
Philipp Kühn
e67c041c31
Merge pull request #14 from ueberdosis/feature/flatten-history-options
flatten history plugin options
2020-09-27 21:30:09 +02:00
Hans Pagel
49b47c837b replace non-breaking-space with html entity 2020-09-27 11:01:25 +02:00
Hans Pagel
e536087cb2 flatten history plugin options 2020-09-27 10:52:09 +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
Hans Pagel
bcef08ce2a Merge branch 'main' of github.com:ueberdosis/tiptap-next into main 2020-09-27 10:16:49 +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
f635cebc5c add collaboration extensions to the overview 2020-09-26 21:11:42 +02:00
Hans Pagel
408514287e move collaboration example 2020-09-26 21:08:49 +02:00
Hans Pagel
370dbb9d16 wording 2020-09-26 21:04:33 +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
0597936ab8 fix typo 2020-09-26 15:00:15 +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
303b069348 improve the editor page 2020-09-26 13:57:47 +02:00
Hans Pagel
9ec392932a add empty extension pages 2020-09-26 11:36:43 +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
32fa762890 fix navigation 2020-09-25 23:23:25 +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
36f95a700c improve demo component 2020-09-25 23:18:36 +02:00
Hans Pagel
7db9211b98 update the commands page 2020-09-25 22:37:44 +02:00
Hans Pagel
5677741dad add class to nav items with children 2020-09-25 22:37:37 +02:00
Hans Pagel
a8c6c686d8 restructure the content, improve a lot 2020-09-25 22:22:44 +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
Hans Pagel
c4d9bf9b41 Merge branch 'main' of github.com:ueberdosis/tiptap-next into main 2020-09-25 18:02:58 +02:00
Philipp Kühn
ccdad892d5 update docs structure 2020-09-25 18:02:22 +02:00
Hans Pagel
6a78cc602f add heading keyboard shortcuts 2020-09-25 17:17:54 +02:00
Philipp Kühn
f71e4df72e remove replaceWithNode 2020-09-25 14:26:16 +02:00
Philipp Kühn
49eff17fb6 add link button 2020-09-25 14:17:53 +02:00
Philipp Kühn
6e4d612934
Merge pull request #11 from ueberdosis/feature/add-link-extension
Add Link Extension
2020-09-24 23:46:16 +02:00
Philipp Kühn
570e67b085 rename toggleNode to toggleBlockType 2020-09-24 22:27:17 +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
Hans Pagel
03f938bb55 Merge branch 'main' of github.com:ueberdosis/tiptap-next into main 2020-09-24 21:41:46 +02:00
Hans Pagel
a12b09f1b7 improve commands page, add api overview 2020-09-24 21:41:35 +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
27fcc9a467 wording 2020-09-24 19:17:29 +02:00
Hans Pagel
f031eb1d57 add new features to the paragraph documentation 2020-09-24 19:10:22 +02:00