浏览代码

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

Kamil Piechaczek 5 年之前
父节点
当前提交
9268f83af3
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      packages/ckeditor5-paste-from-office/docs/_snippets/features/paste-from-office.js

+ 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.',