8
0
Просмотр исходного кода

Docs: Update docs and snippets to use 'default' keyword instead fo 'normal'.

Maciej Gołaszewski 7 лет назад
Родитель
Сommit
2b2d1500d0

+ 1 - 1
packages/ckeditor5-font/docs/_snippets/features/custom-font-size-named-options.js

@@ -19,7 +19,7 @@ ClassicEditor
 		fontSize: {
 		fontSize: {
 			options: [
 			options: [
 				'small',
 				'small',
-				'normal',
+				'default',
 				'big'
 				'big'
 			]
 			]
 		}
 		}

+ 1 - 1
packages/ckeditor5-font/docs/_snippets/features/custom-font-size-numeric-options.js

@@ -21,7 +21,7 @@ ClassicEditor
 				9,
 				9,
 				11,
 				11,
 				13,
 				13,
-				'normal',
+				'default',
 				17,
 				17,
 				19,
 				19,
 				21
 				21

+ 4 - 4
packages/ckeditor5-font/docs/features/font.md

@@ -45,7 +45,7 @@ ClassicEditor
 
 
 It is possible to configure which font size options are supported by the editor. Use the {@link module:font/fontsize~FontSizeConfig#options `fontSize.options`} configuration option to do so.
 It is possible to configure which font size options are supported by the editor. Use the {@link module:font/fontsize~FontSizeConfig#options `fontSize.options`} configuration option to do so.
 
 
-Use the special `'normal'` keyword to use the default font size defined in the web page styles. It removes any custom font size.
+Use the special `'default'` keyword to use the default font size defined in the web page styles. It removes any custom font size.
 
 
 The font size feature supports two ways of defining the configuration: using  predefined (named) presets or simple numeric values.
 The font size feature supports two ways of defining the configuration: using  predefined (named) presets or simple numeric values.
 
 
@@ -94,7 +94,7 @@ ClassicEditor
 		fontSize: {
 		fontSize: {
 			options: [
 			options: [
 				'tiny',
 				'tiny',
-				'normal',
+				'default',
 				'big'
 				'big'
 			]
 			]
 		},
 		},
@@ -119,7 +119,7 @@ For example, `14` will be represented in the editor data as:
 <span style="font-size: 14px">...</span>
 <span style="font-size: 14px">...</span>
 ```
 ```
 
 
-Here is an example of the editor that supports numerical font sizes. Note that `'normal'` is controlled by the default styles of the web page:
+Here is an example of the editor that supports numerical font sizes. Note that `'default'` is controlled by the default styles of the web page:
 
 
 ```js
 ```js
 ClassicEditor
 ClassicEditor
@@ -129,7 +129,7 @@ ClassicEditor
 				9,
 				9,
 				11,
 				11,
 				13,
 				13,
-				'normal',
+				'default',
 				17,
 				17,
 				19,
 				19,
 				21
 				21