在编辑内容时自动关闭工具窗口,避免遮挡操作区域
@@ -396,6 +396,7 @@ const editContent = (toolType: number) => {
const elements = currentSlide.value?.elements || []
const frameElement = elements.find((el: any) => el.type === 'frame' && (el.toolType === 45 || el.toolType === 15))
parentWindow?.toolBtn2?.(0, frameElement?.id || '', toolType)
+ toolVisible.value = false
})
}