The main goal i have here is to be able to reference an entity in a heading, then have a list of notes about that entity that is collapsible and generally is easy to read. I’ve found a couple issues when doing this that forces me to not use entity references in some contexts.
- Reference in Document: Referencing an entity in a heading is not in line with any other text in the heading
- Bullet Spacing: There is far too much space between each bullet in the document, which hurts readability because the space between the bullets is similar to the space between the bottom of the bullets and the next heading. The poor association of the bullets to the heading is compounded in this example because the spacing between the bullets is more than the space between the heading and the first bullet.
I think would contribute to an overall more polished-looking document capability for a pretty small time investment.
Example of Problem:
After some playing around, I found the styling was improved a good bit by just disabling some styles, that I can’t seem to see any negative impact to doing. There could be something I haven’t run into yet though. It isn’t quite perfect and there might need to be a small HTML tweak to make the styling easier. This could definitely be improved further, but this is just to demonstrate how a small css change improves how my documents look.
Example after applying some small css changes:
CSS Changes Applied:
.ProseMirror li {
margin-bottom: 0;
}
.enhance > .EntityNodeView {
min-height: inherit;
line-height: inherit;
margin-bottom: inherit;
}