8
0
Просмотр исходного кода

Internal: Removed autohoisting manual tests.

Oskar Wróbel 8 лет назад
Родитель
Сommit
ceea26fc8e

+ 0 - 12
packages/ckeditor5-image/tests/manual/autohoist.html

@@ -1,12 +0,0 @@
-<div id="editor">
-	<p>Lorem ipsum dolor sit amet. <img src="sample.jpg" alt="alt text" /> Lorem ipsum dolor sit amet.</p>
-</div>
-
-<br /><br />
-
-<div>
-	<p>Lorem ipsum dolor sit amet.</p>
-	<p>Foo <img src="sample.jpg" alt="pasted image alt" style="width: 30%" /> Bar</p>
-	<p>Lorem ipsum dolor sit amet.</p>
-</div>
-

+ 0 - 37
packages/ckeditor5-image/tests/manual/autohoist.js

@@ -1,37 +0,0 @@
-/**
- * @license Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
- * For licensing, see LICENSE.md.
- */
-
-/* global document, console, window */
-
-import ClassicEditor from '@ckeditor/ckeditor5-editor-classic/src/classiceditor';
-import Essentials from '@ckeditor/ckeditor5-essentials/src/essentials';
-import Paragraph from '@ckeditor/ckeditor5-paragraph/src/paragraph';
-import Heading from '@ckeditor/ckeditor5-heading/src/heading';
-import Image from '../../src/image';
-import ImageCaption from '../../src/imagecaption';
-import ImageToolbar from '../../src/imagetoolbar';
-import ImageStyle from '../../src/imagestyle';
-import Bold from '@ckeditor/ckeditor5-basic-styles/src/bold';
-import Italic from '@ckeditor/ckeditor5-basic-styles/src/italic';
-import List from '@ckeditor/ckeditor5-list/src/list';
-
-ClassicEditor
-	.create( document.querySelector( '#editor' ), {
-		plugins: [
-			Essentials,
-			Paragraph, Heading, Image, ImageToolbar,
-			ImageCaption, ImageStyle, Bold, Italic, Heading, List
-		],
-		toolbar: [ 'headings', 'undo', 'redo', 'bold', 'italic', 'bulletedList', 'numberedList' ],
-		image: {
-			toolbar: [ 'imageStyleFull', 'imageStyleSide', '|', 'imageTextAlternative' ]
-		}
-	} )
-	.then( editor => {
-		window.editor = editor;
-	} )
-	.catch( err => {
-		console.error( err.stack );
-	} );

+ 0 - 6
packages/ckeditor5-image/tests/manual/autohoist.md

@@ -1,6 +0,0 @@
-## `<img>` autohoisting.
-
-1. Check the editor with paragrah + image + paragraph was loaded and is fully functional.
-1. Try copy-pasting the content below the editor into the editor.
-   * Copy the entire content.
-   * Copy just the image (ideally, without any spaces around).