Closed (duplicate)
Project:
Wysiwyg
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
25 Feb 2013 at 08:04 UTC
Updated:
20 Nov 2016 at 17:24 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
mohammed j. razemComment #2
twodHmm, Locale module switches to the RTL stylesheets based on the current Drupal language, but we don't currently use that elsewhere, so we'd also need to fix #532794: Use current user's language together with this for the rest of the editor to actually reflect being used in RTL mode.
Comment #3
mohammed j. razemWell this patch only adds
drupal_alter('css')which happend to be used by Locale module to inject -rtl.css styles.This means that this will allow any other modules implementing hook_css_alter() to reflect their changes to WYSIWYG if it was theme related CSS.
Maybe the title of the issue is a bit specific for Locale's case, but this indeed will help other modules achieve their purpose in WYSIWYG.
Comment #4
mgiffordComment #5
mohammed j. razemCan you please be more specific of what makes it "Needs work"?
See #3 for what the patch does.
Comment #6
mgiffordI just tried to apply the patch to branch 7.x-2.x and it failed. I think it just needs a re-roll against the latest dev version.
Comment #7
twodPlease try the patch in #2289683: Select in-editor theme and get all stylesheets. It should get all the stylesheets from the selected theme, including RTL ones if applicable.
Post follow-ups in there.