-
-
Notifications
You must be signed in to change notification settings - Fork 894
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
设置 codeBlockPreview false, esc 后代码块消失 #267
Comments
代码块需要先输入
Markdown 语法不熟悉的话,可以使用工具栏。直接输入 |
@Vanessa219 我npm装的3.0.8,即时渲染模式没有问题;但使用所见即所得模式时,不管 比如我实际输入的是
但编辑器给我的结果是 alert(1);
|
这是我使用的配置
|
要不你在 demo/static.html 这个上面试一下,我这里还是不能重现。 |
@Vanessa219 我用 后面我用
|
Vanessa219
changed the title
VditorCodeBlockPreview导致代码显示异常
设置 codeBlockPreview false, esc 后代码块消失
Apr 3, 2020
stevapple
pushed a commit
to stevapple/vditor
that referenced
this issue
Apr 8, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
编辑模式
请选择你遇到问题时使用的编辑模式:
所见即所得模式
即时渲染模式
分屏编辑预览模式
描述问题
新加的
VditorCodeBlockPreview
应该还是有问题的,我自己npm装的3.0.8和官方demohttps://hacpai.com/guide/markdown
出现了不同的错误当所见即所得模式
复现步骤
所见即所得模式,直接手动敲入以下代码(别复制粘贴),显示就会出现异常;然后再切换到分屏模式,生成的md文本也是错误的
期待的结果
VditorCodeBlockPreview
能正常使用The text was updated successfully, but these errors were encountered: