#22644 closed defect (bug) (fixed)
wp_editor() on front end adds stylesheet to page
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 3.5 | Priority: | normal |
Severity: | normal | Version: | 3.5 |
Component: | Editor | Keywords: | has-patch |
Focuses: | Cc: |
Description
Seems wp_editor is adding a stylesheet to posts when inserted on front end. These styles override theme styles for .button ++
<link rel='stylesheet' id='buttons-css' href='http://mysite.com/themename/wp-includes/css/buttons.min.css?ver=3.5-RC2' type='text/css' media='all' />
Attachments (3)
Change History (11)
#1
@
12 years ago
- Milestone changed from Awaiting Review to 3.5
- Owner set to helenyhou
- Status changed from new to assigned
#2
@
12 years ago
- Keywords has-patch added
Something else, as presented in IRC :) A container/scoping class, let's say .wp-core-ui
. So, body.wp-core-ui
for the admin, .wp-core-ui
on wrappers for things that can be used outside the admin itself but use styling provided by core (WP_Editor, media).
Koop is doing an extra check for any other places where we may need the class, and any other realizations are more than welcome. 22644.diff as a start, though.
#3
@
12 years ago
- Keywords commit added
Added a bit to make sure .wp-core-ui
is always set in new media. Ready to go.
#4
@
12 years ago
- Keywords commit removed
We need more! setup-config, install, upgrade, media-upload, and customize all need love.
We knew this bug report would come eventually.
The plan of attack that comes to mind for me:
.wp-button
or even.wp-media-button
.I know koopersmith and helenyhou have spoken — what's the verdict?