mirror of
https://github.com/documize/community.git
synced 2025-07-21 14:19:43 +02:00
Update to TinyMCE latest build
This commit is contained in:
parent
412127811e
commit
2d8dc62ca4
108 changed files with 7810 additions and 7897 deletions
|
@ -70,7 +70,7 @@ var bbcode = (function () {
|
|||
rep(/\[quote.*?\](.*?)\[\/quote\]/gi, '<span class="quoteStyle">$1</span> ');
|
||||
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);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue