]> git.mxchange.org Git - friendica.git/blobdiff - library/tinymce/jscripts/tiny_mce/plugins/table/editor_plugin_src.js
updated tinymce to 3.5.11
[friendica.git] / library / tinymce / jscripts / tiny_mce / plugins / table / editor_plugin_src.js
index 532b79c6faa2410dbdece76d9181736547d6ace4..045648376d264fa649edd9b09043764e4aa49471 100644 (file)
 
                                        // Add something to the inner node
                                        if (curNode)
-                                               curNode.innerHTML = tinymce.isIE ? '&nbsp;' : '<br data-mce-bogus="1" />';
+                                               curNode.innerHTML = tinymce.isIE && !tinymce.isIE11 ? '&nbsp;' : '<br data-mce-bogus="1" />';
 
                                        return false;
                                }
                        if (formatNode) {
                                cell.appendChild(formatNode);
                        } else {
-                               if (!tinymce.isIE)
+                               if (!tinymce.isIE || tinymce.isIE11)
                                        cell.innerHTML = '<br data-mce-bogus="1" />';
                        }
 
 
                                        if (last && last.nodeName == 'TABLE') {
                                                if (ed.settings.forced_root_block)
-                                                       ed.dom.add(ed.getBody(), ed.settings.forced_root_block, null, tinymce.isIE ? '&nbsp;' : '<br data-mce-bogus="1" />');
+                                                       ed.dom.add(ed.getBody(), ed.settings.forced_root_block, null, tinymce.isIE && !tinymce.isIE11 ? '&nbsp;' : '<br data-mce-bogus="1" />');
                                                else
                                                        ed.dom.add(ed.getBody(), 'br', {'data-mce-bogus': '1'});
                                        }