Commit Graph

2015 Commits

Author SHA1 Message Date
Philipp Kühn
52d848ef1c improve types 2020-09-04 21:50:27 +02:00
Philipp Kühn
1c89e84239 add more extension tests 2020-09-04 20:51:54 +02:00
Hans Pagel
d68cb8e9d2 update dependencies 2020-09-04 14:24:27 +02:00
Hans Pagel
130166bcbc init @tiptap/html package 2020-09-04 13:44:27 +02:00
Hans Pagel
7380eef0f9 add type to core export 2020-09-04 13:44:13 +02:00
Hans Pagel
af7d79b392 clean up 2020-09-04 13:44:06 +02:00
Hans Pagel
825e1bf08d clean up 2020-09-04 13:31:55 +02:00
Hans Pagel
8cee629e19 add a new getHtmlFromFragment method that is used in the editor and in the stand-alone generateHtml helper 2020-09-04 13:06:54 +02:00
Hans Pagel
95fca8aa61 refactor generateHtml to allow directly passing a Schema 2020-09-04 12:50:10 +02:00
Hans Pagel
c5c5957e48 fix imports 2020-09-04 12:11:18 +02:00
Hans Pagel
10a229bf50 use extension helper functions and types in the extension manager 2020-09-04 12:10:51 +02:00
Hans Pagel
55817b9be4 move extension helper functions to separate files 2020-09-04 12:10:35 +02:00
Hans Pagel
49d413268b refactoring 2020-09-04 12:02:37 +02:00
Hans Pagel
536a1ed44f add separate types file 2020-09-04 12:02:37 +02:00
Hans Pagel
e94714a345 add getSchema & getHtml utility functions to generate HTML from a ProseMirror/tiptap document, without an Editor instance 2020-09-04 11:23:04 +02:00
Hans Pagel
2a4b022a6c whitespace 2020-09-03 15:11:55 +02:00
Hans Pagel
f8e907783d add content to the extensions overview, improve the basic example 2020-08-31 17:34:09 +02:00
Philipp Kühn
26651a956d add more tests 2020-08-27 23:24:31 +02:00
Philipp Kühn
07079082c4 test class replacement 2020-08-26 23:45:08 +02:00
Philipp Kühn
b5e891cf02 improve some types 2020-08-22 00:12:34 +02:00
Philipp Kühn
9b1fe00d55 refactoring 2020-08-22 00:05:00 +02:00
Philipp Kühn
d4cd6ab691 add blur command 2020-08-21 23:50:22 +02:00
Philipp Kühn
119f7d1458 add createdProxy event 2020-08-21 23:43:08 +02:00
Philipp Kühn
3cfed6c17f add some comments 2020-08-21 23:35:15 +02:00
Philipp Kühn
be6ee9853c fix isEditable 2020-08-21 22:08:54 +02:00
Philipp Kühn
65ed653d22 fix editable 2020-08-21 21:53:45 +02:00
Philipp Kühn
6a70d80af2 refactoring 2020-08-21 21:44:34 +02:00
Philipp Kühn
53f892ddd0 move plugins 2020-08-21 21:23:46 +02:00
Philipp Kühn
9e1bb182db fix some types 2020-08-21 21:01:41 +02:00
Philipp Kühn
b24d7fac30 add focus option type 2020-08-21 20:33:57 +02:00
Philipp Kühn
a4a4ff31e5 add autofocus option 2020-08-21 17:44:02 +02:00
Philipp Kühn
71c3927b28 add focus extension 2020-08-21 17:32:47 +02:00
Philipp Kühn
4125c2dd17 fix package build 2020-08-20 23:25:55 +02:00
Philipp Kühn
e2114bbc05 refactoring 2020-08-18 23:56:39 +02:00
Philipp Kühn
e471c7efd2 export extended editor for vue 2020-08-18 10:06:08 +02:00
Philipp Kühn
8c0008bbad fix private options 2020-08-18 09:41:31 +02:00
Philipp Kühn
73474a486e refactoring 2020-08-18 09:36:37 +02:00
Philipp Kühn
3d385dbcdf remove comment 2020-08-17 16:59:27 +02:00
Philipp Kühn
3c60bb6406 return editor for all core command types 2020-08-17 16:38:13 +02:00
Philipp Kühn
b233e808c1 fix focus type 2020-08-14 15:03:03 +02:00
Philipp Kühn
82a1d695bb refactoring 2020-08-14 15:02:33 +02:00
Philipp Kühn
241060f827 add re-exports to packages 2020-08-13 14:14:28 +02:00
Philipp Kühn
6d1a333171 update dependencies 2020-08-11 22:42:09 +02:00
Hans Pagel
5d4e63a26a whitespace 2020-08-11 16:57:11 +02:00
Philipp Kühn
7e2748f2e1 update dev dependencies 2020-07-15 11:44:25 +02:00
Philipp Kühn
e5a6039706 fix xss issue 2020-07-15 11:36:33 +02:00
Philipp Kühn
e6c6ec263f disable nodeview for now 2020-04-27 09:06:42 +02:00
Philipp Kühn
f8d1db1b6d pass more props to renderer 2020-04-26 23:22:10 +02:00
Philipp Kühn
b841d8ee9a refactoring 2020-04-26 23:21:27 +02:00
Philipp Kühn
30d53d33a5 move componentrenderer 2020-04-25 22:40:38 +02:00
Philipp Kühn
3cca79b960 refactoring 2020-04-24 12:23:29 +02:00
Philipp Kühn
3470a7be1c add basic support for components 2020-04-24 09:32:37 +02:00
Philipp Kühn
c2bd2b21fa refactoring 2020-04-23 22:10:45 +02:00
Philipp Kühn
7e0c0b7a28 fix a bug 2020-04-22 19:01:39 +02:00
Philipp Kühn
8aca2852ba add deleteSelection command 2020-04-22 14:59:34 +02:00
Philipp Kühn
4cfadf7d7f add updateMark command 2020-04-22 14:50:02 +02:00
Philipp Kühn
bddd5b3da7 change order 2020-04-22 14:41:43 +02:00
Philipp Kühn
9f53481e01 add replaceWithNode command 2020-04-22 14:38:15 +02:00
Philipp Kühn
fd8f5de375 add removeMark command 2020-04-22 14:22:31 +02:00
Philipp Kühn
4e6404a404 add toggleMark command 2020-04-22 14:06:15 +02:00
Philipp Kühn
0e18e67c93 add list of current commands 2020-04-22 09:23:53 +02:00
Philipp Kühn
adb44f317c add selectall command 2020-04-22 00:17:36 +02:00
Philipp Kühn
3d02da20ff add getNodeType 2020-04-22 00:09:31 +02:00
Philipp Kühn
023c16a4f5 some fixes 2020-04-21 23:48:50 +02:00
Philipp Kühn
91d4aa7e39 improve type handling for commands 2020-04-21 23:22:27 +02:00
Philipp Kühn
3deae61a15 add heading input rule 2020-04-21 22:48:27 +02:00
Philipp Kühn
6b5b30f3fc add heading command 2020-04-21 22:36:31 +02:00
Philipp Kühn
a057755e42 add basic heading extension 2020-04-21 22:16:26 +02:00
Philipp Kühn
3cfdca6ce2 update dependencies 2020-04-20 13:34:50 +02:00
Philipp Kühn
fa1c61ebbc render tiptap in react 2020-04-16 20:03:15 +02:00
Philipp Kühn
34b8f18a57 fix some types 2020-04-14 10:13:27 +02:00
Philipp Kühn
e4a329670a fix types 2020-04-13 23:35:11 +02:00
Philipp Kühn
b47f3f499b fix bug 2020-04-13 22:33:43 +02:00
Philipp Kühn
280730b261 add history option interface 2020-04-13 22:32:39 +02:00
Philipp Kühn
186654df5f add historyPluginOptions 2020-04-13 14:03:39 +02:00
Philipp Kühn
925215367d refactoring 2020-04-13 13:58:30 +02:00
Philipp Kühn
ca16a31e75 revert some magic 2020-04-13 12:27:29 +02:00
Philipp Kühn
e03d108423 add shortform to keys 2020-04-13 00:16:12 +02:00
Philipp Kühn
f29b39238b refactoring 2020-04-12 23:47:24 +02:00
Philipp Kühn
56beb707ab refactoring 2020-04-12 23:42:51 +02:00
Philipp Kühn
83ce601621 add handlePlugins option to registerPlugin 2020-04-12 20:17:56 +02:00
Philipp Kühn
1bb9864db8 add element option 2020-04-11 14:33:58 +02:00
Philipp Kühn
1e7231286d fix bug 2020-04-11 14:17:31 +02:00
Philipp Kühn
9c4b63f008 fix getNodeAttrs 2020-04-11 13:05:28 +02:00
Philipp Kühn
303f6b55fe add getNodeAttrs 2020-04-11 11:45:41 +02:00
Philipp Kühn
bb742c1db2 remove injectCSS 2020-04-10 23:09:31 +02:00
Philipp Kühn
8da3b61d46 refactoring 2020-04-10 22:59:09 +02:00
Philipp Kühn
b08e77b1fe add unregisterPlugin 2020-04-10 22:55:14 +02:00
Philipp Kühn
42a8f46011 add removeMarks command 2020-04-10 22:34:49 +02:00
Philipp Kühn
bd4fe7e5e3 rename some vars 2020-04-10 22:07:27 +02:00
Philipp Kühn
2111b04a01 add registerPlugin method 2020-04-10 21:43:23 +02:00
Philipp Kühn
9a52e3f78e update dependencies 2020-04-10 21:36:39 +02:00
Philipp Kühn
c27ebe8473 add commands to extension manager 2020-04-02 14:34:07 +02:00
Philipp Kühn
2ef2b09c0d add keys to history 2020-04-02 13:36:18 +02:00
Philipp Kühn
7710859f38 add code extension 2020-04-02 13:26:56 +02:00
Philipp Kühn
d356d47db1 fix code block marks 2020-04-02 12:42:02 +02:00
Philipp Kühn
434d77a664 add verbal expressions 2020-04-02 12:41:52 +02:00
Philipp Kühn
a914786f46 move some code to extension manager 2020-04-02 09:42:26 +02:00
Philipp Kühn
72cd81640e refactoring 2020-04-02 08:58:28 +02:00
Philipp Kühn
28d5ae094b add basic inputrules and pasterules 2020-04-02 08:53:59 +02:00
Philipp Kühn
b85df2b4c1 refactoring 2020-04-01 21:41:53 +02:00
Philipp Kühn
dc98409bab add custom event emitter 2020-04-01 21:15:23 +02:00
Philipp Kühn
c60ad0f107 improve schema types 2020-03-31 22:57:39 +02:00
Philipp Kühn
208ba890ef add extension keymaps 2020-03-31 22:17:54 +02:00
Philipp Kühn
19adfe3a6c fix 2020-03-31 13:07:57 +02:00
Philipp Kühn
d869847da1 remove styling on destroy 2020-03-31 13:06:34 +02:00
Philipp Kühn
c9bcb49788 refactoring 2020-03-31 12:58:54 +02:00
Philipp Kühn
6f3d3901ce change isActive 2020-03-31 12:53:52 +02:00
Philipp Kühn
13cb03f93b fix bold 2020-03-31 00:07:18 +02:00
Philipp Kühn
68badb77b2 add italic 2020-03-31 00:07:12 +02:00
Philipp Kühn
7aa173f45a refactoring 2020-03-30 14:49:48 +02:00
Philipp Kühn
1bc75751b3 check active nodes 2020-03-30 14:42:10 +02:00
Philipp Kühn
dde047687a fix bug 2020-03-30 13:09:08 +02:00
Philipp Kühn
fc5fe7a8ba add bold button 2020-03-30 12:43:41 +02:00
Philipp Kühn
fd476901c4 add mark 2020-03-30 12:40:25 +02:00
Philipp Kühn
9c6e553a2b add comments 2020-03-30 11:25:07 +02:00
Philipp Kühn
14421a11fa rename package folders 2020-03-30 10:42:59 +02:00
Philipp Kühn
18c5164af9 add getMarkAttrs 2020-03-30 00:25:14 +02:00
Philipp Kühn
b26bb4b276 add markIsActive 2020-03-30 00:20:38 +02:00
Philipp Kühn
adfa7f0243 add nodeIsActive 2020-03-30 00:15:20 +02:00
Philipp Kühn
b30f5c3320 add clearContent command 2020-03-29 23:24:37 +02:00
Philipp Kühn
add9090d39 refactoring 2020-03-29 23:06:37 +02:00
Philipp Kühn
463d46da8c add setContent command 2020-03-29 22:24:51 +02:00
Philipp Kühn
426cae5991 update dispatchTransaction 2020-03-29 21:04:56 +02:00
Philipp Kühn
1d978759f2 check for protected command names 2020-03-29 20:36:57 +02:00
Philipp Kühn
cd4670fb67 refactoring 2020-03-29 00:21:28 +01:00
Philipp Kühn
99cab135a1 improve createDocument 2020-03-29 00:11:10 +01:00
Philipp Kühn
64a24bcee7 refactoring 2020-03-28 23:58:48 +01:00
Philipp Kühn
4d7658f183 refactoring 2020-03-28 23:54:49 +01:00
Philipp Kühn
1431bc73b3 refactoring 2020-03-27 23:17:28 +01:00
Philipp Kühn
88806db558 move component to vue package 2020-03-27 22:55:26 +01:00
Philipp Kühn
42853fc583 rename 2020-03-27 22:04:02 +01:00
Philipp Kühn
845af5d75a update dependencies 2020-03-27 13:18:29 +01:00
Philipp Kühn
790de56952 refactoring 2020-03-11 10:23:28 +01:00
Philipp Kühn
00cc5b0180 add magic methods 2020-03-11 10:02:47 +01:00
Philipp Kühn
1b10b20ec3 check for already defined commands 2020-03-10 23:19:41 +01:00
Philipp Kühn
a580e257f5 add editorcontent component 2020-03-08 23:25:48 +01:00
Philipp Kühn
a067259da1 refactoring 2020-03-07 23:37:58 +01:00
Philipp Kühn
486d0e0f5f rename init to created 2020-03-07 22:54:45 +01:00
Philipp Kühn
25d2e0540c add starter kit 2020-03-06 12:18:20 +01:00
Philipp Kühn
e94415aa67 fix focus bug 2020-03-06 11:46:35 +01:00
Philipp Kühn
adb2d1a12c fix some types 2020-03-06 11:24:58 +01:00
Philipp Kühn
f7b62be436 add basic history extension 2020-03-06 11:02:35 +01:00
Philipp Kühn
cb6a723d57 add topNode option 2020-03-06 00:15:36 +01:00
Philipp Kühn
b21bed1694 add more types 2020-03-06 00:02:48 +01:00
Philipp Kühn
27e9d2b4af add emitter 2020-03-05 23:59:48 +01:00
Philipp Kühn
8da66c9cd8 enable extensions init 2020-03-05 22:40:02 +01:00
Philipp Kühn
bb26465da8 add plugin support 2020-03-05 22:15:17 +01:00
Philipp Kühn
d722cfe1bc refactoring 2020-03-05 21:49:53 +01:00
Philipp Kühn
01a0b99d00 add collect.js 2020-03-05 21:35:30 +01:00
Philipp Kühn
54dcbfc473 add basic extension manager 2020-03-05 21:05:01 +01:00
Philipp Kühn
6e85098741 add some extensions 2020-03-05 20:30:58 +01:00
Philipp Kühn
560d453356 add setContent 2020-03-04 22:47:50 +01:00
Philipp Kühn
36198ed2ab refactoring 2020-03-04 22:40:08 +01:00
Philipp Kühn
0dc51bf47e inject css 2020-03-04 21:45:49 +01:00
Philipp Kühn
4981571c20 refactoring 2020-03-04 21:27:22 +01:00
Philipp Kühn
8633404cc3 refactoring 2020-03-04 21:23:18 +01:00
Philipp Kühn
79b7344847 add more tests 2020-03-04 10:21:48 +01:00
Philipp Kühn
4297260cf7 update dependencies 2020-03-03 22:34:28 +01:00
Philipp Kühn
48c7d4bb98 refactoring 2019-12-16 23:51:18 +01:00
Philipp Kühn
3b291c3a3c add extension class 2019-12-16 23:20:05 +01:00
Philipp Kühn
6f1aedb2b2 add insertHTML command 2019-12-14 23:54:20 +01:00
Philipp Kühn
90f86bafbb add some tests 2019-12-08 00:16:44 +01:00
Philipp Kühn
d8fe4ee3f8 add dynamic alias 2019-12-07 22:23:49 +01:00
Philipp Kühn
f9c7066302 initial commit 2019-12-07 21:02:22 +01:00