瀏覽代碼

Formatting.

Piotrek Koszuliński 5 年之前
父節點
當前提交
dde62035b6

+ 1 - 1
packages/ckeditor5-engine/docs/_snippets/framework/extending-content-custom-figure-attributes.js

@@ -3,7 +3,7 @@
  * For licensing, see LICENSE.md.
  */
 
-/* globals ClassicEditor,  console, window, document */
+/* globals ClassicEditor, console, window, document */
 
 import { CS_CONFIG } from '@ckeditor/ckeditor5-cloud-services/tests/_utils/cloud-services-config';
 

+ 2 - 2
packages/ckeditor5-engine/docs/framework/guides/deep-dive/conversion-preserving-custom-content.md

@@ -158,7 +158,7 @@ function ConvertDivAttributes( editor ) {
 		}
 	} );
 
-	// Model-to-view converter for the <div> element (attrbiutes are converted separately).
+	// Model-to-view converter for the <div> element (attributes are converted separately).
 	editor.conversion.for( 'downcast' ).elementToElement( {
 		model: 'div',
 		view: 'div'
@@ -297,7 +297,7 @@ class CustomFigureAttributes {
 	constructor( editor ) {
 		// Save reference to the editor.
 		this.editor = editor;
-}
+	}
 
 	/**
 	 * Setups conversion and extends table & image features schema.