Commit Graph

484 Commits

Author SHA1 Message Date
Philipp Kühn
3a79b8c564 fix keymaps 2020-11-02 23:26:41 +01:00
Philipp Kühn
ade9847e72 remove unused file 2020-11-02 22:46:56 +01:00
Philipp Kühn
971e8838a0 move plugins to extensions 2020-11-02 22:43:54 +01:00
Philipp Kühn
727442c3a5 add tests for mergeAttributes 2020-11-02 22:17:39 +01:00
Philipp Kühn
d3319bea4e fix input rules for marks 2020-11-02 19:18:38 +01:00
Philipp Kühn
7338266813 refactoring 2020-11-02 17:22:04 +01:00
Philipp Kühn
7bfab4685f add can method to editor class 2020-11-02 17:18:12 +01:00
Philipp Kühn
389937c32f refactoring 2020-11-02 16:23:43 +01:00
Philipp Kühn
83ebbf957a add setDefaultNodeAttributes 2020-11-02 15:46:56 +01:00
Philipp Kühn
a5d1c76f40 fix broken document 2020-11-02 15:18:03 +01:00
Philipp Kühn
2bc02e50e0 improve commands 2020-11-02 14:46:18 +01:00
Philipp Kühn
8f4abb720a add can method 2020-11-02 14:29:58 +01:00
Philipp Kühn
85c1a8ace9 add clearNodes command 2020-11-02 12:45:19 +01:00
Philipp Kühn
3dc25640c9 remove list option 2020-11-02 11:18:44 +01:00
Philipp Kühn
bfc58caea5 add list group 2020-11-02 11:16:31 +01:00
Philipp Kühn
ca5a60b7a2 improve toggleList 2020-11-02 11:16:18 +01:00
Philipp Kühn
8e480f86b9 fix build 2020-11-01 15:38:10 +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
d810054492 refactor tests 2020-10-31 23:56:31 +01:00
Philipp Kühn
cb647de043 add tests to fromString 2020-10-31 23:45:36 +01:00
Philipp Kühn
b570fcb560 add fromString method 2020-10-31 23:35:30 +01:00
Philipp Kühn
2aab7c3659 fix shortcuts for task item 2020-10-30 17:48:41 +01:00
Philipp Kühn
a4211303df improve node view rendering for task items 2020-10-30 17:44:13 +01:00
Philipp Kühn
a71221d8df fix types 2020-10-30 17:43:59 +01:00
Philipp Kühn
8f37817a42 fix linting 2020-10-30 17:01:54 +01:00
Philipp Kühn
3e3dd26ca5 add inline option to image node 2020-10-30 16:57:55 +01:00
Philipp Kühn
a8216d0840 move inputrule from task_list to task_item 2020-10-30 16:51:25 +01:00
Philipp Kühn
62149cc5b2 refactoring 2020-10-30 16:06:30 +01:00
Philipp Kühn
b99cdcdb6f improve default styling for node views 2020-10-30 16:06:24 +01:00
Philipp Kühn
e5e47aaa48 add list option to nodes 2020-10-30 15:46:15 +01:00
Philipp Kühn
073ef2ee0d add optional callback functions to schema fields 2020-10-30 15:20:10 +01:00
Philipp Kühn
b28a322d8b add node view to task item 2020-10-30 14:55:48 +01:00
Philipp Kühn
cf8956bca1 remove node view from image extension 2020-10-30 13:20:27 +01:00
Philipp Kühn
3e00fadcaa add basic task list and task item extension 2020-10-30 13:19:06 +01:00
Philipp Kühn
f9089932ff add basic implementation for node views 2020-10-30 11:08:23 +01:00
Philipp Kühn
516d0da41c nothing works 2020-10-29 09:26:24 +01:00
Philipp Kühn
12b783c4d2 formatting 2020-10-28 21:30:50 +01:00
Philipp Kühn
f642c8ecad remove @types/jsdom 2020-10-28 20:44:59 +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
228ef24424 refactoring 2020-10-28 11:52:10 +01:00
Philipp Kühn
079c39a7d0 refactor splitblock command 2020-10-27 23:16:45 +01:00
Hans Pagel
e7ceeccac8 Merge branch 'main' of github.com:ueberdosis/tiptap-next into main 2020-10-27 22:40:18 +01:00
Hans Pagel
2c787625d3 code style 2020-10-27 22:40:07 +01:00
Philipp Kühn
a731ff8ea2 refactoring 2020-10-27 22:35:31 +01:00
Hans Pagel
65391c914a remove ts-ignore comments 2020-10-27 22:25:45 +01:00
Hans Pagel
2a706fd3d2 clean up 2020-10-27 22:23:37 +01:00
Hans Pagel
c9da3ab269 clean up and add attributes to the highlight command 2020-10-27 22:22:34 +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
a1a3ecd2d0 refactor highligh extension to the new API 2020-10-27 21:21:20 +01:00
Hans Pagel
59dbe41620 add todo 2020-10-27 20:36: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
77f67bceae improve attribute handling 2020-10-27 14:53:08 +01:00
Philipp Kühn
fd278f922f fix most inputrules for now 2020-10-27 14:16:42 +01:00
Philipp Kühn
a346c7b8cd update dependencies 2020-10-27 14:15:57 +01:00
Philipp Kühn
350e34f389 add some comments 2020-10-27 13:19:23 +01:00
Philipp Kühn
9fdb57cacb formatting 2020-10-27 12:59:18 +01:00
Philipp Kühn
aec18efc0e add comment 2020-10-27 12:38:07 +01:00
Philipp Kühn
8d0c67cc66 use custom splitblock command for text align 2020-10-27 12:37:20 +01:00
Philipp Kühn
2c150f5192 refactoring 2020-10-27 12:37:00 +01:00
Philipp Kühn
db54e44438 add ugly customSplitBlock command (WIP) 2020-10-27 12:02:26 +01:00
Philipp Kühn
2fdaf724d4 wording 2020-10-27 11:55:19 +01:00
Philipp Kühn
b962890de5 add defaultAlignment option to text align extension 2020-10-27 11:55:13 +01:00
Philipp Kühn
2c52f0ce06 dont use data- attributes as default 2020-10-27 11:54:58 +01:00
Philipp Kühn
4b046d7034 remove unused code 2020-10-26 22:41:20 +01:00
Philipp Kühn
4a139f5651 improve attributes 2020-10-26 20:04:55 +01:00
Philipp Kühn
dd95a75a05 fix tests 2020-10-25 22:27:31 +01:00
Philipp Kühn
ac9fdf6481 refactor link extension 2020-10-25 22:11:53 +01:00
Philipp Kühn
16d52d05a0 add data-attribute fallback to attribute parser 2020-10-24 23:53:56 +02:00
Philipp Kühn
c85844ae11 add fallback renderer for attributes 2020-10-24 13:48:41 +02:00
Philipp Kühn
59d6051d05 improve attribute type 2020-10-24 00:09:58 +02:00
Philipp Kühn
98580b2149 fix some bugs 2020-10-23 23:41:54 +02:00
Philipp Kühn
b4c231d85c refactoring 2020-10-23 23:16:54 +02:00
Philipp Kühn
56df3bd392 implement basic parseHTML for global attributes 2020-10-23 22:55:48 +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
ecadf7ea0a merge attributes 2020-10-23 15:02:52 +02:00
Philipp Kühn
e01a0b8484 add isEmpty method, fix #28 2020-10-23 14:28:25 +02:00
Philipp Kühn
e2aa2e4bba fix tests 2020-10-23 14:24:19 +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
575f7f0f7c codestyle 2020-10-23 11:42:00 +02:00
Philipp Kühn
f7153cfe66 fix bug 2020-10-23 11:41:24 +02:00
Philipp Kühn
54195d29eb fix more errors 2020-10-23 11:24:27 +02:00
Philipp Kühn
c330e41a50 fix some errors 2020-10-23 10:59:26 +02:00
Philipp Kühn
56da8880dc fix command types 2020-10-23 10:48:10 +02:00
Philipp Kühn
fd298b645b add core extensions 2020-10-23 10:44:30 +02:00
Philipp Kühn
73285aadce fix broken input rules 2020-10-23 09:20:26 +02:00
Philipp Kühn
23a8ce2417 remove unused packages 2020-10-22 23:25:43 +02:00
Philipp Kühn
d8d33c7429 add type to this context in extensions 2020-10-22 23:21:52 +02:00
Philipp Kühn
6746163dda add AllExtensions interface 2020-10-22 22:40:40 +02:00
Philipp Kühn
79172753ef add new syntax to all extensions 2020-10-22 12:34:49 +02:00
Philipp Kühn
e442b5a8fe rename files 2020-10-22 11:19:49 +02:00
Philipp Kühn
930eb63564 refactoring 2020-10-22 11:14:44 +02:00
Philipp Kühn
9697d585fe refactoring 2020-10-22 09:42:28 +02:00
Philipp Kühn
5a2417fa53 refactoring 2020-10-22 09:23:37 +02:00