瀏覽代碼

Docs: Enabled preserving font-family and font-size values when pasting from Office. [skip ci]

Kamil Piechaczek 5 年之前
父節點
當前提交
75ba6029b9
共有 1 個文件被更改,包括 6 次插入0 次删除
  1. 6 0
      packages/ckeditor5-paste-from-office/docs/_snippets/features/paste-from-office.js

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

@@ -64,6 +64,12 @@ ClassicEditor
 				'tableCellProperties'
 			]
 		},
+		fontFamily: {
+			supportAllValues: true
+		},
+		fontSize: {
+			supportAllValues: true
+		},
 		placeholder: 'Paste the content here to test the feature.',
 		cloudServices: CS_CONFIG
 	} )