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.

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

报告相同问题?

悬赏问题

  • ¥20 怎么用dlib库的算法识别小麦病虫害
  • ¥15 华为ensp模拟器中S5700交换机在配置过程中老是反复重启
  • ¥15 java写代码遇到问题,求帮助
  • ¥15 uniapp uview http 如何实现统一的请求异常信息提示?
  • ¥15 有了解d3和topogram.js库的吗?有偿请教
  • ¥100 任意维数的K均值聚类
  • ¥15 stamps做sbas-insar,时序沉降图怎么画
  • ¥15 买了个传感器,根据商家发的代码和步骤使用但是代码报错了不会改,有没有人可以看看
  • ¥15 关于#Java#的问题,如何解决?
  • ¥15 加热介质是液体,换热器壳侧导热系数和总的导热系数怎么算