Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

如何使用源码、默认空字符串功能 #5841

Open
zuihou opened this issue Apr 19, 2024 · 1 comment
Open

如何使用源码、默认空字符串功能 #5841

zuihou opened this issue Apr 19, 2024 · 1 comment

Comments

@zuihou
Copy link

zuihou commented Apr 19, 2024

问题描述

  1. 工具栏如何添加 源码 按钮?
  2. 如何默认值为空字符串,而非 <p><br></p>

wangEditor 版本

    "@wangeditor/editor": "^5.1.23",
    "@wangeditor/editor-for-vue": "^5.1.12",

是否查阅了文档 ?

(文档链接 www.wangeditor.com

@cycleccc
Copy link

cycleccc commented Apr 19, 2024

  1. 文档里有自定义扩展工具栏的教程
  2. 默认值为 <p><br></p> 是基于slate的格式要求,你可以在自己的应用层做字符判断处理。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants