Commit Graph

39 Commits

Author SHA1 Message Date
Philipp Kühn
12f60abb73 feat: add name to extension context 2021-04-20 23:11:35 +02:00
Philipp Kühn
89b72b8608 refactoring: rename posToClientRect to posToDOMRect 2021-04-16 14:44:10 +02:00
Philipp Kühn
8dab6144a6 feat: add coordsAtPos and posToClientRect helper methods 2021-04-16 09:56:52 +02:00
Philipp Kühn
afe12f1603 fix attributes 2021-04-15 23:14:47 +02:00
Philipp Kühn
08974c6332 fix lint errors 2021-04-15 22:58:13 +02:00
Philipp Kühn
6c2eea094c wip: fix isList 2021-04-15 22:08:52 +02:00
Philipp Kühn
05434afc47 wip: add extension.name 2021-04-15 22:03:45 +02:00
Philipp Kühn
016bda4010 wip: fix extendNodeSchema and extendMarkSchema 2021-04-15 21:43:41 +02:00
Philipp Kühn
07bc40ce75 wip: add getExtensionField 2021-04-15 21:14:33 +02:00
Philipp Kühn
c40ce34eec wip: add some hierarchy tests 2021-04-14 09:48:38 +02:00
Philipp Kühn
5e1ec5d2a6 feat: add parentConfig to extension context for more extendable extensions, fix #259 2021-04-12 11:11:02 +02:00
Philipp Kühn
39147f5b02 fix: fixed type for Content 2021-04-09 08:22:13 +02:00
Philipp Kühn
95f31f48fd Merge branch 'main' into feature/extension-code-block-lowlight 2021-04-07 22:39:39 +02:00
Philipp Kühn
b8d9b7d4c7 feat: add insertContent() command, deprecate insertText(), insertHTML() and insertNode() 2021-04-07 11:53:37 +02:00
Philipp Kühn
6757813fd0 refactoring 2021-04-02 23:53:04 +02:00
Philipp Kühn
f8d029040a fix type cycle bug in vite 2021-03-31 13:44:56 +02:00
Philipp Kühn
43320e51c7 add isNodeEmpty helper method 2021-03-24 22:23:08 +01:00
Philipp Kühn
e31ddbd2d8 remove unused file 2021-02-26 19:03:41 +01:00
Philipp Kühn
6fb28a2741 make extension configs extendable 2021-02-19 17:35:50 +01:00
Philipp Kühn
ba69a0d8f9 improve extending nodes and marks 2021-02-19 10:54:47 +01:00
Philipp Kühn
6f9557294e add basic schema extender 2021-02-19 09:54:39 +01:00
Philipp Kühn
501d540c2d move selectionToInsertionEnd 2021-02-17 23:30:40 +01:00
Philipp Kühn
97eb9c411c add getSplittedAttributes helper 2021-01-29 09:33:42 +01:00
Philipp Kühn
ee7daa3f43 add keepOnSplit option to attributes 2021-01-28 19:56:35 +01:00
Philipp Kühn
6a5dde0101 refactoring 2021-01-28 09:57:20 +01:00
Philipp Kühn
4407d9a3d1 improve types 2021-01-28 09:50:17 +01:00
Philipp Kühn
d13210820d remove prosemirror-utils 2021-01-25 13:39:35 +01:00
Philipp Kühn
2156891823 add deleteTableWhenAllCellsSelected 2021-01-24 23:28:51 +01:00
Philipp Kühn
605ead820f fix focus for tables 2021-01-22 23:56:33 +01:00
Hans Pagel
fde2b1572d add table commands, add tableRole to the schema, add buttons to the example 2021-01-22 20:01:01 +01:00
Philipp Kühn
ae3e36e2ce improve isMarkActive 2020-12-02 14:39:25 +01:00
Philipp Kühn
5b794c9137 improve isActive 2020-12-02 08:55:34 +01:00
Philipp Kühn
96920e5c14 fix togglemark 2020-12-01 12:45:30 +01:00
Philipp Kühn
fe9f74ebdf refactoring 2020-12-01 09:20:25 +01:00
Philipp Kühn
f556f00518 refactoring 2020-12-01 09:11:58 +01:00
Philipp Kühn
3afe5af21e invert nodeIsActive 2020-11-30 21:10:13 +01:00
Philipp Kühn
bdc5998bb1 invert markIsActive 2020-11-30 20:53:02 +01:00
Philipp Kühn
c0911c315c improve isActive for marks 2020-11-30 15:40:16 +01:00
Philipp Kühn
f486ddf80a split helpers and utilities 2020-11-30 09:42:53 +01:00