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

预览页面渲染错误 #1475

Merged
merged 2 commits into from
Sep 25, 2023
Merged

Conversation

Zuoqiu-Yingyi
Copy link
Contributor

当前设置了 options.preview.actions 的预览页面的 preview.element.lastElementChild 指向了 vditor-preview__action 元素导致无法正常渲染, 现更改为使用 preview.previeElement 访问渲染内容容器

@Zuoqiu-Yingyi Zuoqiu-Yingyi changed the base branch from master to dev September 24, 2023 17:07
@Vanessa219 Vanessa219 merged commit 7357ffb into Vanessa219:dev Sep 25, 2023
@Vanessa219 Vanessa219 changed the title Fix the issue of confusing preview element and actions element 预览页面渲染错误 Sep 25, 2023
@Vanessa219 Vanessa219 self-requested a review September 25, 2023 13:37
@Vanessa219 Vanessa219 added this to the 3.9 milestone Sep 25, 2023
@Vanessa219 Vanessa219 self-assigned this Sep 25, 2023
@Zuoqiu-Yingyi Zuoqiu-Yingyi deleted the fix/preview-element branch September 25, 2023 14:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants