Skip to content

Empty space after root node #380

Answered by cseickel
psmolak asked this question in Q&A
Jun 17, 2022 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

There's no simple way to do this, but you could probably use the after_render event to inject a blank node as the first child of the root node. That root node could be of type message which would ensure that it is ignored by mappings and other internal logic.

It's not a simple task and there are no examples. I might be willing to code it up as an example if there were a lot of people looking for this. I'm certainly available for questions if you wanted to take a shot at it yourself.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@nyngwang
Comment options

Answer selected by psmolak
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants