From 1600ab3446f533a6824512d616131c7d02a037c7 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Tue, 20 Oct 2020 19:25:35 +0200 Subject: add footnote type and text plate type. keep track of footnotes when accumulating paragraphs. --- animism-align/frontend/app/constants.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'animism-align/frontend/app/constants.js') diff --git a/animism-align/frontend/app/constants.js b/animism-align/frontend/app/constants.js index 1cf26cd..5abe350 100644 --- a/animism-align/frontend/app/constants.js +++ b/animism-align/frontend/app/constants.js @@ -46,6 +46,7 @@ export const ROMAN_NUMERALS = [ export const TEXT_ANNOTATION_TYPES = new Set([ 'section_heading', 'heading_text', 'sentence', 'paragraph_end', 'pullquote_credit', + 'footnote', 'text_plate', ]) export const MEDIA_ANNOTATION_TYPES = new Set([ @@ -68,7 +69,7 @@ export const INLINE_UTILITY_ANNOTATION_TYPES = new Set([ ]) export const FULLSCREEN_UTILITY_ANNOTATION_TYPES = new Set([ - 'curtain', + 'curtain', 'text_plate', ]) export const GALLERY_UTILITY_ANNOTATION_TYPES = new Set([ -- cgit v1.2.3-70-g09d2