Commit Graph

39 Commits

Author SHA1 Message Date
Philipp Kühn
89d26f7cba fix: rename key to pluginKey for menus 2021-08-13 12:33:06 +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
939fc3d93a fix: prevent bug when editor is destroyed very fast 2021-05-28 12:14:12 +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
Chris O'Sullivan
5c5680d00e Change how ref is handled in VueRenderer 2021-05-05 09:44:07 -05:00
Philipp Kühn
888cce2e4c refactor: don’t use destructuring for props 2021-04-23 20:50:01 +02:00
Philipp Kühn
1c8ca95de2 refactor: remove AnyObject type 2021-04-21 09:43:31 +02:00
Philipp Kühn
f6d8776ca0 fix: fix editor type for VueRenderer, fix #281 2021-04-16 23:34:29 +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
a0e2a830d7 refactor: remove isEditable from node views, remove viewUpdate event 2021-04-07 22:07:36 +02:00
Philipp Kühn
177eed65a4 fix menus in vue 3 for now 2021-04-03 23:17:36 +02:00
Philipp Kühn
7c757415e9 fix adding decoration classes to node views in vue 2021-04-03 23:15:13 +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
d06f5c0c73 fix using registerPlugin and unregisterPlugin for vue-3 2021-03-31 12:11:55 +02:00
Philipp Kühn
2b0a0dad0f add bubble menu to vue-3 2021-03-31 11:52:36 +02:00
Philipp Kühn
60a3b0dfdd set props for composition api, see #236 2021-03-29 21:24:20 +02:00
Philipp Kühn
f0f6e79408 add nodeViewProps, fix #214 2021-03-17 21:43:45 +01:00
Philipp Kühn
7d52a3aad1 improve some types, fix #213 2021-03-17 21:21:57 +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
e765c8e981 refactoring 2021-03-15 09:00:44 +01:00
Philipp Kühn
109bff0892 refactoring 2021-03-14 18:00:50 +01:00
Philipp Kühn
2017b84578 fix some typescript bugs 2021-03-05 11:58:52 +01:00
Philipp Kühn
e9e3418a0f don’t use __vue__ 2021-03-05 11:01:26 +01:00
Philipp Kühn
aa3913cb06 refactoring 2021-03-05 10:20:17 +01:00
Philipp Kühn
983b56a5f2 add NodeViewWrapper and NodeViewContent to vue-2 2021-03-05 10:18:44 +01:00
Philipp Kühn
328d5a459d refactoring 2021-03-05 09:46:47 +01:00
Philipp Kühn
3bf900e7f6 add NodeViewWrapper and NodeViewContent component 2021-03-05 00:02:28 +01:00
Philipp Kühn
053a266a31 fix updating props, fix #181 2021-03-01 21:04:25 +01:00
Philipp Kühn
6d66571128 add useEditor 2021-02-28 23:47:34 +01:00
Philipp Kühn
4721fe451f refactoring 2021-02-28 00:02:51 +01:00
Philipp Kühn
015c47707a add vue-2 and vue-3 2021-02-27 23:56:08 +01:00