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

adding image to the medium Editor

Open rameezmeans opened this issue 5 years ago • 0 comments

i want to add an image by clicking on the image in DOM on same page. there is images in some other div and i implemented on click and called insert image function like this.

        .on('click', '.pexels-images .row .pexel-image', $.proxy(this, 'insertImage'));

but image is not inserted by insertImage function. should i initialise the editor before adding image or what is the problem?

rameezmeans avatar May 16 '20 16:05 rameezmeans