We have a Redactor composer plugin. It's WYSIWYG
Markdown is cooler than traditional WYSIWYG, but the editor could benefit from having familiar controls
I will admit that I do love the fact that this forum software uses Markdown. It's clean, easy to learn, and easy to read in either text or formatted view. It certainly is not "old school"; I've seen WYSIWYG editors since the 90's, markdown was invented around 2004, and only recently began gaining in popularity (thanks to GitHub and Stack Overflow). I like to think that traditional WYSIWYG is to Markdown as MySpace is to Facebook.
But to be fair, it seems it's really embraced by people in the tech industry, but that's because we're familiar with the alternative of editing raw HTML, which is what is output by WYSIWYG editors anyway. There are many reasons why editing and storing HTML is bad / cumbersome, but the layperson is unaware of it because it's been hidden behind the WYSIWYG editors.
What seems to really bridge the gap is SO's editor, which would be more familiar to most people (because of the many options), but it still outputs and allows input of Markdown.
ajayumi huang last edited by
drew last edited by
@KingCat @ludam @pitaj @hek @Astralis-Lux @nockgeneer @jarey
It's in its early stages, but it's an official NodeBB component:
If any devs are able to contribute to adding all of the available functionality that'd be great.
@BDHarrington7 what is the difference between the SO and NodeBB editors? Functionally they seem to be exactly the same.
@drew that's awesome! I'll contribute whatever I can.
Addressing only the desktop view, there's more of a word processor feel to SO's editor:
While you can do pretty much the same thing in NodeBB's editor, it requires more knowledge of Markdown only because there are less buttons. I feel like this is what might be scaring people away from Markdown on NBB.
However I just checked SO's composer on mobile and it's pretty sparse. As in, zero formatting buttons., so NBB wins there
@BDHarrington7 SO's markdown also contains other formatting options, like text alignment, that we don't do... at least, judging by your screenshot.
Those last two? that's just
ah! we can add hr to markdown
I'm pretty sure hr is in markdown
That's an hr
Yup, I meant add the button to the formatting toolbar.
I wanted to use this plugin but it seems to be missing icons from other plugins like the nodebb Poll plugin that allows you to add polls to your posts.
@whitts Unfortunately, plugins currently have to add buttons to redactor separately, because they're fundamentally different. Composer-default parses plain text, while composer-redactor understands real html. You could have a button that plops down poll code into the editor, but that kind of breaks the magic of using a wysiwyg.
@Astralis-Lux and probably not even copy pasting embed code from YouTube and such. All I need is basic options (font size, color, bold and bullets).
YouTube embed code won't work on nodebb. You just paste the URL and it converts it automatically.
Bold and bullets is already in the kitchen sink.
Colours and font size are relatively pointless, I'll just make all my text massive and white. You'd have massive gaps that look messy.
felipeolcav last edited by felipeolcav
we are studying to use nodebb as a solution to replace this area of our project (https://cursos.atencaobasica.org.br/comunidades).
We have around 50k users and most of them are not really familiar with editing inline and we would need some workaround the text editor.
@João-Ximenes , I think the main problem is to insert links, images, emoji, etc using the nodebb editor as it is. I think it would be nice to remain almost the same, regarding that when you click the link (or emoji, or image) button the system would open a modal where users can insert the link and link text (the image url and alt text; or upload image, etc).
Is there anyone who tried this? Or just changing to a WYSIWYG editor?
emojis are complicated. See:
wil the end user kepp the "asterisks"?
[link text](link url)
jarey last edited by
@felipeolcav Please use english so all of us can jnderstan what youre saying. Thanks.
felipeolcav last edited by
sorry @jarey, I´ll translate
Jared14406 last edited by