On the Web side, how to achieve "rich text" replication like Youdao cloud notes and evernote?

our company wants to develop a new feature, which is kind of like note-taking.
allows users to copy content from a web page and paste it into an editor that retains the original text styles, images, and so on. Just like Youdao cloud notes and Evernote, how can this be realized?

are there any good open source projects available?

Thank you

Mar.21,2022

read the information of the target page and parse the style to the style of each node


add the contenteditable attribute to the div, paste the web content into the div and automatically bring the complete tag element.
Open source projects can try quill-editor .
other rich text editors based on the contenteditable attribute also apply.

Menu