1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-22 06:39:43 +02:00

Update to TinyMCE latest build

This commit is contained in:
sauls8t 2018-01-25 16:14:37 +00:00
parent 412127811e
commit 2d8dc62ca4
108 changed files with 7810 additions and 7897 deletions

View file

@ -70,7 +70,7 @@ var bbcode = (function () {
rep(/\[quote.*?\](.*?)\[\/quote\]/gi, '<span class="quoteStyle">$1</span>&nbsp;');
return s;
};
var $_eid5q8ijcg89c0w = {
var $_5kn4tz8jjcun3xhr = {
html2bbcode: html2bbcode,
bbcode2html: bbcode2html
};
@ -79,14 +79,14 @@ var bbcode = (function () {
return {
init: function (editor) {
editor.on('beforeSetContent', function (e) {
e.content = $_eid5q8ijcg89c0w.bbcode2html(e.content);
e.content = $_5kn4tz8jjcun3xhr.bbcode2html(e.content);
});
editor.on('postProcess', function (e) {
if (e.set) {
e.content = $_eid5q8ijcg89c0w.bbcode2html(e.content);
e.content = $_5kn4tz8jjcun3xhr.bbcode2html(e.content);
}
if (e.get) {
e.content = $_eid5q8ijcg89c0w.html2bbcode(e.content);
e.content = $_5kn4tz8jjcun3xhr.html2bbcode(e.content);
}
});
}

0
gui/public/tinymce/plugins/bbcode/plugin.min.js vendored Executable file → Normal file
View file