Skip to content

🐛 [Bug]: 复制Word里面的图文内容到富文本中,图片和文字错位 #402

@kagol

Description

@kagol

Version

latest

Link to minimal reproduction

测试地址:https://opentiny.github.io/tiny-editor/docs/demo/basic-usage

  • 在Word中输入一些内容,并在文本内容中间插入几张图片
  • 然后Ctrl+A全选所有内容,Ctrl+V粘贴到TinyEditor富文本中

出现下面的情况:

  • 文本和图片错位
  • 多了几个image字样的文本
  • 粘贴之后的光标位置也不对
Image

预期表现应该和Word里一样:

Image

Step to reproduce

如上

What is expected

No response

What is actually happening

No response

What is your project name

Wiki

Any additional comments (optional)

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions