Upgrade to TinyMCE 5.0.6

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
                    });
change height: '270' to height: 270, and remove theme_url.
   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,
change height: '150' to height: 150, and remove theme_url.
    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,
    ";
change height: '320' to height: 320, and remove theme_url.
    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,
    ";
 
6. delete cache_public/* all files and Apache cache all files (If you have used Apache cache) and your Browser cache 
 
7. Good luck.
 
If you need to see the TinyMCE 5.0.6 demo, please go to my website : insoler.com
https://www.insoler.com/ The first social supports photographer's communication in RAW !
Quote · 1 Jun 2019

Now you can upgrade to TinyMCE 5.0.7.

 

Version 5.0.7 June 5, 2019

 

ADDED new toolbar button and menu item for inserting tables via dialog.

ADDED new API for adding/removing/changing tabs in the Help dialog.

ADDED highlighting of matched text in autocompleter items.

ADDED the ability for autocompleters to work with matches that include spaces.

ADDED new imagetools_fetch_image callback to allow custom implementations for cors loading of images.

ADDED 'http' and https options to link_assume_external_targets to prepend http:// or https:// prefixes when URL does not contain a protocol prefix. Patch contributed by francoisfreitag.

CHANGED annotations navigation to work the same as inline boundaries.

CHANGED tabpanel API by adding a name field and changing relevant methods to use it.

FIXED text color not updating all color buttons when choosing a color.

FIXED the autocompleter not working with fragmented text.

FIXED the autosave plugin no longer overwrites window.onbeforeunload.

FIXED infinite loop in the paste plugin when IE11 takes a long time to process paste events. Patch contributed by lRawd.

FIXED image handle locations when using fixed_toolbar_container. Patch contributed by t00.

FIXED the autoresize plugin not firing ResizeEditor events.

FIXED editor in fullscreen mode not extending to the bottom of the screen.

FIXED list removal when pressing backspace after the start of the list item.

FIXED autocomplete not triggering from compositionend events.

FIXED file_picker_callback could not set the caption field on the insert image dialog.

FIXED the autocompleter menu showing up after a selection had been made.

FIXED an exception being thrown when a file or number input has focus during initialization. Patch contributed by t00.

https://www.insoler.com/ The first social supports photographer's communication in RAW !
Quote · 9 Jun 2019

Version 5.0.8 June 18, 2019

  • ADDED back support for multiple toolbars.
  • ADDED support for .m4a files to the media plugin.
  • ADDED new base_url and suffix editor init options.
  • FIXED incorrect padding for select boxes with visible values.
  • FIXED selection incorrectly changing when programmatically setting selection on contenteditable false elements.
  • FIXED sidebar background being transparent.
  • FIXED the build to remove duplicate iife wrappers.
  • FIXED bogus autocompleter span appearing in content when the autocompleter menu is shown.
  • FIXED toolbar font size select not working with legacyoutput plugin.
  • FIXED the legacyoutput plugin incorrectly aligning images.
  • FIXED remove color not working when using the legacyoutput plugin.
  • FIXED the font size menu applying incorrect sizes when using the legacyoutput plugin.
  • FIXED scrollIntoView not working when the parent window was out of view.
  • FIXED the print plugin printing from the wrong window in IE11.
  • FIXED content CSS loaded over CORS not loading in the preview plugin with content_css_cors enabled.
  • FIXED the link plugin missing the default “None” option for link list.
  • FIXED small dot visible with menubar and toolbar disabled in inline mode.
  • FIXED space key properly inserts a nbsp before/after block elements.
  • FIXED native context menu not showing with images in IE11.
  • FIXED inconsistent browser context menu image selection.
https://www.insoler.com/ The first social supports photographer's communication in RAW !
Quote · 8d ago
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.