Sfoglia il codice sorgente

Improved wording in manual tests.

Piotrek Koszuliński 8 anni fa
parent
commit
b116bf2cc9

+ 2 - 2
packages/ckeditor5-engine/tests/manual/tickets/880/1.js

@@ -17,9 +17,9 @@ ClassicEditor.create( document.querySelector( '#editor' ), {
 .then( editor => {
 .then( editor => {
 	window.editor = editor;
 	window.editor = editor;
 
 
-	editor.editing.view.on( 'selectionChangeDone', () => {
+	editor.editing.view.on( 'selectionChange', () => {
 		editor.document.enqueueChanges( () => {} );
 		editor.document.enqueueChanges( () => {} );
-		console.log( 'selectionChangeDone', ( new Date() ).getTime() );
+		console.log( 'selectionChange', ( new Date() ).getTime() );
 	} );
 	} );
 } )
 } )
 .catch( err => {
 .catch( err => {

+ 12 - 5
packages/ckeditor5-engine/tests/manual/tickets/880/1.md

@@ -1,7 +1,14 @@
-## Renderer - Infinite selectionChange event
+## Renderer - infinite `selectionChange` event
 
 
-1. Focus editor.
-1. Place selection like `This is {an <strong>editor}</strong> instance.` (must end on the end of inline style)
+Place the selection like this:
 
 
-**Expected**: Every time selection is changed, console log with `selectionChangeDone` is printed once.
-While creating selection from **2.**, there might be `renderer-selection-similar` warning visible in the console.
+```
+This is {an <strong>editor}</strong> instance.
+```
+
+(it must end at the end of the inline style)
+
+**Expected**:
+
+* Every time selection is changed, console log with `selectionChange` is printed once.
+* While creating selection from **2.**, there might be `renderer-selection-similar` warning visible in the console.

+ 6 - 4
packages/ckeditor5-engine/tests/manual/tickets/887/1.md

@@ -1,8 +1,10 @@
-## Renderer - MacOS accent balloon similar selection
+## Renderer - MacOS accent balloon on inline element boundary
 
 
-1. Place selection like `This is an <strong>editor{}</strong> instance.`
+1. Place the selection like this:
+
+   `This is an <strong>editor{}</strong> instance.`
 2. Open MacOS accent balloon (e.g. long `a` press).
 2. Open MacOS accent balloon (e.g. long `a` press).
-3. Navigate through balloon panel with arrow keys.
+3. Navigate through the balloon panel using arrow keys.
 
 
-**Expected**: It is possible to navigate with arrow keys inside MacOS balloon panel. While navigating, there
+**Expected**: It is possible to navigate with arrow keys inside the MacOS balloon panel. While navigating, there
 might be `renderer-selection-similar` warning visible in the console.
 might be `renderer-selection-similar` warning visible in the console.