TinyMCE: update to 4.2.2. Changelog: https://github.com/tinymce/tinymce/blob/master/changelog.txt.
Fixes #33033, #33042. See #33083. Built from https://develop.svn.wordpress.org/trunk@33369 git-svn-id: http://core.svn.wordpress.org/trunk@33341 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
7aa41d1e37
commit
92395fdd8d
@ -12,7 +12,7 @@
|
|||||||
|
|
||||||
tinymce.ThemeManager.add('modern', function(editor) {
|
tinymce.ThemeManager.add('modern', function(editor) {
|
||||||
var self = this, settings = editor.settings, Factory = tinymce.ui.Factory,
|
var self = this, settings = editor.settings, Factory = tinymce.ui.Factory,
|
||||||
each = tinymce.each, DOM = tinymce.DOM, Rect = tinymce.ui.Rect;
|
each = tinymce.each, DOM = tinymce.DOM, Rect = tinymce.ui.Rect, FloatPanel = tinymce.ui.FloatPanel;
|
||||||
|
|
||||||
// Default menus
|
// Default menus
|
||||||
var defaultMenus = {
|
var defaultMenus = {
|
||||||
@ -480,8 +480,10 @@ tinymce.ThemeManager.add('modern', function(editor) {
|
|||||||
|
|
||||||
function repositionHandler() {
|
function repositionHandler() {
|
||||||
function execute() {
|
function execute() {
|
||||||
|
if (editor.selection) {
|
||||||
reposition(findFrontMostMatch(editor.selection.getNode()));
|
reposition(findFrontMostMatch(editor.selection.getNode()));
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (window.requestAnimationFrame) {
|
if (window.requestAnimationFrame) {
|
||||||
window.requestAnimationFrame(execute);
|
window.requestAnimationFrame(execute);
|
||||||
@ -639,10 +641,7 @@ tinymce.ThemeManager.add('modern', function(editor) {
|
|||||||
panel.hide();
|
panel.hide();
|
||||||
|
|
||||||
// All other autohidden float panels will be closed below.
|
// All other autohidden float panels will be closed below.
|
||||||
// Need to check for hideAll since it might be a normal panel
|
FloatPanel.hideAll();
|
||||||
if (panel.hideAll) {
|
|
||||||
panel.hideAll();
|
|
||||||
}
|
|
||||||
|
|
||||||
DOM.removeClass(editor.getBody(), 'mce-edit-focus');
|
DOM.removeClass(editor.getBody(), 'mce-edit-focus');
|
||||||
}
|
}
|
||||||
|
File diff suppressed because one or more lines are too long
14
wp-includes/js/tinymce/tinymce.min.js
vendored
14
wp-includes/js/tinymce/tinymce.min.js
vendored
File diff suppressed because one or more lines are too long
Binary file not shown.
@ -4,7 +4,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '4.3-beta3-33368';
|
$wp_version = '4.3-beta3-33369';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
@ -18,7 +18,7 @@ $wp_db_version = 33055;
|
|||||||
*
|
*
|
||||||
* @global string $tinymce_version
|
* @global string $tinymce_version
|
||||||
*/
|
*/
|
||||||
$tinymce_version = '4201-20150630';
|
$tinymce_version = '4202-20150722';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the required PHP version
|
* Holds the required PHP version
|
||||||
|
Loading…
Reference in New Issue
Block a user