Browse Source

Use numerical values as options in fontSize dropdown when "fontSize.supportAllValues=true".

Kamil Piechaczek 5 years ago
parent
commit
9268f83af3

+ 1 - 0
packages/ckeditor5-paste-from-office/docs/_snippets/features/paste-from-office.js

@@ -68,6 +68,7 @@ ClassicEditor
 			supportAllValues: true
 		},
 		fontSize: {
+			options: [ 10, 12, 14, 'default', 18, 20, 22 ],
 			supportAllValues: true
 		},
 		placeholder: 'Paste the content here to test the feature.',