jpuri / react-draft-wysiwyg

A Wysiwyg editor build on top of ReactJS and DraftJS. https://jpuri.github.io/react-draft-wysiwyg
MIT License
6.42k stars 1.16k forks source link

can't copy image #470

Open TheRobertOne opened 7 years ago

TheRobertOne commented 7 years ago

#444 version: 1.10.12 question: I test in storybook, can't copy image from Microsoft Word also.

belief-cyf commented 7 years ago

yes! i want to paste img to edit box, react-draft-wysiwyg can support this?

jpuri commented 7 years ago

This looks like regression issue, I will soon check.

alexWang007 commented 7 years ago

copy img from website also see the error~i'm not sure is the same question。

belief-cyf commented 7 years ago

@alexWang007 you can find file from windows clipboard then post image i just do this. but maybe is not a good idea, This is just a temporary solution for me.

nelsoneldoro commented 5 years ago

for me at Linux return false worked

handlePaste = () => {
    return false;
};

But it does not work on mac btw

nelsoneldoro commented 5 years ago

This has worked https://github.com/jpuri/react-draft-wysiwyg/issues/498#issuecomment-461793404