-
Notifications
You must be signed in to change notification settings - Fork 613
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a rich text editor to the jobs board entry forms #655
Comments
+1 for markitup. |
Is there any concern that MarkitUp is no longer actively developed? Other examples: https://stackedit.io FWIW, I have used TinyMCE's cloud editor (you don't host the code yourself) and it is much cleaner and works better (when cutting and pasting text) than its predecessor's. The cloud version is always the most up to date release as well. |
Markitup works fine. We need something that looks like Word, not like Sublime :-) |
Since there's been no movement on this ticket, I've now retargeted it to just the job board, since that's where the job board team needs it most. |
I've had another look at MarkitUp. Apart from not being maintained anymore, it also doesn't provide a synchronous rendering screen. It may be better to go with CKEditor (http://ckeditor.com/) plus the Markdown plugin (http://ckeditor.com/addon/markdown). Here's a demo which looks really nice and intuitive to use (both for people who like Word and those who prefer writing Markdown directly): http://hectorguo.com/CKEditor-Markdown-Plugin/ |
Here's a more recent editor for Markdown which provides live split screen previews: https://simplemde.com/ That's already a bit better than the ReST format we require at the moment, but I'm not sure whether this would really make job submitters much happier. The backend does support HTML rendering, so CKEditor is probably the best choice. The only problem I see is rendering existing jobs in a modified text area, since those are in ReST. The editing templates would have to switch between CKEditor and a plain textarea depending on the format spec in the job record. |
I gave CKEditor+Markdown a whirl. Couldn't get the Markdown bit to work (it clearly works in the online demo). I used CKBuilder to build a standard CKEditor package with the markdown plugin added, the created a local copy of Hector Guo's online demo. Clicking the Markdown button didn't reveal any markup(down) like the online example did. Now, I admit to not being the sharpest tool in the shed, but this seems like it should have been dead simple to try. Running the "big and slow" download, I get this error: element.js:192 Uncaught InvalidCharacterError: Failed to execute 'add' on 'DOMTokenList': The token provided ('cke_source cke_reset cke_enable_context_menu') contains HTML space characters, which are not valid in tokens. element.js is in ckeditor/core/dom. |
This would be useful for text entry fields which are intended to be used by people who do not speak markdown or ReST, such as many job posting submitters, which often get the formatting wrong.
Some possible editors:
The text was updated successfully, but these errors were encountered: