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

demo中可以解析的html,在自己项目中无法解析 #6000

Open
wjy012 opened this issue Nov 11, 2024 · 3 comments
Open

demo中可以解析的html,在自己项目中无法解析 #6000

wjy012 opened this issue Nov 11, 2024 · 3 comments

Comments

@wjy012
Copy link

wjy012 commented Nov 11, 2024

问题描述

demo中:
image
自己项目中:
image
项目代码:
image
dangerouslyInsertHtml试过也不行

wangEditor 版本

1.0.2

是否查阅了文档 ?

(文档链接 www.wangeditor.com

最小成本的复现步骤

(请告诉我们,如何最快的复现该问题?)

  • 步骤一
  • 步骤二
  • 步骤三
@cycleccc
Copy link

#5957,或是试试wangeditor-next

@a514117923
Copy link

#5957,或是试试wangeditor-next

您好,请问wangEditor-next是怎么解决html粘贴序号的问题的哈?

问题:
复制了带序号的文本,粘贴之后 会无限往下加,但已经中断序号了,而且加粗失效了。

复现文版:
【有序列表】
关于您所遇到完整 A1 同以下步骤:

操作打印机;
完成以上步骤后,重启打印机失。

若完整执行以您查看分析。

HTML:(可以复制这一段去sethtml查看)

【有序列表】
关于您所遇到完整 A1 同以下步骤:
  1. 操作打印机;
  2. 完成以上步骤后,重启打印机失。
若完整执行以您查看分析。

如图:

但是复制到wangeditor则为:

@cycleccc
Copy link

@a514117923
image
用 markdown 语法包一下 html 字符串,不然 github 自己就解析了,看不到你发的原来的 html 字符串

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

3 participants