douzi8127 2017-12-06 18:46
浏览 30
已采纳

允许用户使用图像和文本编写动态博客页面

I am trying to build a blog page, that the users enter text and drag images anywhere on the blog/page, and then they could save it.

I need it to look something like:

enter image description here

Do you know how to make something like that? I tried to look over the web, and could't find how to make it, neither open source project.

thx (:

  • 写回答

1条回答 默认 最新

  • dongzhang8475 2017-12-06 18:51
    关注

    If the drag & drop part is not mandatory I would use a WYSIWYG editor to let the user write the contents they want and include images. Well, in your case maybe 2 editors, one for the subject and another one for the content.

    In google you can find lots of them like https://www.froala.com/wysiwyg-editor and https://www.tinymce.com/

    In some of them (like the tinymce one) you can choose which options you let the user use from all the options they provide. I used it some years ago in a platform to create and send bunch of emails to subscribed users. And the email contents were created in a similar way at what you have just described.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥100 set_link_state
  • ¥15 虚幻5 UE美术毛发渲染
  • ¥15 CVRP 图论 物流运输优化
  • ¥15 Tableau online 嵌入ppt失败
  • ¥100 支付宝网页转账系统不识别账号
  • ¥15 基于单片机的靶位控制系统
  • ¥15 真我手机蓝牙传输进度消息被关闭了,怎么打开?(关键词-消息通知)
  • ¥15 装 pytorch 的时候出了好多问题,遇到这种情况怎么处理?
  • ¥20 IOS游览器某宝手机网页版自动立即购买JavaScript脚本
  • ¥15 手机接入宽带网线,如何释放宽带全部速度