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

CSS Class Gets Applied to Ungrouped Elements #11

Open
segsmachine opened this issue Mar 17, 2023 · 1 comment
Open

CSS Class Gets Applied to Ungrouped Elements #11

segsmachine opened this issue Mar 17, 2023 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@segsmachine
Copy link

Describe the bug
Elements of the same type are grouped together even when there's a line break

To Reproduce
Steps to reproduce the behavior:

  1. Add the element you want to apply the css to (paragraph, list, checkbox, etc)
  2. Press enter or type
  3. Add a second element of the same type
  4. Go Into Reading Mode
  5. CSS class still applies to second element

Expected behavior
The CSS class should only apply to the elements with no line breaks in between (as seen in preview)

Screenshots

image

Preview Mode
image

Reading Mode
image

Device (please complete the following information):

  • Operating System: Windows 11
  • Obsidian version: 1.1.16

Additional context
I was able to reproduce this using any other element

@segsmachine segsmachine added the bug Something isn't working label Mar 17, 2023
@LilaRest
Copy link
Owner

Hi @PrinceHeadache ! Thanks for reporting that issue, and sorry for the late reply ^^
Unfortunately I'm not maintaining this project anymore.
But feel free to PR if you wanted to fix this by yourself :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants