Dominik
1ebc8f8e14
chore: migrate to new versions of prosemirror packages ( #2854 )
...
* refactor: upgrade prosemirror packages to new typescript versions
* refactor: migrate to new typings from prosemirror
* style: fix linting issues
* style: fix linting issues
* style: fix linting issues
* fix(ci): fix build process by reimplement filterTransaction
* fix(extension-test): fix broken build because of wrong output file names
* fix: fix prosemirror-tables not being bundled correctly for ES6
* fix: move to prosemirror-tables-contently until es6 build is working
* fix: fix tests for youtube
* fix: fix youtube test
* fix(demos): fix demos build
2022-06-20 11:45:37 +02:00
Dominik
8c6751f0c6
add precommit hook for linting and automatic eslint fixes + update eslint packages ( #2862 )
...
* chore: add precommit hook for eslint fixes, fix linting issues
* chore: add eslint import sort plugin
2022-06-08 14:10:25 +02:00
Anton Liubushkin
d84ce08dcf
Update ReactNodeViewRenderer.tsx
...
remove trailing spaces
2022-05-20 13:33:17 +02:00
Anton Liubushkin
21913445bc
Update ReactNodeViewRenderer.tsx
2022-05-20 13:33:17 +02:00
Anton Liubushkin
00cd74e2c6
Add className option and pass through to ReactRenderer
2022-05-20 13:33:17 +02:00
Philipp Kühn
40a9404c94
add newline-after-var rule to eslint config
2021-12-03 00:03:39 +01:00
Jessica Chong
dedcf17d53
feat: Add as option and pass through to ReactRenderer ( #2213 )
...
* Add `as` option and pass through to ReactRenderer
* Fix type, oops
* type `as` as string
2021-12-02 14:13:03 +01:00
Philipp Kühn
c9dc1e1ec3
feat: add className option to ReactRenderer, see #2166
2021-11-18 09:58:38 +01:00
Jon Noronha
ddc9ca8d4f
fix: Check node type above custom update function for node views ( #2081 )
2021-10-25 09:52:34 +02:00
Philipp Kühn
dead826250
fix: use ref to move contentDOM ( #1960 ), fix #1942
2021-09-30 21:13:37 +02:00
Philipp Kühn
b15a8a8683
fix: fix a bug when using nested node views in react, fix #1747
2021-08-24 22:13:18 +02:00
Philipp Kühn
6ef931f85d
fix another bug for updating node views
2021-07-28 14:51:58 +02:00
Philipp Kühn
d7f6e0ce3f
fix: fix updating node views, fix #1656
2021-07-28 14:49:00 +02:00
Philipp Kühn
d720edbe24
feat!: provide more context to update function of node views, fix #1611
...
* add more powerful update option to node views
* add object params for all node view option props
2021-07-27 12:26:24 +02:00
Philipp Kühn
651e6911e3
feat: add ignoreMutation option to NodeViewRenderer, fix #1538
2021-07-26 18:44:02 +02:00
Philipp Kühn
78f75c3e0e
fix: maybe move content dom on update, fix #1370
2021-05-29 20:12:21 +02:00
Philipp Kühn
60708a7817
fix: maybe move content dom on update, see #1370
2021-05-28 15:00:51 +02:00
Philipp Kühn
fcee5f82c6
feat: add deleteNode method to node views
2021-05-19 00:03:41 +02:00
Philipp Kühn
e885ffa15b
fix: prevents a bug where a line break was incorrectly added at enter in react node views, fix #1197
2021-04-22 14:23:48 +02:00
Philipp Kühn
05434afc47
wip: add extension.name
2021-04-15 22:03:45 +02:00
Philipp Kühn
ea0992f66e
fix: fix using react node views with insertContent
2021-04-11 14:03:16 +02:00
Philipp Kühn
536663f816
fix: improve node view error message
2021-04-08 09:05:43 +02:00
Philipp Kühn
7877fbcb11
fix lint
2021-04-07 22:09:46 +02:00
Philipp Kühn
a0e2a830d7
refactor: remove isEditable from node views, remove viewUpdate event
2021-04-07 22:07:36 +02:00
Philipp Kühn
2718ccff6f
fix some react ts issues
2021-04-07 14:29:51 +02:00
Philipp Kühn
92c2c81b8e
why
2021-04-06 23:00:03 +02:00
philippkuehn
cdb57b2e39
ci: fix code style linting errors
2021-04-04 19:44:43 +00:00
Philipp Kühn
bdb5d72495
feat: render wrapper element for inline node views as span, fix #242
2021-04-04 21:43:48 +02:00
Philipp Kühn
49fcf829f3
refactoring
2021-03-16 22:22:13 +01:00
Philipp Kühn
a76de1ab6d
move some nodeview logic to core
2021-03-16 21:55:40 +01:00
Philipp Kühn
6841408e0d
code style
2021-03-15 18:48:51 +01:00
Philipp Kühn
e765c8e981
refactoring
2021-03-15 09:00:44 +01:00
Philipp Kühn
380d27fe86
add useReactNodeView hook
2021-03-14 20:40:40 +01:00