search

Home  >  Q&A  >  body text

Integrating lightweight rich text editor into app?

You only need to be able to insert pictures and text, there is no need to adjust the text style. Are there any recommended editors?

Thanks.

给我你的怀抱给我你的怀抱2750 days ago730

reply all(2)I'll reply

  • 大家讲道理

    大家讲道理2017-05-16 13:25:23

    If you use the web form, why not implement it yourself?

    • Directly use a p as the editor editing area and turn on contenteditable="true", thus realizing text input.

    • To insert a picture, you can make a button, click it and a pop-up will appear to select the file to upload. After the upload is completed, use the image address obtained after uploading to splice it into an img tag, set it contenteditable="false", and insert it into the editing area.

    Isn’t this function completed?

    For editor, Baidu’s ueditor http://ueditor.baidu.com/website/


    If implemented natively, this function should also be possible using the calling system, Baidu or Google.

    Ready-made:
    richeditor-android

    reply
    0
  • 某草草

    某草草2017-05-16 13:25:23

    Implement a markdown editor by yourself (actually not difficult), this can be easily implemented on both Android and iOS. If you want to save trouble, you can also find a 3rd library that corresponds to the platform.

    reply
    0
  • Cancelreply