From 38d723d46a4e51fefa4069947f54736a20d3f57f Mon Sep 17 00:00:00 2001 From: ydahi Date: Fri, 15 Nov 2019 11:41:04 -0500 Subject: [PATCH 1/2] allow h4, h5, and h6 tags in editor --- library.json | 2 +- semantics.json | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/library.json b/library.json index c2f6bd3..765d897 100644 --- a/library.json +++ b/library.json @@ -3,7 +3,7 @@ "description": "A simple library that displays text with all kinds of styling.", "majorVersion": 1, "minorVersion": 1, - "patchVersion": 9, + "patchVersion": 10, "runnable": 0, "machineName": "H5P.AdvancedText", "author": "Joubel", diff --git a/semantics.json b/semantics.json index e84b018..fc4d765 100644 --- a/semantics.json +++ b/semantics.json @@ -15,6 +15,9 @@ "ol", "h2", "h3", + "h4", + "h5", + "h6", "hr", "pre", "code" From 681208d4d03f6e1b4f68378cdcaea595d48c08ff Mon Sep 17 00:00:00 2001 From: ydahi Date: Fri, 15 Nov 2019 11:54:45 -0500 Subject: [PATCH 2/2] remove ol and ul list-style-type for accessibility compliance --- text.css | 6 ------ 1 file changed, 6 deletions(-) diff --git a/text.css b/text.css index c717753..7acc3e0 100644 --- a/text.css +++ b/text.css @@ -13,12 +13,6 @@ .h5p-advanced-text ol > li:last-child { margin-bottom: 0; } -.h5p-advanced-text ul > li { - list-style-type: circle; -} -.h5p-advanced-text ol > li { - list-style-type: decimal; -} .h5p-advanced-text.h5p-frame { margin: 1em; }