TinyMCE "paste button" 不工作
TinyMCE "paste button" does not work
我关于 TinyMCE 编辑器的问题。
在 IE 浏览器中它工作正常。但是当我在 FF & Chrome 中粘贴内容时,我收到了消息:"Your browser doesn't support direct access to the clipboard. Please use the Ctrl+X/C/V keyboard shortcuts instead."
我还没有找到任何文档来解决这个问题!
我需要帮助,谢谢!
我来晚了一点,但我遇到了同样的问题。我做了一些挖掘,这个配置对我有用。
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
});
至少,你需要的是:
tinyMCE.init({
selector: "textarea",
plugins: "image,paste",
paste_data_images: true
});
这对我有用,使用 cdn 托管版本 ( cdn.tinymce.com/4/tinymce.min.js )
希望这对某人有所帮助!
我关于 TinyMCE 编辑器的问题。 在 IE 浏览器中它工作正常。但是当我在 FF & Chrome 中粘贴内容时,我收到了消息:"Your browser doesn't support direct access to the clipboard. Please use the Ctrl+X/C/V keyboard shortcuts instead." 我还没有找到任何文档来解决这个问题! 我需要帮助,谢谢!
我来晚了一点,但我遇到了同样的问题。我做了一些挖掘,这个配置对我有用。
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
});
至少,你需要的是:
tinyMCE.init({
selector: "textarea",
plugins: "image,paste",
paste_data_images: true
});
这对我有用,使用 cdn 托管版本 ( cdn.tinymce.com/4/tinymce.min.js )
希望这对某人有所帮助!