Fix Typo (#183)
This commit is contained in:
parent
e958f5c41d
commit
9d36b8b8ca
|
@ -28,7 +28,7 @@ export const FigureBubbleMenu = (props: Props) => {
|
||||||
ref={triggerRef}
|
ref={triggerRef}
|
||||||
type="button"
|
type="button"
|
||||||
class={styles.bubbleMenuButton}
|
class={styles.bubbleMenuButton}
|
||||||
onClick={() => props.editor.chain().focus().setFigcaptionFocus(true).run()}
|
onClick={() => props.editor.chain().focus().setFigureFloat('left').run()}
|
||||||
>
|
>
|
||||||
<Icon name="editor-image-align-left" />
|
<Icon name="editor-image-align-left" />
|
||||||
</button>
|
</button>
|
||||||
|
@ -62,9 +62,7 @@ export const FigureBubbleMenu = (props: Props) => {
|
||||||
<button
|
<button
|
||||||
type="button"
|
type="button"
|
||||||
class={styles.bubbleMenuButton}
|
class={styles.bubbleMenuButton}
|
||||||
onClick={() => {
|
onClick={() => props.editor.chain().focus().setFigcaptionFocus(true).run()}
|
||||||
props.editor.chain().focus().setFigcaptionFocus(true).run()
|
|
||||||
}}
|
|
||||||
>
|
>
|
||||||
<span style={{ color: 'white' }}>{t('Add signature')}</span>
|
<span style={{ color: 'white' }}>{t('Add signature')}</span>
|
||||||
</button>
|
</button>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user