Content
View differences
Updated by Hagen Mahnke 8 months ago
It would be helpful to smartly decide whether the workpackage block is in-line or block-level based on the cursor context in the document. So if the slash command is invoked within a line, an in-line block is created and if it's in an empty line a block-level block is created.
If yes, followup question: can a block detect when it's surrounding context changes from a separate block back to inline and from inline to block? I.e. if I edit the text so that an existing in-line block is now surrounded by newlines, can we detect that automatically and turn it into block-level?
Is that possible?
Please note that we're not sure if we _should_ do this. It might be awkward/surprising to use. First we want to know if we can.
If yes, followup question: can a block detect when it's surrounding context changes from a separate block back to inline and from inline to block? I.e. if I edit the text so that an existing in-line block is now surrounded by newlines, can we detect that automatically and turn it into block-level?
Is that possible?
Please note that we're not sure if we _should_ do this. It might be awkward/surprising to use. First we want to know if we can.