Skip to content
This repository has been archived by the owner on Sep 11, 2020. It is now read-only.

Parse on paste without iframely or other services #424

Open
tradziej opened this issue May 17, 2017 · 1 comment
Open

Parse on paste without iframely or other services #424

tradziej opened this issue May 17, 2017 · 1 comment

Comments

@tradziej
Copy link

tradziej commented May 17, 2017

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.

@nghoangduongse
Copy link

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants