[GH-ISSUE #435] h1 to h6 CSS attributes are duplicated in the preview style for markdown. #204

Closed
opened 2026-03-03 00:19:16 +03:00 by kerem · 6 comments
Owner

Originally created by @frenchiveruti on GitHub (Apr 25, 2020).
Original GitHub issue: https://github.com/BoostIO/BoostNote-App/issues/435

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
Originally created by @frenchiveruti on GitHub (Apr 25, 2020). Original GitHub issue: https://github.com/BoostIO/BoostNote-App/issues/435 # Current behavior Default values: <!-- Let us know what is currently happening. Please include some **screenshots** with the **developer tools** open (console tab) when you report a bug. If your issue is regarding the new Boost Note.next, please open an issue in the new repo 👉 https://github.com/BoostIO/BoostNote.next/issues. --> ![imagen](https://user-images.githubusercontent.com/1095997/80282641-ed4cf600-86e8-11ea-9d38-d3d819fba321.png) ![imagen](https://user-images.githubusercontent.com/1095997/80282645-f8a02180-86e8-11ea-9d7f-cd69bcefd6a3.png) # Expected behavior <!-- Let us know what you think should happen. --> There should be only one h1 font-size, etc. # Steps to reproduce <!-- Please be thorough, issues we can reproduce are easier to fix. --> 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<!-- 0.x.x --> - OS version and name: Windows 10 pro 1903<!-- Windows 10 / Ubuntu 18.04 / etc --> <!-- Love Boostnote? Please consider supporting us on IssueHunt: 👉 https://issuehunt.io/repos/53266139 -->
kerem 2026-03-03 00:19:16 +03:00
Author
Owner

@frenchiveruti commented on GitHub (Apr 25, 2020):

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

<!-- gh-comment-id:619389404 --> @frenchiveruti commented on GitHub (Apr 25, 2020): Actually, to add on this, the whole thing is duplicated, kbd, ol, ul, li, the whole thing.
Author
Owner

@arcturus140 commented on GitHub (Apr 25, 2020):

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?

<!-- gh-comment-id:619396098 --> @arcturus140 commented on GitHub (Apr 25, 2020): 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?
Author
Owner

@frenchiveruti commented on GitHub (Apr 25, 2020):

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?

<!-- gh-comment-id:619454464 --> @frenchiveruti commented on GitHub (Apr 25, 2020): 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?
Author
Owner

@arcturus140 commented on GitHub (Apr 26, 2020):

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

<!-- gh-comment-id:619466649 --> @arcturus140 commented on GitHub (Apr 26, 2020): @frenchiveruti oh, I see. You are right, this sure is weird.
Author
Owner

@Rokt33r commented on GitHub (Apr 26, 2020):

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

<!-- gh-comment-id:619518581 --> @Rokt33r commented on GitHub (Apr 26, 2020): This is definitely a bug. If anyone wants to tackle this issue, please try it!
Author
Owner

@Rokt33r commented on GitHub (Jun 6, 2020):

Fixed by #478

<!-- gh-comment-id:640003119 --> @Rokt33r commented on GitHub (Jun 6, 2020): Fixed by #478
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/BoostNote-App#204
No description provided.