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:
- Add the element you want to apply the css to (paragraph, list, checkbox, etc)
- Press enter or type
- Add a second element of the same type
- Go Into Reading Mode
- 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

Preview Mode

Reading Mode

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
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:
Expected behavior
The CSS class should only apply to the elements with no line breaks in between (as seen in preview)
Screenshots
Preview Mode

Reading Mode

Device (please complete the following information):
Additional context
I was able to reproduce this using any other element