Skip to content

Commit 60381c9

Browse files
committed
fix of #948
1 parent 7b6507e commit 60381c9

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/controls/richText/RichText.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -602,7 +602,7 @@ export class RichText extends React.Component<IRichTextProps, IRichTextState> {
602602
<TooltipHost content={strings.ImageTitle}
603603
id="image-richtextbutton"
604604
calloutProps={{ gapSpace: 0 }}>
605-
<IconButton checked={this.state.formats!.link !== undefined}
605+
<IconButton //checked={this.state.formats!.link !== undefined}
606606
onClick={this.showInsertImageDialog}
607607
aria-describedby="image-richtextbutton"
608608
iconProps={{
@@ -681,7 +681,6 @@ export class RichText extends React.Component<IRichTextProps, IRichTextState> {
681681
// if we're already in list mode, toggle off
682682
const key = item.key;
683683
const newAlignValue = (key === 'bullet' && this.state.formats.list === 'bullet') || (key === 'numbered' && this.state.formats.list === 'numbered') ? false : key;
684-
console.log(newAlignValue);
685684
this.applyFormat("list", newAlignValue);
686685
}
687686

0 commit comments

Comments
 (0)