diff --git a/src/controls/richText/RichText.tsx b/src/controls/richText/RichText.tsx index ec31a0f37..46e177037 100644 --- a/src/controls/richText/RichText.tsx +++ b/src/controls/richText/RichText.tsx @@ -695,7 +695,7 @@ export class RichText extends React.Component { private onChangeList = (_event: React.FormEvent, item?: IDropdownOption, _index?: number): void => { // if we're already in list mode, toggle off const key = item.key; - const newAlignValue = (key === 'bullet' && this.state.formats.list === 'bullet') || (key === 'numbered' && this.state.formats.list === 'numbered') ? false : key; + const newAlignValue = (key === 'bullet' && this.state.formats.list === 'bullet') || (key === 'ordered' && this.state.formats.list === 'ordered') ? false : key; this.applyFormat("list", newAlignValue); }