1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-31 20:00:37 +02:00

Fixes #1155 - TinyMce not saving changes. Rolled back TinyMce to v4.0 before issue began.

This commit is contained in:
Cameron
2015-08-20 14:58:50 -07:00
parent 215b539675
commit 0176b3e3fd
4 changed files with 37 additions and 22 deletions

View File

@@ -12,12 +12,9 @@
(function() {
tinymce.create('tinymce.plugins.e107Plugin', {
init : function(ed,url) {
var t = this, dialect = ed.getParam('bbcode_dialect', 'e107').toLowerCase();
@@ -27,11 +24,10 @@
ed.on('postProcess', function(e) {
// console.log(e);
// alert(e.content); // remove comment to test Firefox issue: http://www.tinymce.com/develop/bugtracker_view.php?id=7655
// console.log(e);
// alert(e.content); // remove comment to test Firefox issue: http://www.tinymce.com/develop/bugtracker_view.php?id=7655
if (e.set) {
e.content = t['_' + dialect + '_bbcode2html'](e.content, url);