Skip to content

Commit

Permalink
fix(Mermaid): fix MermaidView edit buttons texts (#465)
Browse files Browse the repository at this point in the history
  • Loading branch information
St1ggy authored Nov 11, 2024
1 parent 05ba62d commit 0a16c61
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,12 +85,12 @@ const DiagramEditMode: React.FC<{
<div>
<Button onClick={onCancel} view={'flat'}>
<span className={cnDiagramHelper({'prosemirror-stop-event': true})}>
Cancel
{i18n('cancel')}
</span>
</Button>
<Button onClick={() => onSave(text)} view={'action'}>
<span className={cnDiagramHelper({'prosemirror-stop-event': true})}>
Save
{i18n('save')}
</span>
</Button>
</div>
Expand Down

0 comments on commit 0a16c61

Please sign in to comment.