mirror of
https://github.com/LemmyNet/lemmy
synced 2024-11-23 13:03:11 +00:00
Again, ooops.
This commit is contained in:
parent
cd0f1a8eb2
commit
cbed6547e2
1 changed files with 2 additions and 2 deletions
4
ui/src/components/markdown-textarea.tsx
vendored
4
ui/src/components/markdown-textarea.tsx
vendored
|
@ -471,12 +471,12 @@ export class MarkdownTextArea extends Component<
|
||||||
|
|
||||||
handleInsertSubscript(i: MarkdownTextArea, event: any) {
|
handleInsertSubscript(i: MarkdownTextArea, event: any) {
|
||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
i.simpleInsert('~');
|
i.simpleSurround('~');
|
||||||
}
|
}
|
||||||
|
|
||||||
handleInsertSuperscript(i: MarkdownTextArea, event: any) {
|
handleInsertSuperscript(i: MarkdownTextArea, event: any) {
|
||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
i.simpleInsert('^');
|
i.simpleSurround('^');
|
||||||
}
|
}
|
||||||
|
|
||||||
simpleInsert(chars: string) {
|
simpleInsert(chars: string) {
|
||||||
|
|
Loading…
Reference in a new issue