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

Upgraded manual tests to the new format.

Piotrek Koszuliński 9 лет назад
Родитель
Сommit
4658d38266

+ 2 - 1
packages/ckeditor5-image/tests/manual/image.html

@@ -1,6 +1,7 @@
 <head>
-	<link rel="stylesheet" href="%APPS_DIR%ckeditor/build/modules/amd/theme/ckeditor.css">
+	<link rel="stylesheet" href="/theme/ckeditor.css">
 </head>
+
 <div id="editor">
 	<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla finibus consequat placerat. Vestibulum id tellus et mauris sagittis tincidunt quis id mauris. Curabitur consectetur lectus sit amet tellus mattis, non lobortis leo interdum. </p>
 	<figure class="image">

+ 8 - 8
packages/ckeditor5-image/tests/manual/image.js

@@ -5,14 +5,14 @@
 
 /* global document, console, window */
 
-import ClassicEditor from '/ckeditor5/editor-classic/classic.js';
-import EnterPlugin from '/ckeditor5/enter/enter.js';
-import TypingPlugin from '/ckeditor5/typing/typing.js';
-import ParagraphPlugin from '/ckeditor5/paragraph/paragraph.js';
-import HeadingPlugin from '/ckeditor5/heading/heading.js';
-import ImagePlugin from '/ckeditor5/image/image.js';
-import UndoPlugin from '/ckeditor5/undo/undo.js';
-import ClipboardPlugin from '/ckeditor5/clipboard/clipboard.js';
+import ClassicEditor from 'ckeditor5/editor-classic/classic.js';
+import EnterPlugin from 'ckeditor5/enter/enter.js';
+import TypingPlugin from 'ckeditor5/typing/typing.js';
+import ParagraphPlugin from 'ckeditor5/paragraph/paragraph.js';
+import HeadingPlugin from 'ckeditor5/heading/heading.js';
+import ImagePlugin from 'ckeditor5/image/image.js';
+import UndoPlugin from 'ckeditor5/undo/undo.js';
+import ClipboardPlugin from 'ckeditor5/clipboard/clipboard.js';
 
 ClassicEditor.create( document.querySelector( '#editor' ), {
 	plugins: [ EnterPlugin, TypingPlugin, ParagraphPlugin, HeadingPlugin, ImagePlugin, UndoPlugin, ClipboardPlugin ],

+ 0 - 3
packages/ckeditor5-image/tests/manual/image.md

@@ -1,6 +1,3 @@
-@bender-ui: collapsed
-@bender-tags: view
-
 ## Image feature
 
 * Two images with CKEditor logo should be loaded.