updates to include tinymce in the default data property editing form
This commit is contained in:
parent
15c78c74d4
commit
b2f1680402
4 changed files with 54 additions and 5 deletions
|
@ -11,9 +11,9 @@
|
|||
</#if>
|
||||
|
||||
|
||||
<input rows="2" type="textarea"
|
||||
<textarea rows="2"
|
||||
id="${editConfiguration.dataLiteral}" name="${editConfiguration.dataLiteral}"
|
||||
value="${literalValues}"/>
|
||||
value="${literalValues}" class="useTinyMce">${literalValues}</textarea>
|
||||
|
||||
|
||||
<div style="margin-top: 0.2em">
|
||||
|
|
|
@ -25,13 +25,14 @@
|
|||
|
||||
<#-- Set up data -->
|
||||
<script type="text/javascript">
|
||||
var tinyMCEData = {
|
||||
var customFormData = {
|
||||
tinyMCEData : {
|
||||
theme : "advanced",
|
||||
mode : "textareas",
|
||||
theme_advanced_buttons1 : "${buttons}",
|
||||
theme_advanced_buttons2 : "",
|
||||
theme_advanced_buttons3 : "",
|
||||
theme_advanced_toolbar_location : "{toolbarLocation}",
|
||||
theme_advanced_toolbar_location : "${toolbarLocation}",
|
||||
theme_advanced_toolbar_align : "left",
|
||||
theme_advanced_statusbar_location : "bottom",
|
||||
theme_advanced_path : false,
|
||||
|
@ -59,7 +60,8 @@
|
|||
// theme_advanced_buttons3_add_before : "tablecontrols,separator",
|
||||
// invalid_elements : "li",
|
||||
// theme_advanced_styles : "Header 1=header1;Header 2=header2;Header 3=header3;Table Row=tableRow1", // Theme specific setting CSS classes
|
||||
};
|
||||
}
|
||||
};
|
||||
</script>
|
||||
|
||||
<#-- Script to enable browsing individuals within a class -->
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue