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 <img>
with src content to the Editor(when i paste the image on the page other than inside the editor).
I am not able to paste it inside the Editor. I am using Javascript and jquery. Has anyone got an idea, how i could do this.
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. There actually is a URL you can get with modern browsers.
TinyMCE is a free WYSIWYG HTML editor. And it's one of those small, helpful components (consider how many websites rely on text entry) that you can't do without. It's the WYSIWYG editor of choice for the world's leading product teams.
WordPress is bundled with the open source HTML WYSIWYG editor TinyMCE by Moxiecode Systems, AB.
Enable paste_data_images
Setting paste_data_images to "true" will allow the pasted images, while setting it to "false" will disallow pasted images.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With