Bit of a strange problem here. I've been working on a CMS for a client where they can preview work that they've done in a div-tag which is inside the "Admin" template for the back-end.
My problem is this: After the user styles all of their content accordingly using CKEditor and they save it, when the content is then previewed, the stylesheet for the "Admin" template applies itself within that div-tag and overwrites their styles. Is there any way to stop this from happening?
I realise I could just make the preview occur in a popup window, but that won't work for other (in this context irrelevant) reasons.
Many thanks in advance