Skip to content

Latest commit

 

History

History
40 lines (26 loc) · 1005 Bytes

README.md

File metadata and controls

40 lines (26 loc) · 1005 Bytes

introduction

This project was developed to parse HTML tags into blocks of EditorJs in the form of API services

usage

1. install:

npm install

Image text

2. run:

npm start

Image text

3. test:

access the address that you defined:
like this:

http://127.0.0.1:8999/html2blocks

use http method of post

results:
  • Test by postman

Image text

  • Console info

Image text

html segment:

<p>aa</p>
<image src='https://avatars3.githubusercontent.com/u/22659021?s=460&u=6ea49640da101e742d997a8647150374955aa7d4&v=4'></image>
<p>bb</p>
<p>cc</p>