summaryrefslogtreecommitdiff
path: root/animism-align/frontend/app/constants.js
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2020-10-20 19:25:35 +0200
committerJules Laplace <julescarbon@gmail.com>2020-10-20 19:25:35 +0200
commit1600ab3446f533a6824512d616131c7d02a037c7 (patch)
treeb0a3a5cf08d58583e82f9170f72201398e99cdb9 /animism-align/frontend/app/constants.js
parent597356b755b2453d17bc7e13e6d7f7f3d966bf6b (diff)
add footnote type and text plate type. keep track of footnotes when accumulating paragraphs.
Diffstat (limited to 'animism-align/frontend/app/constants.js')
-rw-r--r--animism-align/frontend/app/constants.js3
1 files changed, 2 insertions, 1 deletions
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([