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.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b40b2a-ea84.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b40b2a-ea84.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?