summaryrefslogtreecommitdiff
path: root/animism-align/frontend/app/views/align/components/annotations
diff options
context:
space:
mode:
Diffstat (limited to 'animism-align/frontend/app/views/align/components/annotations')
-rw-r--r--animism-align/frontend/app/views/align/components/annotations/annotation.form.js1
-rw-r--r--animism-align/frontend/app/views/align/components/annotations/annotationTypes/index.js1
2 files changed, 2 insertions, 0 deletions
diff --git a/animism-align/frontend/app/views/align/components/annotations/annotation.form.js b/animism-align/frontend/app/views/align/components/annotations/annotation.form.js
index f327735..8ca3c3f 100644
--- a/animism-align/frontend/app/views/align/components/annotations/annotation.form.js
+++ b/animism-align/frontend/app/views/align/components/annotations/annotation.form.js
@@ -132,6 +132,7 @@ class AnnotationForm extends Component {
{annotation.type === 'sentence' && this.renderTextarea()}
{annotation.type === 'section_heading' && this.renderTextarea()}
{annotation.type === 'heading_text' && this.renderTextarea()}
+ {annotation.type === 'pullquote_credit' && this.renderTextarea()}
{(annotation.type in annotationFormLookup) && this.renderElementForm()}
</div>
)
diff --git a/animism-align/frontend/app/views/align/components/annotations/annotationTypes/index.js b/animism-align/frontend/app/views/align/components/annotations/annotationTypes/index.js
index 64e351d..bd0bec1 100644
--- a/animism-align/frontend/app/views/align/components/annotations/annotationTypes/index.js
+++ b/animism-align/frontend/app/views/align/components/annotations/annotationTypes/index.js
@@ -28,6 +28,7 @@ import {
export const AnnotationElementLookup = {
sentence: React.memo(AnnotationSentence),
+ pullquote_credit: React.memo(AnnotationSentence),
heading_text: React.memo(AnnotationHeadingText),
section_heading: React.memo(AnnotationSectionHeading),
paragraph_end: React.memo(AnnotationParagraphEnd),