This is what I arrived at. This will remove just the custom wordpress css /wp-includes/js/tinymce/skins/wordpress/wp-content.css
.
function squarecandy_tinymce_remove_mce_css($stylesheets)
{
$stylesheets = explode(',',$stylesheets);
foreach ($stylesheets as $key => $sheet) {
if (preg_match('/wp\-includes/',$sheet)) {
unset($stylesheets[$key]);
}
}
$stylesheets = implode(',',$stylesheets);
return $stylesheets;
}
add_filter("mce_css", "squarecandy_tinymce_remove_mce_css");
The other file loaded by default (/wp-includes/js/tinymce/skins/lightgray/content.min.css
) is not part of the mce_css filter. There does not appear to be any way to remove this without breaking TinyMCE. But of the two css files, this one adds less default things that need to be overridden.