TinyMCE Fix (NO MORE SUPPORTED)

Unmaintained TinyMCE Fix (NO MORE SUPPORTED) 0.7.1

No permission to download
Version 0.7.1 released
  • Fix a bug on Internet Explorer 6 & 7 that prevents the editor to load. (see here).
Version 0.7 released
  • Version number has changed... and that's all
  • This update is to remind you to upload this extension files after the XenForo 1.1.4 update
  • Just a quick feedback about one bug which is no more there:
    insertion from fast overlays to the editor with Ajax modification on Chrome iOS (not Safari) didn't work (nothing was inserted).
    This problem is no more there. This fix can come from the recent updates of Chrome iOS or from Mike modifications. I've no idea.
To update: use Chris auto installer addon or upload files & import xml


PS: you might need to edit again some XenForo files:
TinyMCE on mobile
http://xenforo.com/community/threads/tinymce-fix.39387/page-2#post-434565
TinyMCE tabs fix
http://xenforo.com/community/threads/tabs-in-wysiwyg-mode.22940/#post-433396 PART 2
  • Like
Reactions: Lucas and estranged
Version 0.63 released
  • TinyMCE Javascript for Link function with fast overlays has been updated to fix a problem on mobile broswers (iOS)
    The problem was: "When inserting a link on iOS6 (Safari or Chrome), it results in a link titled: #mce_temp_url#"
    @Thanks to Travor who found this bug

To update: use Chris auto installer addon or upload files/import xml
  • Like
Reactions: luutruong
Version 0.62 released

  • Fix a bug with the addon datawriter for user fields
    => Explanation: when a message is posted on the user profile, the "user" datawriter is called to update the user status. When the user datawriter is called, the user privacy preference option of this addon was automaticall set to disable (same bug that had the Mobile Agent Tracer addon).

    To avoid any problems, the user preference for this addon has been reinitialised.

To update: use auto-installer addon or upload files/import xml
  • Like
Reactions: Adam Howard
Version 0.61
  • Fix the sql management problem on the first init
    I'm still not sure why it occurs but I rewrote the installer and the datawriter part and it works (thanks to Evina for the test)
  • Like
Reactions: Pereira and Evina
Version 0.6 released
  • For those who selected to use TinyMCE on mobile devices (not recommended), there is now an option for your users: they can select to enable or disable it. So if you use TinyMCE on mobile devices, this option is automatic now. By default it will be enable for all users (to keep the previous behaviour). But there's an option to reverse this behaviour (see inside the options)

    new06.webp

    new06-1.webp
To update:upload files and import XML file
Edit: I forgot to write it: you will need to have installed TMS


If you were using TinyMCE on mobile devices, you will need to update manually the file you already manually edited in the past:

File to edit:
{forums}/library/XenForo/ViewPublic/Helper/Editor.php

Search (previous edit):
PHP:
            $options = XenForo_Application::get('options');
     
            if($options->tinymce_fix_mobile == 'no')
            {
                $showWysiwyg = !XenForo_Visitor::isBrowsingWith('mobile');
            }
            elseif($options->tinymce_fix_mobile == 'yes')
            {
                $showWysiwyg = true;
            }
            else
            {
                //External addon
                $visitor = XenForo_Visitor::getInstance();
                if(!$visitor->getBrowser['isMobile'] || $visitor->getBrowser['isTablet'])
                {
                    $showWysiwyg = true;
                }
                else
                {
                    $showWysiwyg = false;
                }
         
            }
Replace with:
(Pastbin link for a well formatted code)
PHP:
            //$showWysiwyg = !XenForo_Visitor::isBrowsingWith('mobile');
     
            /*Hack starts here - To remove it, just delete all code between and uncomment above line*/
            $options = XenForo_Application::get('options');
            $visitor = XenForo_Visitor::getInstance();
 
            $tinyfix_rte_mobile_option = ($options->tinymce_fix_mobile_opt_reverse) ? !$visitor->tinyfix_rte_mobile : $visitor->tinyfix_rte_mobile;
     
            if($options->tinymce_fix_mobile == 'no')
            {
                $showWysiwyg = !XenForo_Visitor::isBrowsingWith('mobile');
            }
            elseif($options->tinymce_fix_mobile == 'yes' && $tinyfix_rte_mobile_option)
            {
                $showWysiwyg = true;
            }
            else
            {
                //External addon
                $visitor = XenForo_Visitor::getInstance();
                if(!$visitor->getBrowser['isMobile'] || $visitor->getBrowser['isTablet'])
                {
                    $showWysiwyg = true;
                }
                else
                {
                    $showWysiwyg = false;
                }
            }
            /*Hack finishes here*/
  • Like
Reactions: lasertits
Version 0.54 released
This update is only to modify the TinyMCE paste plugin files (XenForo TinyMCE have them but don't use them) with the ones of the TinyMCE Enhancements addon to prevent any problems if the TinyFix is installed after.

So if you already have the TinyFix addon, it's useless to install this update.
  • Like
Reactions: Adam Howard
Version 0.53 released
  • Bug with return key on textarea fixed (ie: code/php/html button) - (on other inputs, "return/enter" key will trigger the overlay ok button)
  • Overlay framework slightly updated
To update : same as usual
  • Like
Reactions: duydangle
Version 0.52 released
Increase the z-index of the overlay to make it compatible with the TinyMCE fullscreen plugin​
To update: same as usual.
Version 0.51 released
  • [Overlay] Fix a bug with the tinyMCE bookmark & Chrome (tested)
  • [Overlay] Fix a bug of the addon with IE7 (tested)
To update, use Chris Auto installer addon or you can only upload files.

Information:
  1. If you don't see any changes, you must update your browser cache or just directly load this js file inside your browser: www.{yourforum}/js/tinymce/themes/xenforo/editor_template.js
  2. This time, the addon version will not change inside XenForo
Back
Top Bottom