Page 1 of 1

MicroTiny and responsive embeds

Posted: Tue Jul 20, 2021 3:03 pm
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!

Re: MicroTiny and responsive embeds

Posted: Tue Jul 20, 2021 3:17 pm
by johnboyuk1
actually, thinking about it, maybe turning to a bit of jquery would be the solution. Happy to hear any other thoughts though!