Philipp Kühn
fe47c388ce
fix: set correct component type for ReactRenderer, fix #1904
2021-09-18 20:45:00 +02:00
Philipp Kühn
b06a1f4364
refactoring
2021-09-07 23:20:46 +02:00
castroCrea
d1f2ad293f
feat: add support for forwardRef component in reactRenderer ( #1690 , fix #1040 )
2021-09-07 23:13:39 +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
70a328bd3d
fix: make shouldShow and pluginKey option for menus, fix #1779
2021-08-23 18:44:40 +02:00
Philipp Kühn
89d26f7cba
fix: rename key to pluginKey for menus
2021-08-13 12:33:06 +02:00
Philipp Kühn
956566eaad
fix: fix some react focus issues ( #1724 ), fix #1716 , fix #1608 , fix #1520
...
* remove async createNodeViews
* focus asynchronously to fix weird bugs in react
2021-08-12 18:03:45 +02:00
Philipp Kühn
9ba61c1582
feat: add key option and shouldShow option to menus ( fix #1480 , fix #1043 , fix #1268 , fix #1503 )
...
* add key option to bubble menu
* ignore react for now
* add shouldShow option to bubble menu extension
* improve types
* remove BubbleMenuPluginKey
* add key and shouldShow option to floating menu extension
* fix: don’t show floating menu within code block
* docs: add new menu options
2021-08-11 14:37:58 +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
44e47222a0
fix: check for destroyed editor before creating node views in react
2021-06-24 19:59:06 +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
df8310407d
Update NodeViewWrapper.tsx
2021-06-11 08:33:35 +02: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
Yousef
83525ec4f1
NodeViewWrapper forwardRef
2021-06-11 08:04:53 +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
Yousef
bdd6e2b87c
Allow passing of DependencyList to useEditor
...
in case the options depend on props of the consuming component, it would be nice to be able to pass a dependencylist to `useEditor`. Unless there's a better way to handle dependency updates
2021-05-25 14:51:36 +02:00
Philipp Kühn
fcee5f82c6
feat: add deleteNode method to node views
2021-05-19 00:03:41 +02:00
Philipp Kühn
0f299d228e
fix: move all child nodes within EditorContent
2021-05-18 23:41:54 +02:00
Philipp Kühn
8979143c37
fix: add prop support for EditorContent, fix #1332
2021-05-18 15:09:15 +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
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
1c8ca95de2
refactor: remove AnyObject type
2021-04-21 09:43:31 +02:00
Philipp Kühn
9a56f666a1
feat: add tippyOptions prop
2021-04-16 12:42:56 +02:00
Philipp Kühn
d7282f168b
feat: remove keepInBounds
2021-04-16 10:46:50 +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
f8dec5f905
fix: make as
prop optional
2021-04-08 09:11:45 +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
4d4f96bfc0
fix flicker bug for menus
2021-04-01 17:55:32 +02:00
Philipp Kühn
3eac1ce319
add floating menu to vue 3 and react
2021-04-01 15:55:19 +02:00
Philipp Kühn
e0895926bd
refactoring
2021-03-31 11:13:09 +02:00
Philipp Kühn
6f5a96d2e5
add menububble react component
2021-03-31 10:21:34 +02:00
Philipp Kühn
df5908d42e
add classname support for react components
2021-03-18 09:38:10 +01: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
9bc68d6d85
refactoring
2021-03-15 18:42:58 +01:00
Philipp Kühn
57915d8638
fix toggle editor
2021-03-15 14:53:23 +01:00