void blocks have space above
See original GitHub issueHey, as you can see here: http://slatejs.org/#/embeds, blocks have spaces above, due to the data-slate-void > span
elements that have some inline styles. If all these inline styles display: inline-block; vertical-align: top; width: 0px; height: 0px; color: transparent;
are changed to only position: "absolute"
, things work pretty good.
ps. Why do we need these inline styles forced? Would it be possible to introduce a flag (stylingMode="className"
) to allow styling these via css for example`?
Issue Analytics
- State:
- Created 6 years ago
- Comments:8 (5 by maintainers)
Top Results From Across the Web
Void - Minecraft Wiki
The void as shown beneath the Overworld. The void is the name given to the empty space external to the world in any...
Read more >Structure Voids no longer hold up gravel and sand - Jira
The structure void blocks water, cannot be waterlogged, and can have torches, item frames, etcetera placed on it, so it does not act...
Read more >Is there a better way to handle void nodes? · Issue #667
From my understanding, void nodes are represented as a block node that contains a single character (with void set to true). When the...
Read more >I think Mojang forgot to remove a Structure Void : r/Minecraft
Barrier blocks are invisible blocks that players couldn't go through. It acts like a normal block but cannot be broken in any way...
Read more >To Build Below Bedrock (Into The Void): To Pass The Limits
It has been said a million times that one cannot build blocks pass or below the limits. The closest thing known, at least...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@bkniffler good point, dunno what I was thinking. I pushed another release that totally omits the spacer, and added some read-only rendering tests to prevent it from breaking in the future hopefully.
Thanks for the fix! But in readOnly, the
data-slate-void
will now contain:and thus have a space again (only in readOnly).
Is this somehow necessary? Could we get rid of the first div?