-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
自定义vue节点,使用el-input组件, type为textarea,导出图片时,textarea的内容没有导出,显示为空 #4363
Comments
Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. |
楼主,这个问题解决了吗?我也遇到了 |
没有,没人响应。。。。 |
如果只是想导出图片的话,就使用html-to-image吧 |
不知道是不是没有样式的问题,我使用的
|
问题描述
自定义vue节点,使用el-input组件, type为textarea,到处图片时,textarea的内容没有导出,显示为空,有一个issue,说的是input标签,内容显示为空,没有设置value属性,已经尝试设置了value属性,导出还是显示未空。
重现链接
见代码
重现步骤
使用toPng()进行图片导出
预期行为
自定义vue节点,使用el-input组件, type为textarea,导出图片时,textarea的内容需要显示
平台
屏幕截图或视频(可选)
画布显示:
导出显示:
补充说明(可选)
自定义Node组件:
<ElInput class="input-text" v-model="text" type="textarea" @blur="blur" resize="none" maxlength="255"
:show-word-limit="true" />
The text was updated successfully, but these errors were encountered: