Fix cache issue with ckeditor css

This commit is contained in:
yflory
2019-01-08 17:47:22 +01:00
parent 573a3557f1
commit 6af7d393fd
3 changed files with 4 additions and 2 deletions

View File

@@ -452,6 +452,9 @@ define([
var $iframe = $('html').find('iframe').contents();
var ifrWindow = $html.find('iframe')[0].contentWindow;
var customCss = '/customize/ckeditor-contents.css?' + CKEDITOR.CRYPTPAD_URLARGS;
$iframe.find('head').append('<link href="' + customCss + '" type="text/css" rel="stylesheet" _fcktemp="true"/>')
framework._.sfCommon.addShortcuts(ifrWindow);
var documentBody = ifrWindow.document.body;