WordPress.org

Make WordPress Core

Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#9075 closed feature request (wontfix)

Visual Editor does not include the current template's styles.css

Reported by: fadingdust Owned by: azaozz
Milestone: Priority: normal
Severity: normal Version: 2.7
Component: TinyMCE Keywords:
Focuses: Cc:

Description

Many of my clients are confused why the visual tinyMCE editor does not display as the preview does.

I know there's some issues behind this (not all the tags would be properly included, due to an incomplete/different path) but at least some of 'em would apply, and that sounds good to me. At least make this be an option, or outline what css is applied in the editor..

Change History (4)

#2 @DD32
10 years ago

  • Keywords needs-patch 2nd-opinion added; css styles visual editor removed
  • Milestone changed from 2.7.1 to 2.9

1 Major problem with this would be that most themes styles are not verbose, they'll apply to the entire screen.

I notice that that plugin uses tinyMCE.importCSS(inst.getDoc(), Does that import it for only the TMCE?

Sending to 2.9 as it has no patch, and is an enhancement, Can be brought forward to 2.8 upon a patch being submitted.

#3 @azaozz
10 years ago

  • Resolution set to wontfix
  • Status changed from new to closed

There would be multiple problems with this due to the variety of themes available for WordPress. TinyMCE imports only the classes (not IDs) and most browsers are too buggy to handle advanced CSS in contentEditable mode. Better if it's handled by a plugin.

#4 @jacobsantos
10 years ago

  • Keywords needs-patch 2nd-opinion removed
  • Milestone 2.9 deleted
Note: See TracTickets for help on using tickets.