hankknight
asked on
TinyMCE: Two editors with different CSS
I want to have two editors on the same page.
I want each editor to use a unique css file for formatting the content that is edited.
TinyMCE does allow for multiple editors:
// from TinyMCE JS settings
elements : "editor1,editor2,editor3",
The problem is that TinyMCE does NOT seem to allow for different CSS files for these editors:
// from TinyMCE JS settings
content_css : "../css/editor1.css",
How can I define a different CSS file for the content of each editor?
I want each editor to use a unique css file for formatting the content that is edited.
TinyMCE does allow for multiple editors:
// from TinyMCE JS settings
elements : "editor1,editor2,editor3",
The problem is that TinyMCE does NOT seem to allow for different CSS files for these editors:
// from TinyMCE JS settings
content_css : "../css/editor1.css",
How can I define a different CSS file for the content of each editor?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
@skij I'm glad there's a better way to do it. Thanks for sharing it with us.