Skip to content

[Bug Report] 配置参数 id 层级错误 #1650

@foxfire881

Description

@foxfire881

Prerequisites

Version

0.10.3

Reproduction Link

No response

Describe the Bug

根据文档描述,如果要把编辑器绑定到 textarea,需要设置 cherry_config.editor.id 参数为 textarea 的 id —— 实测无效,设置后并没有绑定到textarea,编辑器位置还是占据在最下方。

实测应该是要把 cherry_config.id 的值设置成 textarea 的 id 才能完成绑定。

System Information

Vue环境

<el-form-item label="内容" prop="content">
   <div id="cherry-editor"></div>
</el-form-item>

Contributing

None

Metadata

Metadata

Assignees

No one assigned

    Labels

    pending-no-confirmedThe direction of this issue has not yet been determined.🐞bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions