The paste configuration here can currently only be used to configure the pasting of html content, that is, to process the content copied from the web page.
new LinwitDocEditor({
element: "#aiEditor",
htmlPasteConfig: {
pasteAsText: false,
pasteClean: false,
clearLineBreaks: true,
pasteProcessor: (html) => {
return html;
}
},
})
'a', 'span', 'strong', 'b', 'em', 'i', 'u' tags.true