Skip to:

Opened 11 years ago

Closed 11 years ago

#2344 closed enhancement (invalid)

Disable editor-styles at front-end editor

Reported by: macpresss's profile MacPresss Owned by:
Milestone: Priority: normal
Severity: normal Version: 2.3.2
Component: Front-end Keywords: needs-patch


I think there should be an easy option to tell WP not to include the editor.css stylesheet at the front-end.

Right now, I can't really style the BBcode buttons above the comment-form because it uses WP back-end styles. wp-include / css / editor.css

I respect WP back-end style but that style doesn't match everyonce front-end styling.

Something like this maybe ? ( row 1677 )

Change History (2)

#1 @johnjamesjacoby
11 years ago

  • Milestone changed from Awaiting Review to 2.4

This makes sense; I'll add this to core in 2.4. Thanks!

#2 @johnjamesjacoby
11 years ago

  • Milestone 2.4 deleted
  • Resolution set to invalid
  • Status changed from new to closed

Looking at this a bit more, there's some confusion.

$editor_styles is only for the content area, not the actual buttons themselves. It also looks like $editor_styles isn't loaded in bbPress's context, so it's a non-issue.

To change the way the buttons look in the visual editor, you'll need to write a more complex plugin to load the CSS you want. You could probably dequeue the core CSS, though I haven't investigated how exactly.

Closing this as invalid. Reopen if bbPress needs a patch to enable anything easier or more directly.

Note: See TracTickets for help on using tickets.