Hello,
I'm currently working on my own CMS, which is mainly based around frontend editing.
I was wondering if anyone knows a good way to set the style within the iframe to inherit the style from the parents without making a seperate custom stylesheet.
Maybe there is a plugin that exists? Or maybe anyone has a good idea on how to make this happen.
The idea I had was before the editor element create a hidden element and basically copy the contents of the editor into it, then get the styles from that element and copy it into the iframe. However this seems like a not very logical work around to me.
Thanks in advance,
Jeffrey
I'm currently working on my own CMS, which is mainly based around frontend editing.
I was wondering if anyone knows a good way to set the style within the iframe to inherit the style from the parents without making a seperate custom stylesheet.
Maybe there is a plugin that exists? Or maybe anyone has a good idea on how to make this happen.
The idea I had was before the editor element create a hidden element and basically copy the contents of the editor into it, then get the styles from that element and copy it into the iframe. However this seems like a not very logical work around to me.
Thanks in advance,
Jeffrey