Closed (duplicate)
Project:
Wysiwyg
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
13 Jan 2012 at 09:41 UTC
Updated:
15 Jan 2012 at 12:59 UTC
The problem: When using an admin theme and you want to use an editor CSS file from the front end theme, there is currently no token. Using the path_to_theme token uses the current theme, which is the admin theme, in a multisite environment with a shared admin theme this can be an issue.
The solution: Add in a token which is the path to the default theme, instead of the current one.
My attempt at a patch is attached. This is against the current 7.x-2.x head.
| Comment | File | Size | Author |
|---|---|---|---|
| wysiwyg-default_theme_css.patch | 6.19 KB | Paul Lomax |
Comments
Comment #1
twodCould we merge this with #835682: %t (path_to_theme() ) returns modules/field (or whatever module is creating the wysiwyg) instead of the active theme., please? Thanks.