Skip to content

Commit

Permalink
Set default format in demo site (#2559)
Browse files Browse the repository at this point in the history
  • Loading branch information
JiuqingSong authored Apr 4, 2024
1 parent f34b360 commit 35c3a33
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ export class DefaultFormatPane extends React.Component<DefaultFormatProps, {}> {
[NOT_SET]: 'Not Set',
'8pt': '8',
'10pt': '10',
'11pt': '11',
'12pt': '12',
'16pt': '16',
'20pt': '20',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,11 @@ const initialState: OptionState = {
announce: false,
},
contentEditFeatures: getDefaultContentEditFeatureSettings(),
defaultFormat: {},
defaultFormat: {
fontFamily: 'Calibri',
fontSize: '11pt',
textColor: '#000000',
},
linkTitle: 'Ctrl+Click to follow the link:' + UrlPlaceholder,
watermarkText: 'Type content here ...',
forcePreserveRatio: false,
Expand Down

0 comments on commit 35c3a33

Please sign in to comment.