How would I go about calling a command (tag?) from within the WYSIWYG editor, in order to place a CMS menu within the page content. EG, in the way that placing "$UserDefinedForm" within the page content editor places the form where you want it to go, and lets you have text above and below it?
I have a menu within the template that currently sits below the $Content tag, but i'd like to be able to call it from within the actual content so that I can decide precisely where it goes, eg something like:
Userforms does a basic str_replace on the content (https://github.com/silverstripe/silverstripe-userforms/blob/master/code/model/UserDefinedForm.php#L385) but a better method would be to use ShortCodes.