medium-editor-insert-plugin icon indicating copy to clipboard operation
medium-editor-insert-plugin copied to clipboard

Parse on paste without iframely or other services

Open tradziej opened this issue 7 years ago • 1 comments

How to configure Medium Editor or Insert Plugin itself to handle parse on paste but without iframely?

Please look at my sample: https://jsfiddle.net/vxgjcyzx/ Parse on first paste doesn't work but if you paste again same URL it will parse first one.

It seems that paste event is handled before and then editor is populated with pasted URL. So $place (https://github.com/orthes/medium-editor-insert-plugin/blob/051f4ee/src/js/embeds.js#L440) is not available yet.

tradziej avatar May 17 '17 15:05 tradziej

Hi @tradziej Had you ever solved this issue. i just faced it. So if you have solution, please help me to do that?

thank you.

nghoangduongse avatar Apr 24 '20 11:04 nghoangduongse