editor-js / editor-js/image

Copying Images from Word or Google Doc

Open
#240 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
TypeScript
Stars
285
Forks
307
PR merge metrics
No merged PRs in 30d

Description

I am trying to copy content (text + images) from a google doc and google chrome.

I am using editorjs v2.28.2 and image tool v2.9.0

I implemented image file and image url upload. Uploading files by pasting a URL or dragging and dropping a file works.

Copying an image from MS World works. However copying multiple images or a text with an image result in only copying the text.
Copying an image from Google Doc does not work, and copying a text with images results in only copying the text.

From digging deeper, here's a dump ofmy clipboard after copying an image from a google doc, (I tweaked the img url here for privacy concerns):

```
Version:0.9
StartHTML:0000000105
EndHTML:0000000904
StartFragment:0000000141
EndFragment:0000000868







```

This does not trigger any onPaste Event.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.