mirror of
https://github.com/Tencent/tmagic-editor.git
synced 2025-04-05 07:27:09 +08:00
2 lines
7.8 KiB
JavaScript
2 lines
7.8 KiB
JavaScript
import{aw as a,y as r,z as t,b0 as o}from"./chunks/framework.BCBheFgR.js";const b=JSON.parse('{"title":"Editor组件 slots","description":"","frontmatter":{},"headers":[],"relativePath":"api/editor/slots.md","filePath":"api/editor/slots.md"}'),l={name:"api/editor/slots.md"};function s(i,e,n,c,p,d){return t(),r("div",null,e[0]||(e[0]=[o('<h1 id="editor组件-slots" tabindex="-1">Editor组件 slots <a class="header-anchor" href="#editor组件-slots" aria-label="Permalink to "Editor组件 slots""></a></h1><h2 id="nav" tabindex="-1">nav <a class="header-anchor" href="#nav" aria-label="Permalink to "nav""></a></h2><ul><li><p><strong>详情:</strong> 编辑器顶部菜单栏</p></li><li><p><strong>默认:</strong> <a href="https://github.com/Tencent/tmagic-editor/blob/239b5d3efeae916a8cf3e3566d88063ecccc0553/packages/editor/src/layouts/NavMenu.vue" target="_blank" rel="noreferrer">NavMenu.vue</a></p></li></ul><div class="warning custom-block"><p class="custom-block-title">WARNING</p><p>属性配置<a href="./props.html#menu">menu</a>由默认组件接收,如设置该slot,<a href="./props.html#menu">menu</a>配置将失效</p></div><h2 id="sidebar" tabindex="-1">sidebar <a class="header-anchor" href="#sidebar" aria-label="Permalink to "sidebar""></a></h2><ul><li><p><strong>详情:</strong> 左边栏</p></li><li><p><strong>默认:</strong> <a href="https://github.com/Tencent/tmagic-editor/blob/239b5d3efeae916a8cf3e3566d88063ecccc0553/packages/editor/src/layouts/sidebar/Sidebar.vue" target="_blank" rel="noreferrer">Sidebar.vue</a></p></li></ul><div class="warning custom-block"><p class="custom-block-title">WARNING</p><p>属性配置<a href="./props.html#sidebar">sidebar</a>由默认组件接收,如设置该slot,<a href="./props.html#sidebar">sidebar</a>配置将失效</p></div><h2 id="component-list-panel-header" tabindex="-1">component-list-panel-header <a class="header-anchor" href="#component-list-panel-header" aria-label="Permalink to "component-list-panel-header""></a></h2><ul><li><strong>详情:</strong> 左边栏中的组件列表内上方位置</li></ul><div class="warning custom-block"><p class="custom-block-title">WARNING</p><p>如设置了<a href="#sidebar">sidebar</a>插槽,此插槽将失效</p></div><h2 id="component-list-item" tabindex="-1">component-list-item <a class="header-anchor" href="#component-list-item" aria-label="Permalink to "component-list-item""></a></h2><ul><li><p><strong>详情:</strong> 左边栏中的组件列表中组件item</p></li><li><p><strong>默认:</strong> 图片加文案</p></li></ul><div class="warning custom-block"><p class="custom-block-title">WARNING</p><p>如设置了<a href="#sidebar">sidebar</a>插槽,此插槽将失效</p></div><h2 id="layer-panel-header" tabindex="-1">layer-panel-header <a class="header-anchor" href="#layer-panel-header" aria-label="Permalink to "layer-panel-header""></a></h2><ul><li><strong>详情:</strong> 左边栏中的已选组件(组件树)内顶部位置</li></ul><div class="warning custom-block"><p class="custom-block-title">WARNING</p><p>如设置了<a href="#sidebar">sidebar</a>插槽,此插槽将失效</p></div><h2 id="layer-node-content" tabindex="-1">layer-node-content <a class="header-anchor" href="#layer-node-content" aria-label="Permalink to "layer-node-content""></a></h2><ul><li><p><strong>详情:</strong> 左边栏中的已选组件(组件树)节点</p></li><li><p><strong>默认:</strong> 组件名称加id</p></li></ul><div class="warning custom-block"><p class="custom-block-title">WARNING</p><p>如设置了<a href="#sidebar">sidebar</a>插槽,此插槽将失效</p></div><h2 id="code-block-panel-header" tabindex="-1">code-block-panel-header <a class="header-anchor" href="#code-block-panel-header" aria-label="Permalink to "code-block-panel-header""></a></h2><ul><li><strong>详情:</strong> 左边栏中的代码块列表内顶部位置</li></ul><div class="warning custom-block"><p class="custom-block-title">WARNING</p><p>如设置了<a href="#sidebar">sidebar</a>插槽,此插槽将失效</p></div><h2 id="code-block-panel-tool" tabindex="-1">code-block-panel-tool <a class="header-anchor" href="#code-block-panel-tool" aria-label="Permalink to "code-block-panel-tool""></a></h2><ul><li><strong>详情:</strong> 左边栏中的代码块列表中代码块右侧位置</li></ul><div class="warning custom-block"><p class="custom-block-title">WARNING</p><p>如设置了<a href="#sidebar">sidebar</a>插槽,此插槽将失效</p></div><h2 id="code-block-edit-panel-header" tabindex="-1">code-block-edit-panel-header <a class="header-anchor" href="#code-block-edit-panel-header" aria-label="Permalink to "code-block-edit-panel-header""></a></h2><ul><li><strong>详情:</strong> 代码块弹窗编辑器中弹窗顶部区域</li></ul><div class="warning custom-block"><p class="custom-block-title">WARNING</p><p>如设置了<a href="#sidebar">sidebar</a>插槽,此插槽将失效</p></div><h2 id="workspace" tabindex="-1">workspace <a class="header-anchor" href="#workspace" aria-label="Permalink to "workspace""></a></h2><ul><li><p><strong>详情:</strong> 编辑器中间区域</p></li><li><p><strong>默认:</strong> <a href="https://github.com/Tencent/tmagic-editor/blob/239b5d3efeae916a8cf3e3566d88063ecccc0553/packages/editor/src/layouts/workspace/Workspace.vue" target="_blank" rel="noreferrer">Workspace.vue</a></p></li></ul><h2 id="stage" tabindex="-1">stage <a class="header-anchor" href="#stage" aria-label="Permalink to "stage""></a></h2><ul><li><p><strong>详情:</strong> 画布</p></li><li><p><strong>默认:</strong> <a href="https://github.com/Tencent/tmagic-editor/blob/239b5d3efeae916a8cf3e3566d88063ecccc0553/packages/editor/src/layouts/workspace/Stage.vue" target="_blank" rel="noreferrer">Stage.vue</a></p></li></ul><h2 id="workspace-content" tabindex="-1">workspace-content <a class="header-anchor" href="#workspace-content" aria-label="Permalink to "workspace-content""></a></h2><ul><li><strong>详情:</strong> 编辑器中间区域内</li></ul><h2 id="page-bar-title" tabindex="-1">page-bar-title <a class="header-anchor" href="#page-bar-title" aria-label="Permalink to "page-bar-title""></a></h2><ul><li><strong>详情:</strong> 编辑器中间区域底部页面标题</li></ul><h2 id="page-bar-popover" tabindex="-1">page-bar-popover <a class="header-anchor" href="#page-bar-popover" aria-label="Permalink to "page-bar-popover""></a></h2><ul><li><strong>详情:</strong> 编辑器中间区域底部页面标题悬浮框</li></ul><h2 id="props-panel" tabindex="-1">props-panel <a class="header-anchor" href="#props-panel" aria-label="Permalink to "props-panel""></a></h2><ul><li><p><strong>详情:</strong> 编辑器右侧属性配置</p></li><li><p><strong>默认:</strong> <a href="https://github.com/Tencent/tmagic-editor/blob/239b5d3efeae916a8cf3e3566d88063ecccc0553/packages/editor/src/layouts/PropsPanel.vue" target="_blank" rel="noreferrer">PropsPanel.vue</a></p></li></ul><h2 id="props-panel-header" tabindex="-1">props-panel-header <a class="header-anchor" href="#props-panel-header" aria-label="Permalink to "props-panel-header""></a></h2><ul><li><strong>详情:</strong> 编辑器右侧属性配置内顶部区域</li></ul><h2 id="empty" tabindex="-1">empty <a class="header-anchor" href="#empty" aria-label="Permalink to "empty""></a></h2><ul><li><p><strong>详情:</strong> 当前没有页面时,编辑器中间区域</p></li><li><p><strong>默认:</strong> <a href="https://github.com/Tencent/tmagic-editor/blob/239b5d3efeae916a8cf3e3566d88063ecccc0553/packages/editor/src/layouts/AddPageBox.vue" target="_blank" rel="noreferrer">AddPageBox.vue</a></p></li></ul>',44)]))}const u=a(l,[["render",s]]);export{b as __pageData,u as default};
|