I agree, that's not an elegant solution, not a good idea IMO.
But I just tested nesting the module tag between <div> tags (in TinyMCE), and for me it seems to work. I think you were putting the div in the module code, but you should put it in TinyMCE directly, like this: <div class="module_contactform">{pluck show_module(contactform)}</div>
I agree, that's not an elegant solution, not a good idea IMO.
But I just tested nesting the module tag between <div> tags (in TinyMCE), and for me it seems to work. I think you were putting the div in the module code, but you should put it in TinyMCE directly, like this: <div class=" module_ contactform" >{pluck show_module( contactform) }</div>