Tinymce 4.8.4

This commit is contained in:
Diego Najar 2018-10-30 22:33:02 +01:00
parent b3f0c08ab8
commit 7227b85086
34 changed files with 80 additions and 121 deletions

View File

@ -1,10 +1,10 @@
<?php defined('BLUDIT') or die('Bludit CMS.'); <?php defined('BLUDIT') or die('Bludit CMS.');
// Bludit version // Bludit version
define('BLUDIT_VERSION', '3.2'); define('BLUDIT_VERSION', '3.3');
define('BLUDIT_CODENAME', 'Yeast'); define('BLUDIT_CODENAME', 'Water');
define('BLUDIT_RELEASE_DATE', '2018-10-20'); define('BLUDIT_RELEASE_DATE', '2018-10-30');
define('BLUDIT_BUILD', '20181020'); define('BLUDIT_BUILD', '20181030');
// Debug mode // Debug mode
// Change to FALSE, for prevent warning or errors on browser // Change to FALSE, for prevent warning or errors on browser

View File

@ -2,9 +2,9 @@
"author": "Bludit", "author": "Bludit",
"email": "", "email": "",
"website": "https://plugins.bludit.com", "website": "https://plugins.bludit.com",
"version": "3.2", "version": "3.3",
"releaseDate": "2018-10-20", "releaseDate": "2018-10-30",
"license": "MIT", "license": "MIT",
"compatible": "3.2", "compatible": "3.3",
"notes": "" "notes": ""
} }

View File

@ -2,9 +2,9 @@
"author": "Bludit", "author": "Bludit",
"email": "", "email": "",
"website": "https://plugins.bludit.com", "website": "https://plugins.bludit.com",
"version": "3.2", "version": "3.3",
"releaseDate": "2018-10-20", "releaseDate": "2018-10-30",
"license": "MIT", "license": "MIT",
"compatible": "3.2", "compatible": "3.3",
"notes": "" "notes": ""
} }

View File

@ -2,9 +2,9 @@
"author": "Bludit", "author": "Bludit",
"email": "", "email": "",
"website": "https://plugins.bludit.com", "website": "https://plugins.bludit.com",
"version": "3.2", "version": "3.3",
"releaseDate": "2018-10-20", "releaseDate": "2018-10-30",
"license": "MIT", "license": "MIT",
"compatible": "3.2", "compatible": "3.3",
"notes": "" "notes": ""
} }

View File

@ -2,9 +2,9 @@
"author": "Bludit", "author": "Bludit",
"email": "", "email": "",
"website": "https://plugins.bludit.com", "website": "https://plugins.bludit.com",
"version": "3.2", "version": "3.3",
"releaseDate": "2018-10-20", "releaseDate": "2018-10-30",
"license": "MIT", "license": "MIT",
"compatible": "3.2", "compatible": "3.3",
"notes": "" "notes": ""
} }

View File

@ -2,9 +2,9 @@
"author": "Bludit", "author": "Bludit",
"email": "", "email": "",
"website": "https://plugins.bludit.com", "website": "https://plugins.bludit.com",
"version": "3.2", "version": "3.3",
"releaseDate": "2018-10-20", "releaseDate": "2018-10-30",
"license": "MIT", "license": "MIT",
"compatible": "3.2", "compatible": "3.3",
"notes": "" "notes": ""
} }

View File

@ -2,9 +2,9 @@
"author": "Bludit", "author": "Bludit",
"email": "", "email": "",
"website": "https://plugins.bludit.com", "website": "https://plugins.bludit.com",
"version": "3.2", "version": "3.3",
"releaseDate": "2018-10-20", "releaseDate": "2018-10-30",
"license": "MIT", "license": "MIT",
"compatible": "3.2", "compatible": "3.3",
"notes": "" "notes": ""
} }

View File

@ -2,9 +2,9 @@
"author": "Bludit", "author": "Bludit",
"email": "", "email": "",
"website": "https://plugins.bludit.com", "website": "https://plugins.bludit.com",
"version": "3.2", "version": "3.3",
"releaseDate": "2018-10-20", "releaseDate": "2018-10-30",
"license": "MIT", "license": "MIT",
"compatible": "3.2", "compatible": "3.3",
"notes": "" "notes": ""
} }

View File

@ -2,9 +2,9 @@
"author": "Bludit", "author": "Bludit",
"email": "", "email": "",
"website": "https://plugins.bludit.com", "website": "https://plugins.bludit.com",
"version": "3.2", "version": "3.3",
"releaseDate": "2018-10-20", "releaseDate": "2018-10-30",
"license": "MIT", "license": "MIT",
"compatible": "3.2", "compatible": "3.3",
"notes": "" "notes": ""
} }

