pictode icon indicating copy to clipboard operation
pictode copied to clipboard

[BUG]文本聚焦样式和失焦态样式不统一

Open renshengyiyijihe opened this issue 1 year ago • 0 comments

Bug Report / 缺陷报告

截图 / Screenshots

https://github.com/user-attachments/assets/87bdf9db-2cf9-4718-b171-55b26090df11

附加上下文 / Additional context 在createTextarea中,html标签的样式并没有从传入的config里面拿,这在我们对于交互要求很严格的情况下,是不能接受的。由于konva接受的fontStyle相当于html标签的fontweight,目前我是通过pnpm给这个tool库打patch解决的。但是这种方案以后还会遇到其他样式可能不统一的问题。 我想请教1.为什么输入时要用textarea来代替。2.在用textarea情况下,应有一套konva style -> html style的映射表,统一两种情况下样式。 20240929-143929

renshengyiyijihe avatar Sep 29 '24 06:09 renshengyiyijihe