Make WordPress Core

Ticket #3466: tiny-fixes.diff

File tiny-fixes.diff, 1.0 KB (added by andy, 19 years ago)
  • wp-includes/js/tinymce/plugins/inlinepopups/editor_plugin.js

     
    558558        e.parentNode.removeChild(e);
    559559
    560560        mcWindows.setDocumentLock(false);
     561
     562        tinyMCE.selectedInstance.getWin().focus();
    561563};
    562564
    563565TinyMCE_Window.prototype.onMouseMove = function(e) {
  • wp-includes/js/tinymce/tiny_mce.js

     
    28132813                                if (tinyMCE.isGecko && this.getSel().isCollapsed) {
    28142814                                        focusElm = tinyMCE.getParentElement(focusElm, 'A');
    28152815
    2816                                         if (focusElm)
     2816                                        if (focusElm && this.getRng(0).endOffset > 0 && this.getRng(0).endOffset != focusElm.innerHTML.length)
    28172817                                                this.selection.selectNode(focusElm, false);
    28182818                                }
    28192819