Revize 6a250c18
Přidáno uživatelem Lukáš Vlček před asi 2 roky(ů)
webapp/components/annotation/DocumentAnnotationView.tsx | ||
---|---|---|
26 | 26 |
if (!annotation) { |
27 | 27 |
return <p>Probíhá načítání anotace ...</p>; |
28 | 28 |
} |
29 |
|
|
29 |
|
|
30 | 30 |
const onChangeNote = (e: ChangeEvent<HTMLTextAreaElement>) => { |
31 | 31 |
changeDocumentNote(e.currentTarget.value); |
32 | 32 |
}; |
... | ... | |
76 | 76 |
|
77 | 77 |
return ( |
78 | 78 |
<div> |
79 |
<div className="mb-3">
|
|
79 |
<div className="mb-3">
|
|
80 | 80 |
<h5>Poznámka</h5> |
81 | 81 |
<Input.TextArea |
82 | 82 |
defaultValue={annotation.note ?? ''} |
83 | 83 |
onBlur={onChangeNote} |
84 | 84 |
/> |
85 | 85 |
</div> |
86 |
<hr /> |
|
87 |
|
|
86 | 88 |
{getCss()} |
87 | 89 |
<div onClick={detectSelectedElement}> |
88 | 90 |
{parse(annotation.documentToRender ?? '')} |
Také k dispozici: Unified diff
Layout and minor color changes