Skip to content

微信小程序中editor组件 设置id后真实id和设置id不一致 #5407

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

Open
WGLKing opened this issue Apr 24, 2025 · 5 comments
Open
Assignees

Comments

@WGLKing
Copy link

WGLKing commented Apr 24, 2025

发行方式

小程序

具体平台

微信小程序

开发环境

None

项目创建方式

None

依赖版本

Image

问题描述

<editor
class="px-2 text-black"
style="min-height: 315px"
id="editor"
:placeholder="placeholder"
https://github.com/ready="editorReady"
@input="handleEditorChange"

开发者工具中编译以后

Image

重现步骤

直接使用edit

期望行为

No response

实际行为

No response

截图或录屏

No response

@chouchouji
Copy link
Contributor

并没有复现这个问题,能提供一个复现demo吗?以便于更好的定位问题

Image

@WGLKing
Copy link
Author

WGLKing commented Apr 24, 2025

@chouchouji 这里是复现内容 应该是和组件有关

Image

Image

Image

@chouchouji
Copy link
Contributor

@chouchouji 这里是复现内容 应该是和组件有关

Image

Image

Image

可以发下这个demo吗?

@WGLKing
Copy link
Author

WGLKing commented Apr 24, 2025

@chouchouji 这里是复现内容 应该是和组件有关
Image
Image
Image

可以发下这个demo吗?
这个是压缩包
editor-demo.zip

@chouchouji
Copy link
Contributor

刚刚查了一下,编译产物是正确的,不会影响你使用 createSelectorQuery ,wxml那里应该是显示的有问题(我再查找一下相关文档,有结果再同步)

Image

@chouchouji chouchouji self-assigned this Apr 24, 2025
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