changeset 76:45b921e683d6

79: table of contents in TEXT entry form Task-Url: https://it-dev.mpiwg-berlin.mpg.de/tracs/ismi/ticket/79
author casties
date Tue, 28 Jun 2016 11:43:48 -0400
parents 43648d7fc515
children 985dcecba904
files src/main/webapp/entry/text.xhtml
diffstat 1 files changed, 5 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/main/webapp/entry/text.xhtml	Thu Jan 21 12:16:45 2016 +0100
+++ b/src/main/webapp/entry/text.xhtml	Tue Jun 28 11:43:48 2016 -0400
@@ -131,10 +131,13 @@
 			<h:outputText />
 
 			<h:outputText value="Table of Contents" />
-			<h:inputTextarea cols="65" rows="10"
+			<rich:editor
+				value="#{CurrentWitness.attributes['table_of_contents']}"
+				style="direction: rtl;" />
+			<!-- <h:inputTextarea cols="65" rows="10"
 				value="#{CurrentText.attributes['table_of_contents']}"
 				style="direction: rtl;" />
-			<h:outputText />
+			<h:outputText /> -->
 
 			<h:outputText value="Notes" />
 			<h:inputTextarea cols="65" rows="10"