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

Linespacing is broken in markdown/html editing panes #11056

Closed
samizdatco opened this issue Aug 27, 2019 · 2 comments
Closed

Linespacing is broken in markdown/html editing panes #11056

samizdatco opened this issue Aug 27, 2019 · 2 comments

Comments

@samizdatco
Copy link

Issue Summary

Previews of Markdown & HTML content display correctly in the editor:
image

But when you double-click them to begin modifying the content, lines overlap one another yielding this:
image

To Reproduce

  1. Click the + icon to create a new paragraph and select Markdown
  2. Enter multiple lines of markdown text into the textarea

Technical details:

  • Ghost Version: 2.30.1
  • Node Version: 8.16.1
  • Browser/OS: Safari 12 & Chrome 76 on macOS 10.14.6
  • Database: sqlite
@theverything
Copy link

Wonder if this was caused by the update of Code Mirror. TryGhost/Admin@ba25d65

@theverything
Copy link

So I was messing around with the css in chrome dev tools and if I removed the line height set here https://github.com/TryGhost/Ghost-Admin/blob/master/app/styles/spirit/_koenig.css#L355 the editor seems to be fixed.

I am not sure what else that breaks.

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

No branches or pull requests

2 participants