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

Change artifacts/preview to prevent the embeds-preview bug #7

Open
rorysaur opened this issue May 23, 2022 · 0 comments
Open

Change artifacts/preview to prevent the embeds-preview bug #7

rorysaur opened this issue May 23, 2022 · 0 comments

Comments

@rorysaur
Copy link
Contributor

Some embeds, such as Figma, mess up the UX of the Markdown input, because every time they are re-rendered in the real-time preview, it takes the focus out of the input box so you can't keep typing.

Option 1:
Instead of real-time preview as you type, make the preview a separate tab that you can click on (similar to what GitHub does with issues).

  • I like this one personally, because then you get the full width of the screen for editing and for preview, and we'll probably have to do this for smaller screen sizes anyway. (For smaller screen sizes it would be weird to go 1-column and have the preview below the editor, because you would have to scroll up and down between them.)

Example:
Screen Shot 2022-05-12 at 11 01 48 PM

Option 2:
Keep the real-time preview, but don't render embeds in it.

The above is non-exhaustive, feel free to suggest more options.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant