【问题标题】:React CkEDITOR Image upload to django backendReact CkEDITOR 图像上传到 django 后端
【发布时间】:2021-08-21 04:54:05
【问题描述】:

我使用 React 作为前端,使用 DRF 作为 API,使用 Django 作为后端。我在 React 中有一个 ckeditor,想从 ckeditor 上传一张图片。我怎样才能做到这一点

【问题讨论】:

    标签: reactjs django django-rest-framework ckeditor ckeditor5


    【解决方案1】:

    你应该为你的组件创建上传适配器,CKEditor已经很好地解释了它的功能,看看herehere

    另外,您可以使用this package 来处理此功能

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2019-07-16
      • 2020-06-07
      • 2013-06-05
      • 1970-01-01
      • 2021-07-30
      • 2018-03-28
      • 1970-01-01
      相关资源
      最近更新 更多