View File

@ -2,9 +2,9 @@
"author": "Bludit", "author": "Bludit",
"email": "", "email": "",
"website": "https://plugins.bludit.com", "website": "https://plugins.bludit.com",
"version": "3.2", "version": "3.3",
"releaseDate": "2018-10-20", "releaseDate": "2018-10-30",
"license": "MIT", "license": "MIT",
"compatible": "3.2", "compatible": "3.3",
"notes": "" "notes": ""
} }

View File

@ -2,9 +2,9 @@
"author": "Bludit", "author": "Bludit",
"email": "", "email": "",
"website": "https://plugins.bludit.com", "website": "https://plugins.bludit.com",
"version": "3.2", "version": "3.3",
"releaseDate": "2018-10-20", "releaseDate": "2018-10-30",
"license": "MIT", "license": "MIT",
"compatible": "3.2", "compatible": "3.3",
"notes": "" "notes": ""
} }

View File

@ -2,9 +2,9 @@
"author": "Bludit", "author": "Bludit",
"email": "", "email": "",
"website": "https://plugins.bludit.com", "website": "https://plugins.bludit.com",
"version": "3.2", "version": "3.3",
"releaseDate": "2018-10-20", "releaseDate": "2018-10-30",
"license": "MIT", "license": "MIT",
"compatible": "3.2", "compatible": "3.3",
"notes": "" "notes": ""
} }

View File

@ -2,9 +2,9 @@
"author": "Bludit", "author": "Bludit",
"email": "", "email": "",
"website": "https://plugins.bludit.com/plugin/remote-content", "website": "https://plugins.bludit.com/plugin/remote-content",
"version": "3.2", "version": "3.3",
"releaseDate": "2018-09-14", "releaseDate": "2018-09-14",
"license": "MIT", "license": "MIT",
"compatible": "3.2", "compatible": "3.3",
"notes": "" "notes": ""
} }

View File

@ -2,9 +2,9 @@
"author": "Bludit", "author": "Bludit",
"email": "", "email": "",
"website": "https://plugins.bludit.com", "website": "https://plugins.bludit.com",
"version": "3.2", "version": "3.3",
"releaseDate": "2018-10-20", "releaseDate": "2018-10-30",
"license": "MIT", "license": "MIT",
"compatible": "3.2", "compatible": "3.3",
"notes": "" "notes": ""
} }

View File

@ -2,9 +2,9 @@
"author": "Bludit", "author": "Bludit",
"email": "", "email": "",
"website": "https://plugins.bludit.com", "website": "https://plugins.bludit.com",
"version": "3.2", "version": "3.3",
"releaseDate": "2018-10-20", "releaseDate": "2018-10-30",
"license": "MIT", "license": "MIT",
"compatible": "3.2", "compatible": "3.3",
"notes": "" "notes": ""
} }

View File

@ -2,9 +2,9 @@
"author": "Bludit", "author": "Bludit",
"email": "", "email": "",
"website": "https://plugins.bludit.com", "website": "https://plugins.bludit.com",
"version": "3.2", "version": "3.3",
"releaseDate": "2018-10-07", "releaseDate": "2018-10-07",
"license": "MIT", "license": "MIT",
"compatible": "3.2", "compatible": "3.3",
"notes": "" "notes": ""
} }

View File

@ -2,9 +2,9 @@
"author": "Bludit", "author": "Bludit",
"email": "", "email": "",
"website": "https://plugins.bludit.com", "website": "https://plugins.bludit.com",
"version": "3.2", "version": "3.3",
"releaseDate": "2018-10-20", "releaseDate": "2018-10-30",
"license": "MIT", "license": "MIT",
"compatible": "3.2", "compatible": "3.3",
"notes": "" "notes": ""
} }

View File

@ -5,6 +5,6 @@
"version": "1.11.2", "version": "1.11.2",
"releaseDate": "2016-06-14", "releaseDate": "2016-06-14",
"license": "MIT", "license": "MIT",
"compatible": "3.2", "compatible": "3.3",
"notes": "" "notes": ""
} }

View File

@ -2,9 +2,9 @@
"author": "Bludit", "author": "Bludit",
"email": "", "email": "",
"website": "https://plugins.bludit.com", "website": "https://plugins.bludit.com",
"version": "3.2", "version": "3.3",
"releaseDate": "2018-10-20", "releaseDate": "2018-10-30",
"license": "MIT", "license": "MIT",
"compatible": "3.2", "compatible": "3.3",
"notes": "" "notes": ""
} }

