[Bug Report] Incorrect Post Preview in the danvinci.utopian.io editor

in utopian-io •  2 months ago

utopian&davinci
source

davinci.utopian.io

Publisher - Utopian.io
repository
GitHub issue

Expected behavior

When breaking lines in the editor, the lines in the preview should break like requested, and the next item should appear directly below the text before the break. This is also how it works on busy.org which davinci.utopian.io is a fork of.

davincibug2.png

Actual behavior

When breaking lines in the editor and looking at the preview, single breaks instead turn into spaces and double breaks are still double breaks, making a single break impossible in the preview. This is inconsistent with the actual post, which is still posted correctly, which could make submitted posts look different than an user might expect.

Look at the Preview section and compare it to the Expected behavior screenshot:
davincibug1.png

How to reproduce

Log in into davinci.utopian.io. When presented with the editor:

  • Write some text.
  • Add a single break line by pressing Enter.
  • Continue writing text directly after.
Browser/App version:

Google Chrome (68.0.3440.106) - most recent version
&
Mozilla Firefox (62.0) - most recent version

Operating system:

Windows 10 (version 1803)

Recording Of The Bug

This gif shows the difference between the preview of the davinci.utopian.io editor (which doesn't break the lines) and Busy editor (which works correctly).
gif

Solution

I've made an effort to compare the busy repository and the davinci.utopian.io repository to look for an obvious change that would've made this happen, but I haven't found anything. I've also checked busy's closed issues to see if they had resolved this issue in the past, but I couldn't find anything either.

GitHub Information

my GitHub account
GitHub issue

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!