Sfoglia il codice sorgente

Added ImageCaption plugin to issue's manual test and temporary note describing external issue.

Szymon Kupś 8 anni fa
parent
commit
ea65e1395b

+ 2 - 1
packages/ckeditor5-image/tests/manual/tickets/127/1.js

@@ -12,13 +12,14 @@ import Paragraph from '@ckeditor/ckeditor5-paragraph/src/paragraph';
 import Link from '@ckeditor/ckeditor5-link/src/link';
 import Bold from '@ckeditor/ckeditor5-basic-styles/src/bold';
 import Image from '../../../../src/image';
+import ImageCaption from '../../../../src/imagecaption';
 import Undo from '@ckeditor/ckeditor5-undo/src/undo';
 import ContextualToolbar from '@ckeditor/ckeditor5-ui/src/toolbar/contextual/contextualtoolbar';
 import ImageToolbar from '../../../../src/imagetoolbar';
 
 ClassicEditor
 	.create( document.querySelector( '#editor' ), {
-		plugins: [ Enter, Typing, Paragraph, Link, Bold, Image, Undo, ImageToolbar, ContextualToolbar ],
+		plugins: [ Enter, Typing, Paragraph, Link, Bold, Image, Undo, ImageToolbar, ContextualToolbar, ImageCaption ],
 		toolbar: [ 'bold', 'undo', 'redo' ],
 	} )
 	.then( editor => {

+ 4 - 1
packages/ckeditor5-image/tests/manual/tickets/127/1.md

@@ -2,4 +2,7 @@
 
 1. Place caret at the end of the link.
 1. Type two letters.
-1. No error should be displayed to console, and normal typing should be possible. 
+1. (See the note below) No error should be displayed to console, and normal typing should be possible. 
+
+NOTE: Because of [the issue in typing](https://github.com/ckeditor/ckeditor5-typing/issues/120) after typing first letter selection will be moved to the beginning of the link.  
+This note will be removed when issue will be resolved.