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

Replace Edit-Preview modes with in-place WYSIWYG #15

Open
cvharris opened this issue Aug 13, 2019 · 0 comments
Open

Replace Edit-Preview modes with in-place WYSIWYG #15

cvharris opened this issue Aug 13, 2019 · 0 comments
Labels

Comments

@cvharris
Copy link
Owner

Instead of having one view of the card with raw text and the other view having the katex-ified preview, it may be desirable to streamline the UX by not having to toggle between modes to see your progress.

At first this app had two cards, an editable one on top and one with the preview in readonly view below. However this was difficult to fit on the screen just right.

An in-place WYSIWYG is very difficult to create and likely requires a custom parser. Issues that would have to be solved:

  • Maintaining cursor position as text updates from raw to formatted
  • Handle keyboard movement across visible characters only
  • Handle delete/backspace on certain invisible characters
  • Maintain both raw and formatted texts separately in state
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant