You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My apology for not being coherent, please allow me to rephrase:
One of the ways to make iframe responsive (but not only iframes), is to wrap it with two divs. In the outer div one may set position=relative, and in the inner div one may set position=absolute. See here: https://blog.theodo.fr/2018/01/responsive-iframes-css-trick/
Although the article recommends a single div wrap, I found that double divs makes things easier especially if you wish to do further styling.
Currently I am doing the above swap using filter:parse.post but I believe we should do this in the client with Quill, so as not to burden the server with this code.
Note also the oEmbed code snippet mentioned in the other git issue I opened today. It may be a good idea to integrate it all together as part of the client.
If an iframe / img or are detected, they should be wraped as follows:
It will make it easier afterwards to style the iframe or links so they won't overflow.
The text was updated successfully, but these errors were encountered: