Boostnote.next: h1 to h6 CSS attributes are duplicated in the preview style for markdown.

Created on 25 Apr 2020  路  6Comments  路  Source: BoostIO/BoostNote.next

Current behavior

Default values:

imagen
imagen

Expected behavior


There should be only one h1 font-size, etc.

Steps to reproduce

  1. Open the preferences
  2. Go to markdown
  3. Look up for h1, it appears multiple times.
  4. Both edit the font-size of the h1 heading, rendering one useless.

Environment

  • Boostnote version: 0.4.1
  • OS version and name: Windows 10 pro 1903

bug help wanted

All 6 comments

Actually, to add on this, the whole thing is duplicated, kbd, ol, ul, li, the whole thing.

this is the expected behaviour. styling may be applied to the h1 element multiple times if the designer chose to do so.

this doesn't seem to be a valid issue. Do you need some help in making personal adjustments, perhaps?

I'm sorry but really this can't be the expected behavior because both h1 attributes edit the same thing.
In this case h1 both on the top and on the bottom of the default style layout edit the font-size (one says 2em, and the other 32px), you can see that they're in different places because the vertical scroll bar on the right of the box it's one one image almost on top, and on the other is closer to the bottom.
Should I make a video to make the issue clearer?

@frenchiveruti oh, I see. You are right, this sure is weird.

This is definitely a bug. If anyone wants to tackle this issue, please try it!

Fixed by #478

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Rokt33r picture Rokt33r  路  6Comments

marilari88 picture marilari88  路  3Comments

KrzysztofKowalczyk picture KrzysztofKowalczyk  路  5Comments

triet-truong picture triet-truong  路  5Comments

theoden8 picture theoden8  路  3Comments