back to phpList.org

Plugin tinymce local no cdn


#1

Hi,

I installed the plugin for tinymce, this however wants to connect to their CDN.
When I want host tinymce myself are there caveats to be expected?

[edit]
No, I downloaded version 4.9.4 from the tinymce-website (5 does not work), unpacked the zip-file in /js
and adjusted the path (url) to tinymce.min.js .
It works . . .

Regards,
Jan


#2

Yes, that is explained in the plugin documentation https://resources.phplist.com/plugin/tinymce#location_of_tinymce
There shouldn’t be any problems with having a local copy.

TinyMCE 5 has some incompatible changes https://www.tiny.cloud/docs/migration-from-4x/ and also appears to require an api key for each installation.


#3

Thanks duncanc,

I have TinyMCE version 4.9.4 installed in PHPlist, thats fine
.
Now I wanted to run it in german, the languagefile has been copied, but where ist the ini-file to run TinyMCE in german?

tinymce.init({
  selector: 'textarea',  // change this value according to your HTML
  language: 'de'
});

Where can I find this part of the code?

Regards,
Jan


#4

You can add that setting to those on the Settings page
image

you will also have to download a language pack
https://www.tiny.cloud/docs-4x/general-configuration-guide/localize-your-language/

Now the editor is in German
image


#5

Thanks duncanc,

I did not know that I could put it in there too.
A couple of years ago I used TinyMCE too have a customer edit a static html-file in his website.

Most of the time I use it as a part of the CMS I work with where the devs have adjusted it completely to fit the CMS. They now use MicroTiny, which I do not like.

Regards,
Jan