From 0165ebb695cba1add98f23da9eaa06cc517cde0e Mon Sep 17 00:00:00 2001 From: Frode Petterson Date: Wed, 3 Dec 2014 13:02:31 +0100 Subject: [PATCH] Added textual editor. --- library.json | 7 ++++++- semantics.json | 11 ++++++++++- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/library.json b/library.json index 397fadb..4b8cd4d 100644 --- a/library.json +++ b/library.json @@ -44,7 +44,12 @@ { "machineName": "H5PEditor.VerticalTabs", "majorVersion": 1, + "minorVersion": 1 + }, + { + "machineName": "H5PEditor.QuestionSetTextualEditor", + "majorVersion": 1, "minorVersion": 0 } ] -} \ No newline at end of file +} diff --git a/semantics.json b/semantics.json index 7e061cc..5027864 100644 --- a/semantics.json +++ b/semantics.json @@ -92,7 +92,16 @@ "name": "questions", "label": "Questions", "type": "list", - "widget": "verticalTabs", + "widgets": [ + { + "name": "VerticalTabs", + "label": "Default" + }, + { + "name": "QuestionSetTextualEditor", + "label": "Textual" + } + ], "min": 1, "entity": "question", "field": {