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

所见即所得模式下,insertValue渲染*和~的时候似乎不是很正确 #218

Closed
csfwff opened this issue Mar 11, 2020 · 1 comment
Assignees
Milestone

Comments

@csfwff
Copy link

csfwff commented Mar 11, 2020

键盘输入**测试后,使用insertValue('*',true)后,测试没有变成斜体,而是生成了无序列表,但是如果全部用键盘输入就没有问题,~同理,没有生成删除线

@Vanessa219
Copy link
Owner

Vanessa219 commented Mar 11, 2020

insertValue 方法仅修改了需要插入的内容,没有联系上下文,因此导致单独的 * 即转为列表。
这可能需要修改一下

@Vanessa219 Vanessa219 self-assigned this Mar 11, 2020
@Vanessa219 Vanessa219 added this to the 2.3 milestone Mar 11, 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
Projects
None yet
Development

No branches or pull requests

2 participants