Improve editor performance on very large file (megabyte) with embedded Data URI images

Use case or problem

I’m having a use case where I copy and paste Data URI image from Zotero (beta) note. The Data URI image though lengthy, I can hide it with CSS, however the performance of text editing in this file is degraded considerably.
E.g entering and exit vim’s insert mode, text selection, deletion, scrolling is laggy…

Example file of 2.5mb markdown with several embedded images: (2.5 MB)

Typora editor did not render Data URI as image like Obsidian in Preview mode now, but the editing experience is not slowed down when in Typora with the same file.

Related feature requests (optional)

I just think this is worth considering in developing the future WYSIWYG editor.