Hello everyone.
I have upgraded my website to TinyMCE 5.0.6 (Dolphin 7.4.2 with PHP 7.1.23)
The steps to upgrade are:
1. copy /plugins/tinymce/* to /backup/ folder and backup /templates/base/scripts/BxBaseEditorTinyMCE.php
2. download TinyMCE 5.0.6
https://www.tiny.cloud/get-tiny/self-hosted/
3. unzip TinyMCE 5.0.6 and copy tinymce/js/tinymce/* to your /plugins/tinymce/
4. restore from /backup/plugins/tinymce/plugins/emoticons/img/ to TinyMCE 5.0 of the /plugins/tinymce/plugins/emoticons/img/
5. Modify the BxBaseEditorTinyMCE.php of PHP code :
modify skin and add theme_url
protected static $CONF_COMMON = " jQuery('{bx_var_selector}').tinymce({ {bx_var_custom_init} {bx_var_custom_conf} document_base_url: '{bx_url_root}', skin: 'oxide', theme_url: '{bx_url_tinymce}themes/silver/theme.min.js', language: '{bx_var_lang}', language_url: '{bx_url_tinymce}langs/{bx_var_lang}.js', content_css: '{bx_var_css_path}', entity_encoding: 'raw', browser_spellcheck: true });
protected static $CONF_STANDARD = " external_plugins: { {modules} }, width: '100%', height: 270, toolbar: 'undo redo | styleselect | bold italic | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | link image', statusbar: true, resize: true,
protected static $CONF_MINI = " menubar: false, external_plugins: { {modules} }, width: '100%', height: 150, toolbar: 'bold italic underline removeformat | bullist numlist | alignleft aligncenter alignright | blockquote | link unlink image', statusbar: false, ";
protected static $CONF_FULL = " external_plugins: { {modules} }, width: '100%', height: 320, toolbar: [ 'undo redo | styleselect | bold italic | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | link image', 'print preview media | forecolor emoticons' ], statusbar: true, resize: true, image_advtab: true, ";