We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0620c2c commit fffaa1cCopy full SHA for fffaa1c
src/page/topic/index.tsx
@@ -43,22 +43,20 @@ const TopicDetail: React.FC<React.PropsWithChildren<Props>> = (props) => {
43
}
44
45
return (
46
- <div>
47
- <PageHeader title={data?.title}>
48
- <MdEditor
49
- className={styles.editor}
50
- readOnly
51
- view={{
52
- menu: false,
53
- md: false,
54
- html: true,
55
- }}
56
- value={data.content}
57
- renderHTML={(text) => mdParser.render(text)}
58
- // onChange={handleEditorChange}
59
- />
60
- </PageHeader>
61
- </div>
+ <PageHeader title={data?.title} onBack={() => window.history.back()}>
+ <MdEditor
+ className={styles.editor}
+ readOnly
+ view={{
+ menu: false,
+ md: false,
+ html: true,
+ }}
+ value={data.content}
+ renderHTML={(text) => mdParser.render(text)}
+ // onChange={handleEditorChange}
+ />
+ </PageHeader>
62
);
63
};
64
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
0 commit comments