X-Git-Url: https://scm.cri.minesparis.psl.eu/git/ckeditor.git/blobdiff_plain/871bad8291b6dbc29d489d95d185458caab25158..14d450d78a2d67ec1decd64c928151851961dd36:/_source/plugins/sourcearea/plugin.js?ds=sidebyside diff --git a/_source/plugins/sourcearea/plugin.js b/_source/plugins/sourcearea/plugin.js deleted file mode 100644 index 4e9e0da..0000000 --- a/_source/plugins/sourcearea/plugin.js +++ /dev/null @@ -1,209 +0,0 @@ -/* -Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.html or http://ckeditor.com/license -*/ - -/** - * @fileOverview The "sourcearea" plugin. It registers the "source" editing - * mode, which displays the raw data being edited in the editor. - */ - -CKEDITOR.plugins.add( 'sourcearea', -{ - requires : [ 'editingblock' ], - - init : function( editor ) - { - var sourcearea = CKEDITOR.plugins.sourcearea, - win = CKEDITOR.document.getWindow(); - - editor.on( 'editingBlockReady', function() - { - var textarea, - onResize; - - editor.addMode( 'source', - { - load : function( holderElement, data ) - { - if ( CKEDITOR.env.ie && CKEDITOR.env.version < 8 ) - holderElement.setStyle( 'position', 'relative' ); - - // Create the source area