Skip to content
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

Open
malemburg opened this issue Mar 17, 2015 · 7 comments
Open

Add a rich text editor to the jobs board entry forms #655

malemburg opened this issue Mar 17, 2015 · 7 comments
Labels
app/jobs Relates to the jobs app enhancement This is an improvement to existing code or configuration

Comments

@malemburg
Copy link
Member

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:

@malemburg malemburg added enhancement This is an improvement to existing code or configuration app/jobs Relates to the jobs app labels Mar 17, 2015
@berkerpeksag
Copy link
Member

+1 for markitup.

@jhogue
Copy link

jhogue commented Jun 5, 2015

Is there any concern that MarkitUp is no longer actively developed? Other examples:

https://stackedit.io
http://www.sublimetext.com (not free, but the interface may be very familiar to most users)

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.

@malemburg
Copy link
Member Author

Markitup works fine. We need something that looks like Word, not like Sublime :-)

@malemburg malemburg changed the title Add a rich text editor to the python.org site Add a rich text editor to the jobs board entry forms Mar 2, 2016
@malemburg
Copy link
Member Author

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.

@malemburg
Copy link
Member Author

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/

@malemburg
Copy link
Member Author

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.

@smontanaro
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
app/jobs Relates to the jobs app enhancement This is an improvement to existing code or configuration
Projects
None yet
Development

No branches or pull requests

4 participants