I'm a little late for this, but I have the same problem. I did something and this configuration worked for me.
tinyMCE.init({
selector: "textarea",
language: editorLanguage,
plugins: [
"autolink lists link image anchor",
"searchreplace visualblocks",
"insertdatetime media contextmenu paste"
],
menu: {
edit: { title: 'Edit', items: 'undo redo | cut copy paste | selectall' },
insert: { title: 'Insert', items: 'link image' },
view: { title: 'View', items: 'visualaid' },
format: { title: 'Format', items: 'bold italic underline strikethrough superscript subscript | formats | removeformat' }
},
convert_urls: false,
paste_data_images: true
});
At a minimum, all you need is:
tinyMCE.init({
selector: "textarea",
plugins: "image,paste",
paste_data_images: true
});
This works for me using the version hosted on cdn (cdn.tinymce.com/4/tinymce.min.js)
Hope this helps someone!
source
share