Commit Graph

16 Commits

Author SHA1 Message Date
Shaun Tan
8a5b3cf67a
Prevent overriding 'whiteSpace' styling for NodeView React components (#2884)
Fixes ueberdosis/tiptap#2883
2022-06-20 19:41:33 +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
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
a3a847f711 code style 2021-06-14 16:06:49 +02:00
philippkuehn
15edaf0561 ci: fix code style linting errors 2021-06-14 14:03:29 +00:00
Yousef
cc6bc0fa40
Update NodeViewContent.tsx 2021-06-11 08:33:22 +02:00
Yousef
deb79ea729
NodeViewContent forwardRef 2021-06-11 08:06:44 +02:00
Philipp Kühn
cfb3b80f63 fix: allow passing props to NodeViewWrapper and NodeViewContent 2021-04-23 23:38:38 +02:00
Philipp Kühn
f8dec5f905 fix: make as prop optional 2021-04-08 09:11:45 +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
df5908d42e add classname support for react components 2021-03-18 09:38:10 +01:00
Philipp Kühn
56aaf75db5 refactoring 2021-03-14 22:41:25 +01:00
Philipp Kühn
8ccb1d08cf add dynamic tags 2021-03-14 21:45:14 +01:00
Philipp Kühn
380d27fe86 add useReactNodeView hook 2021-03-14 20:40:40 +01:00
Philipp Kühn
5e9a0d4225 add basic react nodeviewrenderer 2021-03-14 16:30:06 +01:00