dream-num / univer

Univer is an open-source alternative to Google Sheets, Slides, and Docs
https://univer.ai
Apache License 2.0
5.68k stars 469 forks source link

refactor(sheet): copy&paste #2631

Closed waterhydroxyl closed 2 days ago

waterhydroxyl commented 5 days ago

1、Remove the use of getComputedStyle API and mount a large amount of text strings to the DOM. 2、Fix the memory leak issue caused by pasting external content 3、Keep the style data of each cell in the merged cell consistent when pasting, and improve the consistency of the direct copy and paste scene with Excel and Google Sheets

before change

b9119be1142f80ee40bf122e3bea41e

after change

aa1994e6cc59b14a99ce6f0db163dab

Pull Request Checklist

github-actions[bot] commented 5 days ago

View Deployment

📑 Examples 📚 Storybook
🔗 Preview link 🔗 Preview link
waterhydroxyl commented 5 days ago

@ybzky