Roundcube Community Forum

 

Recent posts

#1
Deutsch / Re: Nachrichten als gelesen ma...
Last post by frankvz - Today at 05:25:25 AM
Hallo,

ich habe die Variable "mail_read_time" auf der Seite

/usr/share/roundcube/program/actions/settings/index.php

in der Zeile:

foreach ([5, 10, 20, 30, 30000] as $sec) {
                        $label = $rcmail->gettext(['name' => 'afternseconds', 'vars' => ['n' => $sec]]);
                        $select->add($label, $sec);
                    }

den Wert mal manuell gesetzt.

Hm, eventuell bekomme ich es so hin, eine Variable einzubauen ohne einen festen Wert.
Wenn Bedarf besteht, könnte ich versuchen es anzupassen.

Viele Grüße
Frank
#2
General Discussion / Re: Compose ISSUE
Last post by ElasticUser - Today at 04:45:19 AM
Where's the part in that TinyMCE Plugin that lets users call a custom language file?  :--)
#3
General Discussion / Re: Compose ISSUE
Last post by ElasticUser - Today at 03:05:48 AM
Okay, Thanks!  Also, please look at my default PassWord plugin post.  I added the Proper config file.  However, Errors.  :--)
#4
General Discussion / Re: Compose ISSUE
Last post by alec - Today at 01:22:12 AM
#5
General Discussion / Re: Compose ISSUE
Last post by ElasticUser - September 10, 2026, 11:34:31 PM
"You wouldn't want to add tinymce.init part you would want to edit the conf object, ideally using the JS plugin."

I'm used to editing (config.inc.php).  Where exactly is the (JS Plugin)?  And what number line is the (Config Object)?  :--) 
#6
General Discussion / Re: Compose ISSUE
Last post by SKaero - September 10, 2026, 05:23:34 PM
you
Quote from: ElasticUser on September 10, 2026, 01:35:42 AMI added the below code towards the top of (/program/js/editor.js).  Does that look Correct?  :--)

tinymce.init({
  selector: 'textarea',
  language_url: 'https://URL.***/mail-directory/program/js/tinymce/langs/custom-english.js', // Where to find it
  language: 'custom-english',  // What language pack to use
  // ... other options
});
You wouldn't want to add tinymce.init part you would want to edit the conf object, ideally using the JS plugin.
#7
General Discussion / Re: Compose ISSUE
Last post by ElasticUser - September 10, 2026, 01:35:42 AM
I added the below code towards the top of (/program/js/editor.js).  Does that look Correct?  :--)

tinymce.init({
  selector: 'textarea',
  language_url: 'https://URL.***/mail-directory/program/js/tinymce/langs/custom-english.js', // Where to find it
  language: 'custom-english',  // What language pack to use
  // ... other options
});
#8
General Discussion / Re: Compose ISSUE
Last post by SKaero - September 10, 2026, 12:08:34 AM
Here is the TinyMCE documentation on the config: https://www.tiny.cloud/docs/tinymce/5/content-localization/#language with more detail here https://www.tiny.cloud/docs/tinymce/latest/ui-localization/

Roundcube does the TinyMCE setup in the <RC root>/program/js/editor.js in the rcube_text_editor function, if you want to change the TinyMCE config you should use the JS "editor-init" plugin hook so your not editing core Roundcube files.
#9
General Discussion / Re: Compose ISSUE
Last post by ElasticUser - September 09, 2026, 11:53:14 PM
I'm up for changing the editor config.  Where is that done when I'm ready for that?  Thanks!  :--)
#10
General Discussion / Re: Compose ISSUE
Last post by SKaero - September 09, 2026, 11:24:15 PM
Quote from: ElasticUser on September 09, 2026, 04:28:53 PMIn 1.6.18 /program/js/tinymce/langs/, I don't appear to see a en_US.  What's the one for editing the TinyMCE English language In 1.6.18?  :--)
TinyMCE seems to have the english strings embedded in the main code base now so there isn't a separate file for them now. I'm not sure what the best approach would be to change them would be, my guess is create a custom language that has the changes you want but that would still require changing the editor config in order to work properly.