Taullo / Ruffy

A sometimes rough fork of Glitch-Soc that focuses more on art and blog style posts
https://glitch-soc.github.io/docs/
GNU Affero General Public License v3.0
12 stars 1 forks source link

Realtime post previews #25

Open Taullo opened 1 year ago

Taullo commented 1 year ago

Pitch

Text formatting should either display in realtime or a preview button should be added. Preferably, the formatting would be displayed in realtime as the user writes then get converted to HTML upon being submitted. The compose button formatting buttons would then play into this behavior. Users would select the formatting buttons to change the text formatting (e.g. bold, italics, underline, strikethough, URL, etc.)

Some questions:

Motivation

Text formatting isn't end-user friendly and it's confusing whether something will render or not.

The-Beebz commented 1 year ago

I think if we're getting a WYSIWYG editor, I'd still appreciate markdown

rudytues-day commented 1 year ago

+1 keeping markdown as an option

pinkgator commented 1 year ago

I find most WYSIWYG editors unpleasant to use and writing raw HTML on mobile is awkward. Having a live "formatting preview" appear above or below the post box would be better IMO.

If anything I would like to be able to switch back to the current way if WYSIWYG is implemented.

Taullo commented 1 year ago

I was thinking it'd be kinda cool to have the option to have a WYSIWYG editor but allow it to switch to Markdown and an HTML editor and have it convert the WYSIWYG stuff on the fly. But that kinda sounds like a PITA to code and I dunno if there's a library for it.

I still haven't even touched the compose box outside of restyling it cuz the whole thing sounds like a PITA asdklsdf