The core of Obsidian is CodeMirror 6, which is hard to replace for its live preview feature. No rust editor and GUI toolkit even comes close to CM6/browser. But electron can be replaced.