mirror of
https://github.com/Tencent/tmagic-editor.git
synced 2025-04-06 03:57:56 +08:00
fix(editor): 代码块节点slot参数丢失
This commit is contained in:
parent
ce6d2684b7
commit
23bee0b3ae
@ -10,12 +10,11 @@
|
||||
</slot>
|
||||
|
||||
<!-- 代码块列表 -->
|
||||
<CodeBlockList
|
||||
ref="codeBlockList"
|
||||
:custom-error="customError"
|
||||
@edit="editCode"
|
||||
@remove="deleteCode"
|
||||
></CodeBlockList>
|
||||
<CodeBlockList ref="codeBlockList" :custom-error="customError" @edit="editCode" @remove="deleteCode">
|
||||
<template #code-block-panel-tool="{ id, data }">
|
||||
<slot name="code-block-panel-tool" :id="id" :data="data"></slot>
|
||||
</template>
|
||||
</CodeBlockList>
|
||||
|
||||
<!-- 代码块编辑区 -->
|
||||
<CodeBlockEditor
|
||||
|
Loading…
x
Reference in New Issue
Block a user