Editor: support slash-commands inside collapsible

As the title suggest. I would like to place a code box inside of a collapsible, currently this doesn’t work natively via the editor, but I can circumvent it by doing it manually with HTML.