Commit Graph

241 Commits

Author SHA1 Message Date
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
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
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
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
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
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
6b5b30f3fc add heading command 2020-04-21 22:36:31 +02:00
Philipp Kühn
3cfdca6ce2 update dependencies 2020-04-20 13:34:50 +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
186654df5f add historyPluginOptions 2020-04-13 14:03:39 +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
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
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
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
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