Skip to content

Commit

Permalink
fix of #948
Browse files Browse the repository at this point in the history
  • Loading branch information
AJIXuMuK committed Jun 30, 2021
1 parent 7b6507e commit 60381c9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/controls/richText/RichText.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -602,7 +602,7 @@ export class RichText extends React.Component<IRichTextProps, IRichTextState> {
<TooltipHost content={strings.ImageTitle}
id="image-richtextbutton"
calloutProps={{ gapSpace: 0 }}>
<IconButton checked={this.state.formats!.link !== undefined}
<IconButton //checked={this.state.formats!.link !== undefined}
onClick={this.showInsertImageDialog}
aria-describedby="image-richtextbutton"
iconProps={{
Expand Down Expand Up @@ -681,7 +681,6 @@ export class RichText extends React.Component<IRichTextProps, IRichTextState> {
// 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;
console.log(newAlignValue);
this.applyFormat("list", newAlignValue);
}

Expand Down

0 comments on commit 60381c9

Please sign in to comment.