roll back to old transform function, except in pad

This commit is contained in:
ansuz
2017-11-06 17:18:10 +01:00
parent d10f752457
commit e07bb0f7b3
2 changed files with 5 additions and 4 deletions

View File

@@ -30,6 +30,7 @@ define([
'/api/config',
'/common/common-hash.js',
'/common/common-util.js',
'/bower_components/chainpad-json-validator/json-ot.js',
'/bower_components/diff-dom/diffDOM.js',
@@ -48,7 +49,8 @@ define([
MediaTag,
ApiConfig,
Hash,
Util)
Util,
JsonOT)
{
var DiffDom = window.diffDOM;
@@ -553,6 +555,7 @@ define([
Framework.create({
toolbarContainer: '#cke_1_toolbox',
contentContainer: '#cke_1_contents',
transformFunction: JsonOT.validate,
thumbnail: {
getContainer: function () { return $('iframe').contents().find('html')[0]; },
filter: function (el, before) {