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

Can't render new lines when you disable text formatting for previews #10

Closed
the-turk opened this issue Apr 14, 2020 · 0 comments
Closed
Assignees
Labels
bug Something isn't working
Milestone

Comments

@the-turk
Copy link
Owner

Bug Report

Current Behavior
If you disable text formatting for previews, post's preview will look like a mess if it's including new lines.

Steps to Reproduce

  1. Edit a post which includes new lines
  2. Click on "original content" in revision list
  3. Switch to "Preview" mode
  4. There are no new lines anymore

Expected Behavior
New lines should be rendered even if you disable text formatting for previews.

Screenshots

Environment

  • Extension version: 1.0.4

Possible Solution
Implement these properties on .previewContainer class:

white-space: pre-wrap;
word-break: break-word;
@the-turk the-turk added the bug Something isn't working label Apr 14, 2020
@the-turk the-turk added this to the 1.0.5 milestone Apr 14, 2020
@the-turk the-turk self-assigned this Apr 14, 2020
the-turk pushed a commit that referenced this issue Apr 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant