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.
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.
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
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.