Przeglądaj źródła

Docs, Tests: Improved comments and manual test descriptions.

Aleksander Nowodzinski 7 lat temu
rodzic
commit
4189dde28b

+ 1 - 1
packages/ckeditor5-ui/src/toolbar/block/view/blockbuttonview.js

@@ -15,7 +15,7 @@ const toPx = toUnit( 'px' );
 /**
  * The block button view class.
  *
- * This view represents button that will be attached next to block element where the selection is placed.
+ * This view represents a button attached next to block element where the selection is anchored.
  *
  * See {@link module:ui/toolbar/block/blocktoolbar~BlockToolbar}.
  *

+ 1 - 1
packages/ckeditor5-ui/tests/manual/blocktoolbar/blocktoolbar.html

@@ -50,7 +50,7 @@
 	}
 
 	.wrapper {
-		padding: 0 20px;
+		padding: 50px 20px;
 	}
 
 	.ck-block-toolbar-button {

+ 7 - 8
packages/ckeditor5-ui/tests/manual/blocktoolbar/blocktoolbar.md

@@ -1,20 +1,19 @@
 ## Block toolbar demo
 
-1. Check if button appears next to all block elements except image (no toolbar item available).
-2. Change format of one of the block elements, panel attached to button should hide after that.
-3. Put selection in the one of the last blocks, click on button to display panel then start resize browser window
-and observe if button and panel are properly repositioned.
+1. Check if the button appears next to all block elements except the image (no toolbar item available).
+2. Change the format of one of the block elements, panel attached to button should hide after that.
+3. Put the selection in the one of the last blocks, click the button to display the panel then start resizing the browser window and observe if the button and panel are properly repositioned.
 
 ### External changes
 
 ## Typing
 
 1. Click `Start external typing`
-2. Put selection to the first paragraph (`Like all the great things...`) and click the button to open panel (be quick).
-3. Check if button and panel are repositioned correctly.
+2. Put the selection in the first paragraph (`Like all the great things...`) and click the button to open the panel (be quick).
+3. Check if the button and the panel are repositioned correctly.
 
 ## Removing
 
 1. Click `Start external deleting`
-2. Put selection to the first paragraph (`Like all the great things...`) and click the button to open panel (be quick).
-3. Check if button and panel are reattached.
+2. Put the selection in the first paragraph (`Like all the great things...`) and click the button to open the panel (be quick).
+3. Check if the button and the panel are reattached.