From 36b21e3eca22f17ed63faafb96c5ce83e315892d Mon Sep 17 00:00:00 2001 From: Xavier Morel Date: Wed, 20 Nov 2013 09:01:42 +0100 Subject: [REM] CKEDITOR development source, 4.3 final added to web client bzr revid: xmo@openerp.com-20131120080142-x5vewroum39jwn3g --- .../static/lib/ckeditor/plugins/divarea/plugin.js | 36 ---------------------- 1 file changed, 36 deletions(-) delete mode 100644 addons/website/static/lib/ckeditor/plugins/divarea/plugin.js (limited to 'addons/website/static/lib/ckeditor/plugins/divarea/plugin.js') diff --git a/addons/website/static/lib/ckeditor/plugins/divarea/plugin.js b/addons/website/static/lib/ckeditor/plugins/divarea/plugin.js deleted file mode 100644 index bf47eccb925..00000000000 --- a/addons/website/static/lib/ckeditor/plugins/divarea/plugin.js +++ /dev/null @@ -1,36 +0,0 @@ -/** - * @license Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved. - * For licensing, see LICENSE.md or http://ckeditor.com/license - */ - -/** - * @fileOverview The "divarea" plugin. It registers the "wysiwyg" editing - * mode using a DIV element. - */ - -CKEDITOR.plugins.add( 'divarea', { - afterInit: function( editor ) { - // Add the "wysiwyg" mode. - // Do that in the afterInit function, so it'll eventually overwrite - // the mode defined by the wysiwygarea plugin. - editor.addMode( 'wysiwyg', function( callback ) { - var editingBlock = CKEDITOR.dom.element.createFromHtml( '
' ); - - var contentSpace = editor.ui.space( 'contents' ); - contentSpace.append( editingBlock ); - - editingBlock = editor.editable( editingBlock ); - - editingBlock.detach = CKEDITOR.tools.override( editingBlock.detach, - function( org ) { - return function() { - org.apply( this, arguments ); - this.remove(); - }; - }); - - editor.setData( editor.getData( 1 ), callback ); - editor.fire( 'contentDom' ); - }); - } -}); -- cgit v1.2.3