I have developed a custom slider for Magento 2. The fields for my slider in the backend are; Title, Image and Content. The Content is a Wysiwyg editor and I am trying to make it work like a CMS Page content where I can add codes like:
{{block class="Magento\Framework\View\Element\Template" name="new.template" template="mytemplate.phtml"}}
What classes do I need to call in my block constructor to output the same results as that of CMS pages?