MicroTiny and responsive embeds

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
johnboyuk1
Forum Members
Forum Members
Posts: 192
Joined: Mon Nov 26, 2018 3:09 pm

MicroTiny and responsive embeds

Post by johnboyuk1 »

Is there any way to adapt (or could it be considered as a feature request) the way MicroTiny handles iframe embeds through its 'Insert' menu option?

As iFrames arent responsive they need to be wrapped in a div so I can hook some css to it to handle the responsiveness. Does anyone know of a way to make this work with MicroTiny? I guess I'm asking whether its possible to edit the MicroTiny code in order to make it wrap embeds with a div tag ... unless somebody else knows of a better way?

Essentially the goal is to allow editors to drop a youtube video onto the page but for it to be responsive

Thanks!
johnboyuk1
Forum Members
Forum Members
Posts: 192
Joined: Mon Nov 26, 2018 3:09 pm

Re: MicroTiny and responsive embeds

Post by johnboyuk1 »

actually, thinking about it, maybe turning to a bit of jquery would be the solution. Happy to hear any other thoughts though!
Post Reply

Return to “CMSMS Core”