瀏覽代碼

Internal: Code style.

Piotrek Koszuliński 6 年之前
父節點
當前提交
6d75343dde
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      packages/ckeditor5-engine/src/conversion/upcasthelpers.js

+ 2 - 2
packages/ckeditor5-engine/src/conversion/upcasthelpers.js

@@ -238,8 +238,8 @@ export default class UpcastHelpers extends ConversionHelpers {
 	 *		} );
 	 *		} );
 	 *
 	 *
 	 * Converting styles works a bit differently as it requires `view.styles` to be an object and by default
 	 * Converting styles works a bit differently as it requires `view.styles` to be an object and by default
-	 * a model attribute will be set to `true` by such a converter. You can set the model attribute to any value by providing the `value` callback
-	 * that returns a desired value.
+	 * a model attribute will be set to `true` by such a converter. You can set the model attribute to any value by providing the `value`
+	 * callback that returns the desired value.
 	 *
 	 *
 	 *		// Default conversion of font-weight style will result in setting bold attribute to true.
 	 *		// Default conversion of font-weight style will result in setting bold attribute to true.
 	 *		editor.conversion.for( 'upcast' ).attributeToAttribute( {
 	 *		editor.conversion.for( 'upcast' ).attributeToAttribute( {