浏览代码

Merge pull request #96 from ckeditor/i/6550

Docs: Use numerical values as options in font size dropdown when fontSize.supportAllValues=true. See ckeditor/ckeditor5-font#62
Piotrek Koszuliński 5 年之前
父节点
当前提交
a03a06b73d
共有 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
 			supportAllValues: true
 		},
 		},
 		fontSize: {
 		fontSize: {
+			options: [ 10, 12, 14, 'default', 18, 20, 22 ],
 			supportAllValues: true
 			supportAllValues: true
 		},
 		},
 		placeholder: 'Paste the content here to test the feature.',
 		placeholder: 'Paste the content here to test the feature.',