diff --git a/customize.dist/ckeditor-config.js b/customize.dist/ckeditor-config.js index d8936c2c4..720b289bc 100644 --- a/customize.dist/ckeditor-config.js +++ b/customize.dist/ckeditor-config.js @@ -28,7 +28,6 @@ CKEDITOR.editorConfig = function( config ) { config.font_defaultLabel = 'Arial'; config.fontSize_defaultLabel = '16'; - config.contentsCss = '/customize/ckeditor-contents.css?' + CKEDITOR.CRYPTPAD_URLARGS; config.keystrokes = [ [ CKEDITOR.ALT + 121 /*F10*/, 'toolbarFocus' ], diff --git a/www/pad/ckeditor-inner.html b/www/pad/ckeditor-inner.html index 511bd5f40..90447d78d 100644 --- a/www/pad/ckeditor-inner.html +++ b/www/pad/ckeditor-inner.html @@ -1,3 +1,3 @@ Rich Text Editor, editor1


+img,input,textarea{cursor:default}


diff --git a/www/pad/inner.js b/www/pad/inner.js index a22d8b516..18cccfc6b 100644 --- a/www/pad/inner.js +++ b/www/pad/inner.js @@ -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('') + framework._.sfCommon.addShortcuts(ifrWindow); var documentBody = ifrWindow.document.body;