8
0
Piotrek Koszuliński 6 лет назад
Родитель
Сommit
1f6f5592d0

+ 1 - 1
packages/ckeditor5-engine/src/conversion/downcasthelpers.js

@@ -204,7 +204,7 @@ export default class DowncastHelpers extends ConversionHelpers {
 	 *			view: modelAttributeValue => ( { key: 'class', value: 'styled-' + modelAttributeValue } )
 	 *		} );
 	 *
-	 * *Note:* Downcasting to a style property requires providing `value` as an object:
+	 * **Note**: Downcasting to a style property requires providing `value` as an object:
 	 *
 	 *		editor.conversion.for( 'downcast' ).attributeToAttribute( {
 	 *			model: 'lineHeight',

+ 1 - 1
packages/ckeditor5-engine/src/view/styles/background.js

@@ -26,7 +26,7 @@ import { isAttachment, isColor, isPosition, isRepeat, isURL } from './utils';
  *			}
  *		};
  *
- * *Note*: Currently only `'background-color'` longhand value is parsed besides `'background'` shorthand. The reducer also supports only
+ * **Note**: Currently only `'background-color'` longhand value is parsed besides `'background'` shorthand. The reducer also supports only
  * `'background-color'` value.
  *
  * @param {module:engine/view/stylesmap~StylesProcessor} stylesProcessor

+ 2 - 2
packages/ckeditor5-engine/src/view/upcastwriter.js

@@ -270,7 +270,7 @@ export default class UpcastWriter {
 	 *			position: 'fixed'
 	 *		} );
 	 *
-	 * *Note*: Handles also normalized styles if defined. See {@link module:engine/view/stylesmap~StylesMap#set}.
+	 * **Note**: Handles also normalized styles if defined. See {@link module:engine/view/stylesmap~StylesMap#set}.
 	 *
 	 * @see module:engine/view/element~Element#_setStyle
 	 * @param {String|Object} property Property name or object with key - value pairs.
@@ -290,7 +290,7 @@ export default class UpcastWriter {
 	 *		writer.removeStyle( element, 'color' );  // Removes 'color' style.
 	 *		writer.removeStyle( element, [ 'color', 'border-top' ] ); // Removes both 'color' and 'border-top' styles.
 	 *
-	 * *Note*: Handles also normalized styles if defined. See {@link module:engine/view/stylesmap~StylesMap#remove}.
+	 * **Note**: Handles also normalized styles if defined. See {@link module:engine/view/stylesmap~StylesMap#remove}.
 	 *
 	 * @see module:engine/view/element~Element#_removeStyle
 	 * @param {Array.<String>|String} property Style property name or names to be removed.