TinyMCE: update to 4.0.16, see #24067.

Built from https://develop.svn.wordpress.org/trunk@27062


git-svn-id: http://core.svn.wordpress.org/trunk@26935 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrew Ozz 2014-01-31 18:58:15 +00:00
parent c88f57d7c0
commit 7b4b508b91
6 changed files with 19 additions and 12 deletions

View File

@ -295,10 +295,17 @@ define("tinymce/pasteplugin/Clipboard", [
*/
function createPasteBin() {
var dom = editor.dom, body = editor.getBody();
var viewport = editor.dom.getViewPort(editor.getWin()), scrollTop, top = 20;
var viewport = editor.dom.getViewPort(editor.getWin()), scrollTop = viewport.y, top = 20;
lastRng = editor.selection.getRng();
scrollTop = editor.inline ? editor.selection.getScrollContainer().scrollTop : viewport.y;
if (editor.inline) {
var scrollContainer = editor.selection.getScrollContainer();
if (scrollContainer) {
scrollTop = scrollContainer.scrollTop;
}
}
// Calculate top cordinate this is needed to avoid scrolling to top of document
// We want the paste bin to be as close to the caret as possible to avoid scrolling

File diff suppressed because one or more lines are too long

View File

@ -1,4 +1,4 @@
// 4.0.14 (2014-01-30)
// 4.0.16 (2014-01-31)
/**
* Compiled inline version. (Library mode)
@ -253,7 +253,7 @@ define("tinymce/dom/EventUtils", [], function() {
// Use W3C method
if (doc.addEventListener) {
if (doc.readyState === "complete" || doc.readyState === "interactive") {
if (doc.readyState === "complete") {
readyHandler();
} else {
addEvent(win, 'DOMContentLoaded', readyHandler);
@ -28254,7 +28254,7 @@ define("tinymce/EditorManager", [
* @property minorVersion
* @type String
*/
minorVersion : '0.14',
minorVersion : '0.16',
/**
* Release date of TinyMCE build.
@ -28262,7 +28262,7 @@ define("tinymce/EditorManager", [
* @property releaseDate
* @type String
*/
releaseDate: '2014-01-30',
releaseDate: '2014-01-31',
/**
* Collection of editor instances.

File diff suppressed because one or more lines are too long

View File

@ -18,7 +18,7 @@ $wp_db_version = 26691;
*
* @global string $tinymce_version
*/
$tinymce_version = '4014-20140130';
$tinymce_version = '4016-20140131';
/**
* Holds the required PHP version