Revize 4bc99591
Přidáno uživatelem Lukáš Vlček před asi 2 roky(ů)
webapp/pages/annotation/[id].tsx | ||
---|---|---|
5 | 5 |
import 'antd/dist/antd.css'; |
6 | 6 |
import styles from '/styles/Annotation.module.scss'; |
7 | 7 |
import AnnotationProvider from '../../contexts/AnnotationContext'; |
8 |
import TagCategoryProvider from '../../contexts/TagCategoryContext'; |
|
9 |
|
|
8 | 10 |
import { useRouter } from 'next/router'; |
9 | 11 |
|
10 | 12 |
/** |
... | ... | |
27 | 29 |
|
28 | 30 |
return ( |
29 | 31 |
<AnnotationProvider annotationId={annotationId}> |
30 |
<MainLayout> |
|
31 |
<div className={styles.layoutWrapper}> |
|
32 |
<div className={styles.tags}> |
|
33 |
<TagPanel /> |
|
34 |
</div> |
|
35 |
<div className={styles.document}> |
|
36 |
<DocumentAnnotationView /> |
|
37 |
</div> |
|
38 |
<div className={styles.annotations}> |
|
39 |
<AnnotationPanel /> |
|
32 |
<TagCategoryProvider> |
|
33 |
<MainLayout> |
|
34 |
<div className={styles.layoutWrapper}> |
|
35 |
<div className={styles.tags}> |
|
36 |
<TagPanel /> |
|
37 |
</div> |
|
38 |
<div className={styles.document}> |
|
39 |
<DocumentAnnotationView /> |
|
40 |
</div> |
|
41 |
<div className={styles.annotations}> |
|
42 |
<AnnotationPanel /> |
|
43 |
</div> |
|
40 | 44 |
</div> |
41 |
</div>
|
|
42 |
</MainLayout>
|
|
45 |
</MainLayout>
|
|
46 |
</TagCategoryProvider>
|
|
43 | 47 |
</AnnotationProvider> |
44 | 48 |
); |
45 | 49 |
} |
Také k dispozici: Unified diff
Adding tag/subtag to selected text