WYSIHTML5 instead Markdown
-
Hi there,
I think Markdown is great but definitely a wysi maybe better. That one is based on Bootstrap.
-
We went with a Markdown approach mostly since I personally think markdown is the text markup of the future.
WYSIWYG editors are usually clunky and slow (although much may have changed since I last checked!), and don't work really well on mobile, and even without that, this post composer window is already a bit sluggish on a phone.
It's always possible to bundle WYSIHTML5 into a NodeBB plugin, although the plugin system is still quite immature as yet
-
-
I'm happy to agree here with Julian - Markdown is times better suited for most cases, IMO.
The only missing thing in the current editor - dynamic style transformation akin to http://dillinger.io/ -
Online Markdown Editor - Dillinger, the Last Markdown Editor ever.
Dillinger is an online cloud based HTML5 filled Markdown Editor. Sync with Dropbox, Github, Google Drive or OneDrive. Convert HTML to Markdown. 100% Open Source!
(dillinger.io)
Got to say... that's a pretty fancy markdown editor!
-
Online Markdown Editor - Dillinger, the Last Markdown Editor ever.
Dillinger is an online cloud based HTML5 filled Markdown Editor. Sync with Dropbox, Github, Google Drive or OneDrive. Convert HTML to Markdown. 100% Open Source!
(dillinger.io)
Got to say... that's a pretty fancy markdown editor!
Just had a look at both hallojs & dillinger.io and dillinger looks good and it dose the links straight away, I do find putting links in a post a pain.
-
-
@StuartH Sounds like a checkbox option, either for users or the admin:
automatically parse link addresses into links? -
am I missing something?
^ directly copied and pasted, no markup
-
I do agree that some sort of wysiwig (even as an option that can be disabled or enabled) would be nice.
A lot of forums do cater to non-technology friendly folks and although markdown is more efficient once you know it, some people get turned off by simply just trying something different.
-
The difficult part is that markdown was originally baked into the NodeBB core. It still is, partially, even though the markdown parser itself is a plugin.
For example, even if you don't use the markdown parser, clicking the bold, italic, etc. buttons at the top still put markdown into the text field.
These sorts of issues need to be addressed first before we can even approach WYSIHTML5
-
For what it's worth, though it is not markdown - this is one of my favourites to work with lately:
Tiny, opensource, Bootstrap WYSIWYG rich text editor from MindMup
This tiny jQuery Bootstrap WYSIWYG plugin turns any DIV into a HTML5 rich text editor
(mindmup.github.io)
-
I also think Markdown is the choice of the future, but ATM, it's too limited to use in a forum. For example, what if I wanted to add a spoiler to the post, or a dice roller, or float an element, etc. Currently, there's just no easy way to add these things to markdown is there?
As far as BBC editor's go, I prefer the Sam Clarke editor: http://www.sceditor.com/
Please, no bootstrap editors.
-
Our plugin system should allow you to extend additional features to what is present in markdown atm, see the Youtube/Soundcloud/Vimeo/Emoji plugins for example. If you wanted to add some syntax for example
[/dice 1-100]
(outputs random number between 1-100) this is pretty doable and I imagine it wouldn't be much more than 10-20 lines of code in a plugin (in this scenario you'd need to save to the database what the original roll was, so a tad more complicated than the embed/emoticon plugins)