[WEB-436] chore: added h4 to h6 heading options (#4304)
* chore: added h4 to h6 heading options * fix: build errors
This commit is contained in:
parent
49a6c9582c
commit
84fd1dca4b
11 changed files with 227 additions and 69 deletions
|
|
@ -67,11 +67,13 @@ export default function BlockMenu(props: BlockMenuProps) {
|
|||
popup.current?.hide();
|
||||
};
|
||||
document.addEventListener("click", handleClickDragHandle);
|
||||
document.addEventListener("contextmenu", handleClickDragHandle);
|
||||
document.addEventListener("keydown", handleKeyDown);
|
||||
document.addEventListener("scroll", handleScroll, true); // Using capture phase
|
||||
|
||||
return () => {
|
||||
document.removeEventListener("click", handleClickDragHandle);
|
||||
document.removeEventListener("contextmenu", handleClickDragHandle);
|
||||
document.removeEventListener("keydown", handleKeyDown);
|
||||
document.removeEventListener("scroll", handleScroll, true);
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue