Again, ooops.
This commit is contained in:
parent
cd0f1a8eb2
commit
cbed6547e2
|
@ -471,12 +471,12 @@ export class MarkdownTextArea extends Component<
|
|||
|
||||
handleInsertSubscript(i: MarkdownTextArea, event: any) {
|
||||
event.preventDefault();
|
||||
i.simpleInsert('~');
|
||||
i.simpleSurround('~');
|
||||
}
|
||||
|
||||
handleInsertSuperscript(i: MarkdownTextArea, event: any) {
|
||||
event.preventDefault();
|
||||
i.simpleInsert('^');
|
||||
i.simpleSurround('^');
|
||||
}
|
||||
|
||||
simpleInsert(chars: string) {
|
||||
|
|
Loading…
Reference in New Issue