|
|
@ -319,7 +319,9 @@ export const textWysiwyg = ({
|
|
|
|
|
|
|
|
|
|
|
|
// prevent blur when changing properties from the menu
|
|
|
|
// prevent blur when changing properties from the menu
|
|
|
|
const onPointerDown = (event: MouseEvent) => {
|
|
|
|
const onPointerDown = (event: MouseEvent) => {
|
|
|
|
if (
|
|
|
|
if (event.target instanceof HTMLSelectElement) {
|
|
|
|
|
|
|
|
handleSubmit();
|
|
|
|
|
|
|
|
} else if (
|
|
|
|
(event.target instanceof HTMLElement ||
|
|
|
|
(event.target instanceof HTMLElement ||
|
|
|
|
event.target instanceof SVGElement) &&
|
|
|
|
event.target instanceof SVGElement) &&
|
|
|
|
event.target.closest(`.${CLASSES.SHAPE_ACTIONS_MENU}`) &&
|
|
|
|
event.target.closest(`.${CLASSES.SHAPE_ACTIONS_MENU}`) &&
|
|
|
|