Tinymce dynamic background
Permalink
Hi everyone,
I need to change the background color of the tinymce editor but (here's where the problem starts) based on which content block is being edited, the background color has to be different
e.g:
Header of the website is a dark color and text is white, but the Main area of website is white and text is black.
I've tried playing around with typography.css
where iframe#ccm-content-areaID_ifr is the iframe which the tinymce is loaded in...doesn't work.
Any help, ideas, tips are more than welcome
thanks
I need to change the background color of the tinymce editor but (here's where the problem starts) based on which content block is being edited, the background color has to be different
e.g:
Header of the website is a dark color and text is white, but the Main area of website is white and text is black.
I've tried playing around with typography.css
iframe#ccm-content-areaID_ifr body#tinymce{background:#color}
where iframe#ccm-content-areaID_ifr is the iframe which the tinymce is loaded in...doesn't work.
Any help, ideas, tips are more than welcome
thanks
Come on concrete5 Community!!! I need your help
Your Tinymce is reading your "body" tag from typography.css. The only way I see this being possible is if you use some kind of conditional statement to change the body background depending on the block you edit.
Good Luck
Good Luck