Recent posts
#1
Deutsch / Re: Nachrichten als gelesen ma...
Last post by frankvz - Today at 05:25:25 AMHallo,
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
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 AMWhere'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 AMOkay, 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 AMI don't know this plugin still works, but maybe it will help https://git.kolab.org/source/roundcubemail-plugins-kolab/browse/master/plugins/tinymce_config/tinymce_config.php
#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)? :--)
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 PMyou
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? :--)You wouldn't want to add tinymce.init part you would want to edit the conf object, ideally using the JS plugin.
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
});
#7
General Discussion / Re: Compose ISSUE
Last post by ElasticUser - 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
});
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 AMHere 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.
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 PMI'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 PMQuote 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.