ikuaitu / vue-fabric-editor

快图设计-基于fabric.js和Vue的开源图片编辑器,可自定义字体、素材、设计模板。fabric.js and Vue based image editor, can customize fonts, materials, design templates.
https://ikuaitu.github.io/doc/#/
MIT License
4.87k stars 913 forks source link

将两个不同大小的文本框内的文字互相复制粘贴会伴有原来的文字字体大小,会带有格式,选中文本框修改样式,粘贴过来的文本样式不随着设置改变 #331

Open IGSWL opened 5 months ago

IGSWL commented 5 months ago

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Smartphone (please complete the following information):

Additional context Add any other context about the problem here.

nihaojob commented 5 months ago

这个逻辑是fabric的内部逻辑,在粘贴文字时,会将历史的样式带过来