Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom image handler #6

Open
corey6988 opened this issue Feb 8, 2023 · 0 comments
Open

Custom image handler #6

corey6988 opened this issue Feb 8, 2023 · 0 comments

Comments

@corey6988
Copy link

When I use imageHandler, becauce when i upload big image editor frozen, then i can't paste url of image from server. Is there method to get reference od quillEditor something like this

var quillObj = quillRef.current.getEditor();
const range = quillObj.getEditorSelection();
quillObj.getEditor().insertEmbed(range.index, 'image', 'urlImage');

I think there is miss methods getEditorSelection and insertEmbed

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

No branches or pull requests

1 participant