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

Prevent long code lines from breaking visual entry editor #392

Merged
merged 1 commit into from Apr 26, 2017

Conversation

Benaiah
Copy link
Contributor

@Benaiah Benaiah commented Apr 26, 2017

- Summary

Previously, long lines of preformatted text would cause the lines to run off the side of the ProseMirror edit box and give the entire entry editor a horizontal scrollbar. This commit makes the edit box itself scroll, which looks and feels much less broken.

- Test plan

Tested manually (no visual diff testing exists on this project at the moment).

- Description for the changelog

Prevent long code lines from breaking visual entry editor.

Previously, long lines of preformatted text would cause the lines to
run off the side of the ProseMirror edit box and give the entire entry
editor a scrollbar. This commit makes the edit box itself scroll,
which looks and feels much less broken.
Copy link
Contributor

@erquhart erquhart left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@erquhart erquhart merged commit 8520e04 into master Apr 26, 2017
@Benaiah Benaiah deleted the fix-prosemirror-pre-overflow branch April 26, 2017 21:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants