Changeset 640
- Timestamp:
- 06/03/09 22:12:18 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/apps/drupal/wysiwyg/editors/wymeditor.inc
r639 r640 121 121 if (isset($config['css_setting'])) { 122 122 if ($config['css_setting'] == 'theme') { 123 $css = path_to_theme() .'/style.css'; 124 if (file_exists($css)) { 125 $settings['stylesheet'] = base_path() . $css; 126 } 123 // ATM WYMeditor only supports one CSS file (version 0.5) 124 // so we load the first one returned by wysiwyg_get_css() 125 $settings['stylesheet'] = reset(wysiwyg_get_css()); 127 126 } 128 127 else if ($config['css_setting'] == 'self' && isset($config['css_path'])) {
Note: See TracChangeset
for help on using the changeset viewer.