-
-
Notifications
You must be signed in to change notification settings - Fork 529
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
文本控件内插入列表元素 #825
Labels
enhancement
New feature or request
Comments
控件内目前不支持插入列表元素 |
This is something I would use as well. Rather than break the control into multiple, have one single control and all elements inside it like text, checkbox, list, table. Also be able to have a different border or background color for the control that looks like a section of the document. |
你好:
我这边的应用场景其实是管理员维护好报告的模板,页头、页尾、主要内容的格式。
在用户具体使用时,将用户的信息加载进去,同时,用户进行编辑,完成后,需要从中取出用户编辑的一些指定信息同步给第三方。
如涉及到如:
1、模板中设置二维码,相应于占位,根据用户具体信息,将二维码进行替换
2、动态参数表格,先设定一个参数表格,相当于占位,用户使用时,根据用户当前的类型,加载动态的参数表N行、M列,然后用户进行修改
3、获取用户的指定字段富文本内容,同步给第三方
4、从用户中心或是签名应用中,同步用户的签名图片替换相应的占位图片
5、通过模板设置哪些元素不允许删除。不允许在模板外的区域添加内容等
这是一些基本应用。
根据提供的API,我这边现在是修改了部分源码,如二维码设定标识,在用户加载时,将模板中的内容解析替换的方式。很多时候只能获取value解析,然后替换内容区域,再进行重新加载进行处理。我尝试获取id,根据id替换id替换,未重新渲染。
非常感谢你的回复,我一直在看源码,看如何更方便的满足应用的需求。
孟庆德
***@***.***
…------------------ 原始邮件 ------------------
发件人: "Hufe921/canvas-editor" ***@***.***>;
发送时间: 2024年10月2日(星期三) 晚上9:44
***@***.***>;
***@***.******@***.***>;
主题: Re: [Hufe921/canvas-editor] 文本控件内插入列表元素 (Issue #825)
Something like this if control could support other elements inside and some extra styling
image.png (view on web)
With this. we could get text only from history or diagnosis on frontend or backend, without need to render the canvas for that
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
version
0.9.93
Link to minimal reproduction
No response
Steps to reproduce
添加表格
添加文本控件
设置列表
What is expected?
可以正常显示到文本控件内,且获取控件值是正常的。
What is actually happening?
Editor Value
No response
System Info
No response
Any additional comments?
No response
The text was updated successfully, but these errors were encountered: