Skip to content Skip to sidebar Skip to footer

Paste Image Into Tinymce Editor

I am looking at ways to Paste an Image into TinyMCE editor, I have been googling it for a while, but couldn't find any related answer. I can append an with src content

Solution 1:

Enable paste_data_images

Setting paste_data_images to "true" will allow the pasted images, while setting it to "false" will disallow pasted images.

Solution 2:

You can't do that. TinyMCE and any other editor out there are giving you the functionality of creating rich text content. Displaying an image requires an URL and there is no URL to the image on your machine.

You need to upload the image to a server. You need to be able to access that image through a link. That link is what you insert into TinyMCE.

Post a Comment for "Paste Image Into Tinymce Editor"