3 ms·
Is there any JavaScript-free WYSIWYG Markdown editor?
by app4soft 7y ago
Is there any JavaScript-free WYSIWYG Markdown editor?
- tiborsaas 7y agoMaybe this: https://github.com/tcr/edit-text https://github.com/tcr/edit-text But yeah, most browser based WYSIWYG editors are JS based, since you need to manipulate the DOM. If you are not targeting the browser then you maybe find something here: https://philippegroarke.com/posts/2018/c++_ui_solutions/ https://philippegroarke.com/posts/2018/c++_ui_solutions/
- app4soft 7y ago> Maybe this: https://github.com/tcr/edit-text https://github.com/tcr/edit-text Nope, this is not what I expected for: > Both the server and client are written in Rust, and its frontend is cross-compiled WebAssembly and TypeScript.
- bchanudet 7y agoOn Linux I found Ghostwriter¹. It's working really fine, I use it for all my personal writings. There is also a port² on Windows but it seems less reliable, I've seen it crash a few times, I still have to report it or try to fix it. ¹ https://wereturtle.github.io/ghostwriter/ https://wereturtle.github.io/ghostwriter/ ² https://github.com/michelolvera/vs-ghostwriter https://github.com/michelolvera/vs-ghostwriter
- app4soft 7y agoGhostwriter depend on QtWebKit/QtWebEngine, so is not JavaScript-free. > HTML preview has been ported from QtWebKit to QtWebEngine (Chromium).
- bchanudet 7y agoYeah the HTML preview is using QtWebEngine, but not the text editor part. I suppose there is a way to deactivate Javascript execution in QtWebEngine but I don't know enough about it. But given that Markdown allows inline HTML and JavaScript, I don't see how you could have an accurate WYSIWYG representation if you don't have a Javascript engine available somewhere.