Hi out there,

I tried searching the forum, but I didn't find the right answer.

So here we go:

I'm using Drupal 7, the I18n-Module and the ckEditor module for nice wysiwyg editing.

ckEditor shows up everywhere and I can use it as usual. But on one page it does not show up: When translating a block ( en/admin/structure/block/manage/block/2/translate/de ) ckEditor is not present, so I just see the HTML Code - that's not what I want.

How can I get a ckEditor there?

Thanks :)

Comments

Raubi’s picture

No one?

skks’s picture

Hi, I've got the same problem using tinymce in drupal 7
I wonder there are almost no threads related to this bug. This is the only one I've found.

Lemonline’s picture

I've got exactly the same problem, has anyone figured this out?

Raubi’s picture

Still having the problem

Raubi’s picture

Please help

rOnnie974’s picture

I'm also looking for any solution…

chymz’s picture

Here a workaround but i don't think is the best way :
Create a new module "mymodule" and copy/paste :

<?php
/*
 * Implements hook_form_alter()
 */
function mymodule_form_alter(&$form, &$form_state, $form_id){
    if(
$form_id == 'i18n_string_translate_page_form'){
        foreach(
$form['strings'] as $name => $field){
            if(
preg_match('/blocks:block:[0-9]+:body/i',$name)){
               
// Change textarea to text_format
               
$form['strings'][$name]['#type'] = 'text_format';
               
$form['strings'][$name]['#description'] = '<br/>';
            }
        }
    }
}
?>
rOnnie974’s picture

Sorry, I do not understand as I'm new to Drupal…

smithlr08’s picture

Has anyone resolved this issue? I have the same problem but with all my blocks. I would appreciate it if anyone has an update.

Thanks

jurveen’s picture

Thank you, this worked for me! However, I had to replace $form['strings'] with $form['strings']['all'].

One strange issue: the text format 'jumps' back to Filtered HTML instead of Full HTML, even when I'm logged in as user1. Any ideas?

Kristen Pol’s picture

When you are having an issue with a particular module, it is typically best to look in the module's issue queue for related issues and create a new issue if you can't find any.

Here are two related issues:

http://drupal.org/node/1324986
http://drupal.org/node/1252144

Kristen

-Kristen
Blog: http://kristen.org
Drupal 7 Multilingual Sites: http://kristen.org/book

pipicom’s picture

kiliweb’s picture