View File

@ -2,9 +2,9 @@
"author": "Bludit", "author": "Bludit",
"email": "", "email": "",
"website": "https://plugins.bludit.com", "website": "https://plugins.bludit.com",
"version": "3.2", "version": "3.3",
"releaseDate": "2018-03-07", "releaseDate": "2018-03-07",
"license": "MIT", "license": "MIT",
"compatible": "3.2", "compatible": "3.3",
"notes": "" "notes": ""
} }

View File

@ -2,9 +2,9 @@
"author": "Bludit", "author": "Bludit",
"email": "", "email": "",
"website": "https://plugins.bludit.com", "website": "https://plugins.bludit.com",
"version": "3.2", "version": "3.3",
"releaseDate": "2018-10-20", "releaseDate": "2018-10-30",
"license": "MIT", "license": "MIT",
"compatible": "3.2", "compatible": "3.3",
"notes": "" "notes": ""
} }

View File

@ -2,9 +2,9 @@
"author": "TinyMCE", "author": "TinyMCE",
"email": "", "email": "",
"website": "https://www.tinymce.com", "website": "https://www.tinymce.com",
"version": "4.8.3", "version": "4.8.4",
"releaseDate": "2018-09-13", "releaseDate": "2018-10-23",
"license": "GPL v2", "license": "GPL v2",
"compatible": "3.2", "compatible": "3.3",
"notes": "" "notes": ""
} }

View File

@ -1,41 +0,0 @@
tinymce.PluginManager.add('autoheight', function(editor) {
var editor_container;
var bars_height = 0;
function resizeEditor(e) {
if (typeof(editor_container) === 'undefined') return;
try {
var element_height = parseInt(window.getComputedStyle(editor_container).height);
/*calculate bar height only once*/
if (bars_height === 0) {
var toolbars = editor_container.querySelectorAll('.mce-toolbar, .mce-statusbar, .mce-menubar');
/*IE11 FIX*/
var toolbarsLength = toolbars.length;
for (var i = 0; i < toolbarsLength; i++) {
var toolbar = toolbars[i];
/*skip sidebar*/
if (!toolbar.classList.contains('mce-sidebar-toolbar')) {
var bar_height = parseInt(window.getComputedStyle(toolbar).height);
bars_height += bar_height;
}
}
}
/*the extra 8 is for margin added between the toolbars*/
new_height = element_height - bars_height - 8;
editor.theme.resizeTo('100%', new_height);
} catch (err) {
console.log(err);
}
}
editor.on('ResizeWindow', resizeEditor);
editor.on("init", function() {
try {
editor_container = editor.getContainer().parentNode;
} catch (e) {}
setTimeout(function() {
resizeEditor();
}, 10);
});
});

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -2,9 +2,9 @@
"author": "Bludit", "author": "Bludit",
"email": "", "email": "",
"website": "https://plugins.bludit.com", "website": "https://plugins.bludit.com",
"version": "3.2", "version": "3.3",
"releaseDate": "2018-10-20", "releaseDate": "2018-10-30",
"license": "MIT", "license": "MIT",
"compatible": "3.2", "compatible": "3.3",
"notes": "" "notes": ""
} }

View File

@ -2,9 +2,9 @@
"author": "Bludit", "author": "Bludit",
"email": "", "email": "",
"website": "https://plugins.bludit.com", "website": "https://plugins.bludit.com",
"version": "3.2", "version": "3.3",
"releaseDate": "2018-10-20", "releaseDate": "2018-10-30",
"license": "MIT", "license": "MIT",
"compatible": "3.2", "compatible": "3.3",
"notes": "" "notes": ""
} }

View File

@ -2,9 +2,9 @@
"author": "Bludit", "author": "Bludit",
"email": "", "email": "",
"website": "https://themes.bludit.com", "website": "https://themes.bludit.com",
"version": "3.2", "version": "3.3",
"releaseDate": "2018-02-20", "releaseDate": "2018-02-20",
"license": "MIT", "license": "MIT",
"compatible": "3.2", "compatible": "3.3",
"notes": "" "notes": ""
} }

View File

@ -2,9 +2,9 @@
"author": "Bludit", "author": "Bludit",
"email": "", "email": "",
"website": "https://themes.bludit.com", "website": "https://themes.bludit.com",
"version": "3.2", "version": "3.3",
"releaseDate": "2018-02-20", "releaseDate": "2018-02-20",
"license": "MIT", "license": "MIT",
"compatible": "3.2", "compatible": "3.3",
"notes": "" "notes": ""
} }