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
b84a56a84a
fix: improve isActive check for floating menu when using custom doc content, fix #1205
2021-04-23 23:01:53 +02:00
Philipp Kühn
89b72b8608
refactoring: rename posToClientRect to posToDOMRect
2021-04-16 14:44:10 +02:00
Philipp Kühn
9a56f666a1
feat: add tippyOptions prop
2021-04-16 12:42:56 +02:00
Philipp Kühn
398fc7f210
fix: fix tippy for react
2021-04-16 11:34:37 +02:00
Philipp Kühn
3b5746a34c
enable hideOnClick again
2021-04-16 11:14:30 +02:00
Philipp Kühn
54df2ce077
feat: use tippy for floating menu
2021-04-16 11:12:03 +02:00
Philipp Kühn
e25e1ddd27
update menus on resize
2021-04-01 16:22:02 +02:00
Philipp Kühn
c55ebc7ea6
improve default node detection for floating menu
2021-04-01 15:33:37 +02:00
Philipp Kühn
007e6f855b
add basic floating menu
2021-04-01 15:19:31 +02:00