Welcome toVigges Developer Community-Open, Learning,Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
682 views
in Technique[技术] by (71.8m points)

tinymce富文本在Chrome里面复制粘贴图片

对于图片的复制粘贴无法实现将图片粘贴到富文本框内(拖拽可以进入,但是不符合需求),可有实现方案?


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

paste_data_images配置项

{
    paste_data_images: true,
    images_upload_handler: () => {
        // 图片上传正常逻辑
    }
}

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to Vigges Developer Community for programmer and developer-Open, Learning and Share
...