Fix the taildoc bug

This commit is contained in:
yflory
2016-12-22 11:02:12 +01:00
parent 87abfff66b
commit 1772cc93c8
2 changed files with 4 additions and 2 deletions

View File

@@ -121,7 +121,6 @@ define([
el.setAttribute('class', 'non-realtime');
});
editor.execCommand('maximize');
var documentBody = ifrw.$('iframe')[0].contentDocument.body;
var inner = window.inner = documentBody;
@@ -629,6 +628,8 @@ define([
// this should only ever get called once, when the chain syncs
var onReady = realtimeOptions.onReady = function (info) {
editor.execCommand('maximize');
module.patchText = TextPatcher.create({
realtime: info.realtime,
//logging: true,