Skip to content
This repository has been archived by the owner on Mar 8, 2019. It is now read-only.

Function for updating iframe CSS #551

Open
KoulSlou opened this issue Mar 8, 2016 · 0 comments
Open

Function for updating iframe CSS #551

KoulSlou opened this issue Mar 8, 2016 · 0 comments

Comments

@KoulSlou
Copy link

KoulSlou commented Mar 8, 2016

I faced with a problem when I add new CSS class to textarea element, but iframe style is not changing at all.

For example, I add class:

.not-saved{
    background-color: black;
}

But editor's background stays white. My questions are:

1). Is there any function for synchronization of textarea and iframe styles?
2). For some reason I can not change inline properties set in editor's iframe even with jQuery function:

  $(jqObject).parent().find("iframe").css({'background-color': '#000000'});

It's still white.

Would appreciate any help.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant