Skip to content

Commit

Permalink
trt
Browse files Browse the repository at this point in the history
  • Loading branch information
luojiyin1987 committed Jul 4, 2024
1 parent e8dbdfa commit a180883
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions components/Git/ArticleEditor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ import { blobOf, formatDate, uniqueID } from 'web-utility';
import YAML from 'yaml';

import { GitRepositoryModel, userStore } from '../../models/Repository';
import HTMLEditor from '../Form/HTMLEditor';
import { ListField } from '../Form/JSONEditor';
import { MarkdownEditor } from '../Form/MarkdownEditor';
import { PathSelect } from './PathSelect';
Expand Down Expand Up @@ -59,7 +60,7 @@ export class ArticleEditor extends Component {
path = '';
URL = '';

private Core = createRef<MarkdownEditor>();
private Core = createRef<HTMLEditor>();

get core() {
return this.Core.current;
Expand Down Expand Up @@ -313,7 +314,7 @@ export class ArticleEditor extends Component {
{copied ? '√' : ''} Copy MarkDown
</Button>
</div>
<MarkdownEditor ref={this.Core} />
<HTMLEditor ref={this.Core} />
</Form.Group>
</Form>
);
Expand Down

0 comments on commit a180883

Please sign in to comment.