Is there a method to apply a unique body class ID to the editor in the same way that body class information is added to the published page?
I am using the add_editor_style() function to render the editor’s styles to reflect the published page. However, there are some pages where the styles break away from the standard page rules, and I would love to be able to include some of those exceptional style rules in the editor.
You can filter the TinyMCE body classes to add or change as needed. It’s a string that’s pre-populated with some things like post type, so the easiest thing to do is append your additional classes (with a preceding space).