ebrahim / redmine_ckeditor

Redmine plugin for integrating CKEditor. This branch upgrades CKEditor to >=3.4 which supports bidirectional writing for right-to-left languages, such as Persian, Arabic, and Hebrew.
http://code.ebrahim.ir/redmine_ckeditor
15 stars 2 forks source link

The page is in black color #3

Open LuisSerrano opened 13 years ago

LuisSerrano commented 13 years ago

When I try to make a new issue or edit a existent the page is black, Is this normal ?

Thanks

LuisSerrano commented 13 years ago

I think is related with the theme you have configured in Redmine Is the theme Squeejee, the body is configured in black, it is possible to configure a body onlu for this plugin ?

Thanks

ebrahim commented 13 years ago

It is not currently possible to set the theme or background color of the editor independently of theme of Redmine. I think your easiest solution would be tampering with theme CSS of Redmine to set the color independently.

LuisSerrano commented 13 years ago

Erasing or comment the line 6 for not apply any css (/lib/redmine_ckeditor/wikiformatting/helper.rb) Another possibility is put the path of a applicattion.css file only for the plugin

LuisSerrano commented 13 years ago

I have added tw line more in the pos 8 (to configure the theme) and 9 (to autoconfigure the language)

    CKEDITOR.config.skin = 'v2'; 
    CKEDITOR.config.languageCode = '#{I18n.locale.to_s.downcase}.js';
LuisSerrano commented 13 years ago

and CKEDITOR.config.removePlugins = 'elementspath'; CKEDITOR.config.resize_enabled = false;

ebrahim commented 13 years ago

It would be great if you provide a patch (including required changes in the settings page of plugin) for selecting skin, and/or for selecting enabled plugins.