Browse Source

Update to TinyMCE 5.8.2

pull/8107/head
Aleksander Machniak 4 years ago
parent
commit
b69d20ea19
  1. 2
      CHANGELOG.md
  2. 6
      jsdeps.json
  3. 2
      program/js/editor.js

2
CHANGELOG.md

@ -2,7 +2,7 @@
## Unreleased ## Unreleased
- Upgrade to TinyMCE 5.8.0
- Upgrade to TinyMCE 5.8.2
- SMTP XCLIENT support (#7893, #6411) - SMTP XCLIENT support (#7893, #6411)
- Add IDN homograph attack (spoofing) detection [CVE-2019-15237] (#6891) - Add IDN homograph attack (spoofing) detection [CVE-2019-15237] (#6891)
- Add configuration options for subject prefixes (#7929, #4981) - Add configuration options for subject prefixes (#7929, #4981)

6
jsdeps.json

@ -36,10 +36,10 @@
}, },
{ {
"lib": "tinymce", "lib": "tinymce",
"version": "5.8.0",
"version": "5.8.2",
"url": "https://download.tiny.cloud/tinymce/community/tinymce_$v.zip", "url": "https://download.tiny.cloud/tinymce/community/tinymce_$v.zip",
"dest": "program/js", "dest": "program/js",
"sha1": "7982f2f09d4732e71b91b9ebfa25d133c1e658d0",
"sha1": "ca0d7e814419920b117dbc5681f1f63669ccc4f6",
"license": "LGPL", "license": "LGPL",
"copyright": "Copyright (c) Tiny Technologies, Inc. All rights reserved", "copyright": "Copyright (c) Tiny Technologies, Inc. All rights reserved",
"rm": "program/js/tinymce", "rm": "program/js/tinymce",
@ -55,7 +55,7 @@
}, },
{ {
"lib": "tinymce-langs", "lib": "tinymce-langs",
"version": "5.8.0",
"version": "5.8.2",
"url": "https://www.tiny.cloud/tinymce-services-azure/1/i18n/download?langs=ar,hy,az,eu,be,bs,bg_BG,ca,zh_CN,zh_TW,hr,cs,cs_CZ,da,nl,en_CA,en_GB,eo,et,fo,fi,fr_FR,fr_CH,gd,gl,ka_GE,de,de_AT,el,he_IL,hi_IN,hu_HU,is_IS,id,ga,it,ja,kab,km_KH,ko_KR,ku,ku_IQ,lv,lt,lb,mk_MK,ml_IN,nb_NO,oc,fa,fa_IR,pl,pt_BR,pt_PT,ro,ru,sk,sl_SI,es,es_MX,sv_SE,tg,ta,ta_IN,tt,th_TH,tr,tr_TR,ug,uk,uk_UA,vi,vi_VN,cy&v=$v&extension=.zip", "url": "https://www.tiny.cloud/tinymce-services-azure/1/i18n/download?langs=ar,hy,az,eu,be,bs,bg_BG,ca,zh_CN,zh_TW,hr,cs,cs_CZ,da,nl,en_CA,en_GB,eo,et,fo,fi,fr_FR,fr_CH,gd,gl,ka_GE,de,de_AT,el,he_IL,hi_IN,hu_HU,is_IS,id,ga,it,ja,kab,km_KH,ko_KR,ku,ku_IQ,lv,lt,lb,mk_MK,ml_IN,nb_NO,oc,fa,fa_IR,pl,pt_BR,pt_PT,ro,ru,sk,sl_SI,es,es_MX,sv_SE,tg,ta,ta_IN,tt,th_TH,tr,tr_TR,ug,uk,uk_UA,vi,vi_VN,cy&v=$v&extension=.zip",
"dest": "program/js/tinymce" "dest": "program/js/tinymce"
}, },

2
program/js/editor.js

@ -39,7 +39,7 @@ function rcube_text_editor(config, id)
abs_url = location.href.replace(/[?#].*$/, '').replace(/\/$/, ''), abs_url = location.href.replace(/[?#].*$/, '').replace(/\/$/, ''),
conf = { conf = {
selector: '#' + ($('#' + id).is('.mce_editor') ? id : 'fake-editor-id'), selector: '#' + ($('#' + id).is('.mce_editor') ? id : 'fake-editor-id'),
cache_suffix: 's=5080000',
cache_suffix: 's=5080200',
theme: 'silver', theme: 'silver',
language: config.lang, language: config.lang,
content_css: rcmail.assets_path(config.content_css), content_css: rcmail.assets_path(config.content_css),

Loading…
Cancel
Save