ソースを参照

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

Kamil Piechaczek 5 年 前
コミット
75ba6029b9

+ 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
 	} )