Comments (8)
No I don't believe so, it's intended to be a code editor so spell checking isn't built in.
from rustpad.
@ekzhang - thanks for the reply :)
As Rustpad supports both markdown and plain text it would be a great lightweight alternative to Etherpad. Wouldn't it be possible somehow to enable the browser spell check plugin for those file types?
I was hoping to use Rustpad to edit markdown files, as a simple frontend for the HUGO site generator.
It seems that all Monaco based apps have this issue, it is the same with Gitea / Forgejo..
from rustpad.
Interesting! Hmm, I just released a simpler and more minimal collaborative editing server, and this one is based on CodeMirror 6, which supports the browser's native spell check if you just add:
EditorView.contentAttributes.of({ spellcheck: 'true' }),
I'm not sure what your goal is as a Hugo frontend, are you trying to create an application for users, or just for yourself? In either case I think this one will be easier to embed within a larger app than Rustpad.
from rustpad.
Thanks for the prompt reply @ekzhang :))
Nice - cm-collab seems like a nice upcoming solution, especially after a dark mode has been added.
I'm not trying to make any larger application at the moment, at least not for this purpose. My main problem with HUGO is not having a nice Markdown editor that will allow me to use LanguageTool or Grammarly when writing posts. I exclusively run Linux, but haven't been able to find an offline editor that has LanguageTool support (save some very old and poorly maintained (Neo)ViM plugins that don't work very well). So far only Etherpad and Hedgedoc fit the bill more or less, but they are rather heavy and a bit overkill. Rustpad or Gitea would be great (the latter especially as the HUGO site is hosted on Gitea as well) - but both use Monaco, so spell-checking plugins are a no-go for now.
After raising the issue here - I found this - this morning, so it seems the issue has been around for a while, but the Monaco devs aren't doing anything with it so far.
Your cm-collab project looks promising though :))
from rustpad.
If you're looking for an offline editor then I'm not sure either make that much sense as collaborative editors, maybe try StackEdit or any other solution.
My recent project was just a tech demo and not meant to be a full user application
from rustpad.
@ekzhang - no, I just mentioned it as to show that I've explored both avenues, a collaborative editor would be best for sure, although at the moment any (lightweight) editor with some form of browser based spelling check plugin support would fit the bill. I think your cm-collab demo has potential too, it's a nice, minimalist and lightweight solution compared to Etherpad and HedgeDoc.
It would be great if Monaco would offer a browser based spelling check option on Markdown and plain text - so that Rustpad and Gitea could inherit the feature.
from rustpad.
Thanks for the kind words!
Just to repeat:
No I don't believe so, it's intended to be a code editor so spell checking isn't built in.
This feature is out-of-scope for Rustpad itself regardless of whether it's supported by Monaco, so I'm closing it now. If you want to write your own collaborative Markdown editor, I think I've provided you all the resources.
from rustpad.
Fair enough, thanks for the replies and of course your hard work on Rustpad; a great tool - clean, performant and well-designed overall :)
from rustpad.
Related Issues (20)
- Render markdown option HOT 2
- Seeing two cursors when more than one user is connected HOT 2
- Zero-knowledge server HOT 1
- Lapce integration HOT 1
- Record a code editing HOT 2
- Support for authentication? HOT 2
- Font size setting HOT 1
- Announcement: engineer-man/piston integration for code compilation/execution HOT 1
- Non docker install? HOT 6
- Is it possible to run rustpad on redox-os? HOT 2
- Support for Notion-like comments? HOT 1
- Problems running on Azure VM HOT 2
- Docker build fails HOT 9
- Configuration option for Sqlite retention period?
- UI: Minimize sidebar/toggle HOT 3
- Editor: word wrap option
- Collaborative editing of local file? HOT 2
- Any way to integrate with oauth2? HOT 1
- Feature request: Add an option to bypass loading monaco's resources from cdn
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rustpad.