用ajax怎么把带有图片的summernote编辑器里的内容保存到数据库

WBOY
Release: 2016-06-06 20:25:41
Original
2120 people have browsed it

summernonte会把图片变成base64格式的数据保存到数据库,所以有的内容我根本存不进去,怎么解决,求教

回复内容:

summernonte会把图片变成base64格式的数据保存到数据库,所以有的内容我根本存不进去,怎么解决,求教

decode base64一下就可以正常保存了,哦对了,注意分析后缀名格式

你好,我也在遇到summernote这个插件的问题,请问可以解答一下图片的上传功能吗?

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!