Skip to content
Snippets Groups Projects

Change on the slide bar's UI from pluggin annotation

2 files
+ 37
38
Compare changes
  • Side-by-side
  • Inline

Files

+ 12
12
@@ -389,6 +389,18 @@ class AnnotationCreation extends Component {
@@ -389,6 +389,18 @@ class AnnotationCreation extends Component {
player={mediaIsVideo ? VideosReferences.get(windowId) : OSDReferences.get(windowId)}
player={mediaIsVideo ? VideosReferences.get(windowId) : OSDReferences.get(windowId)}
/>
/>
<form onSubmit={this.submitForm} className={classes.section}>
<form onSubmit={this.submitForm} className={classes.section}>
 
<Grid item xs={12}>
 
<Typography variant="overline">
 
Text Content
 
</Typography>
 
</Grid>
 
<Grid item xs={12}>
 
<TextEditor
 
key={textEditorStateBustingKey}
 
annoHtml={textBody}
 
updateAnnotationBody={this.updateTextBody}
 
/>
 
</Grid>
<Grid container>
<Grid container>
{ mediaIsVideo && (
{ mediaIsVideo && (
<>
<>
@@ -450,18 +462,6 @@ class AnnotationCreation extends Component {
@@ -450,18 +462,6 @@ class AnnotationCreation extends Component {
<Grid item xs={12} style={{ marginBottom: 10 }}>
<Grid item xs={12} style={{ marginBottom: 10 }}>
<ImageFormField value={image} onChange={this.handleImgChange} />
<ImageFormField value={image} onChange={this.handleImgChange} />
</Grid>
</Grid>
<Grid item xs={12}>
<Typography variant="overline">
Text Content
</Typography>
</Grid>
<Grid item xs={12}>
<TextEditor
key={textEditorStateBustingKey}
annoHtml={textBody}
updateAnnotationBody={this.updateTextBody}
/>
</Grid>
</Grid>
</Grid>
<Grid container>
<Grid container>
<Grid item xs={12}>
<Grid item xs={12}>
Loading