Since developing computer editor is cumbersome, can you develop a web-based editor? it can exported a .kwgt file.
After web-based editor is completed, you can use it as a native application after downloading. The pressure on the server will be much lower.
There is also a small proposal. Although I know it is unlikely to be accepted, can I use JavaScript as a formula editing language? This learning cost will be much smaller.