瀏覽代碼

Docs: Simplified balloon block build documentation by removing the button positioning tips (now set by the build theme).

Aleksander Nowodzinski 7 年之前
父節點
當前提交
053f7d75bc
共有 2 個文件被更改,包括 0 次插入13 次删除
  1. 0 5
      docs/_snippets/examples/balloon-block-editor.html
  2. 0 8
      docs/builds/guides/quick-start.md

+ 0 - 5
docs/_snippets/examples/balloon-block-editor.html

@@ -34,9 +34,4 @@
 		margin-left: 5%;
 		margin-right: 5%;
 	}
-
-	/* Give the block toolbar button some space, moving it a few pixels away from the editable area. */
-	.ck.ck-block-toolbar-button {
-		transform: translateX( -10px );
-	}
 </style>

+ 0 - 8
docs/builds/guides/quick-start.md

@@ -199,8 +199,6 @@ Call the {@link module:editor-balloon/ballooneditor~BalloonEditor#create `Balloo
 </script>
 ```
 
-**Note:** We recommend to adjust the position of the block toolbar button using CSS (see the example below) to your liking. By default, the block toolbar button will be attached directly to the boundary of the editable content area.
-
 **Note:** You can configure the block toolbar items using the {@link module:core/editor/editorconfig~EditorConfig#blockToolbar `config.blockToolbar`} option.
 
 ### Example
@@ -225,12 +223,6 @@ Call the {@link module:editor-balloon/ballooneditor~BalloonEditor#create `Balloo
 				console.error( error );
 			} );
 	</script>
-	<style>
-		/* Give the block toolbar button some space, moving it a few pixels away from the editable area. */
-		.ck.ck-block-toolbar-button {
-			transform: translateX( -10px );
-		}
-	</style>
 </body>
 </html>
 ```