Roam-Research / issues

Roam Research - A note-taking tool for networked thought.
https://roamresearch.com/
304 stars 7 forks source link

WYSIWYG editor frustrations #575

Open pch opened 4 years ago

pch commented 4 years ago

Describe the problem

Roam is great for entering text, but as soon as I have to move on to the editing phase, the frustrations with how the WYSIWYG editor works quickly reveal themselves.

I usually encounter this while processing book highlights. Here's an exaggerated example:

text selection problems

There are a couple of things wrong here:

More issues I've noticed:

Another one (switching to editing mode results in unintended selection):

out

These are all tiny problems that break the flow of editing.

Feature implementation

I know there's no easy way to approach this, so I'm just leaving it here as something to consider.

All of these issues stem from the combination of WYSIWYG & Markdown mode, with the currently edited block being treated as plain text and adjacent blocks as rendered html.

One way to deal with that could be to introduce separate markdown & wysiwyg modes for the whole page, rather than distinguishing between these modes on a per-block basis. This would allow to treat the whole page as a single block of text with more predictable editing (selection, copy & paste, formatting).

Additional context

I'm on macOS Catalina and Chrome 86.