From 40e850021e54099a69cadfba05ffa886b50fbe54 Mon Sep 17 00:00:00 2001 From: Maarten van Gompel Date: Tue, 8 Nov 2016 16:13:18 +0100 Subject: [PATCH] Initial add of span parent field in interface for span elements that can be nested (issue #3 e/f) --- flat/style/flat.editor.js | 19 +++++++++++++++++++ flat/style/folia.js | 13 +++++++++++++ 2 files changed, 32 insertions(+) diff --git a/flat/style/flat.editor.js b/flat/style/flat.editor.js index cc65b61..438325d 100644 --- a/flat/style/flat.editor.js +++ b/flat/style/flat.editor.js @@ -501,6 +501,18 @@ function applysuggestion(e,i) { } } +function renderparentspanfield(index, annotation, nestableparents) { + //This is a nestable span element + var s = "
Parent span: " + + "