Commit afe8d920 by pangchong

refactor(editor): 合并并简化imports语句

- 将多行导入语句合并为单行,提升代码简洁度
- 优化了EditorPanel的functionals模块导入格式
- 保持了原有的类型和常量导入完整性
parent 4c7b7627
import { useEditorStore } from '@/store/editor' import { useEditorStore } from '@/store/editor'
import { useAppStore } from '@/store/app' import { useAppStore } from '@/store/app'
import type { XmlNode } from '@/types/xmlNode' import type { XmlNode } from '@/types/xmlNode'
import { import { CALS_TABLE_ALL_TAGS_SET, getNodeEstimatedHeight, getEditorBlocks, type EditorBlock, type BlockPosition } from '../constants'
CALS_TABLE_ALL_TAGS_SET,
getNodeEstimatedHeight,
getEditorBlocks,
type EditorBlock,
type BlockPosition
} from '../constants'
import { addNodeVisible, addNodeMode, addNodeTargetId, addNodeAllowedTags } from '../../NodeTree/functionals' import { addNodeVisible, addNodeMode, addNodeTargetId, addNodeAllowedTags } from '../../NodeTree/functionals'
const getRealNodeId = (id: string): string => { const getRealNodeId = (id: string): string => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment