This is an automated email from the ASF dual-hosted git repository.
brushed pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/jspwiki.git
The following commit(s) were added to refs/heads/master by this push:
new c829bee Added plain editor configs as regular properties/part-2
c829bee is described below
commit c829beec5b4e61fdb128c55693aa5e7973a9857f
Author: brushed <[email protected]>
AuthorDate: Fri Apr 5 22:22:21 2019 +0200
Added plain editor configs as regular properties/part-2
---
.../src/main/webapp/templates/default/editors/CKeditor.jsp | 4 ++--
.../src/main/webapp/templates/default/editors/TinyMCE.jsp | 4 ++--
.../src/main/webapp/templates/default/editors/plain.jsp | 10 +++++-----
.../src/main/webapp/templates/default/editors/wysiwyg.jsp | 4 ++--
4 files changed, 11 insertions(+), 11 deletions(-)
diff --git a/jspwiki-war/src/main/webapp/templates/default/editors/CKeditor.jsp
b/jspwiki-war/src/main/webapp/templates/default/editors/CKeditor.jsp
index c3ed026..2645889 100644
--- a/jspwiki-war/src/main/webapp/templates/default/editors/CKeditor.jsp
+++ b/jspwiki-war/src/main/webapp/templates/default/editors/CKeditor.jsp
@@ -195,7 +195,7 @@
<li>
<a>
<label for="livepreview">
- <input type="checkbox" data-cmd="livepreview"
id="livepreview"/>
+ <input type="checkbox" data-cmd="livepreview"
id="livepreview" ${prefs.livepreview ? 'checked="checked"' : ''}/>
<fmt:message key='editor.plain.livepreview'/> <span
class="icon-refresh"/>
</label>
</a>
@@ -203,7 +203,7 @@
<li>
<a>
<label for="previewcolumn">
- <input type="checkbox" data-cmd="previewcolumn"
id="previewcolumn" />
+ <input type="checkbox" data-cmd="previewcolumn"
id="previewcolumn" ${prefs.previewcolumn ? 'checked="checked"' : ''}/>
<fmt:message key='editor.plain.sidebysidepreview'/> <span
class="icon-columns"/>
</label>
</a>
diff --git a/jspwiki-war/src/main/webapp/templates/default/editors/TinyMCE.jsp
b/jspwiki-war/src/main/webapp/templates/default/editors/TinyMCE.jsp
index 2bad241..c5eea2e 100644
--- a/jspwiki-war/src/main/webapp/templates/default/editors/TinyMCE.jsp
+++ b/jspwiki-war/src/main/webapp/templates/default/editors/TinyMCE.jsp
@@ -200,7 +200,7 @@
<li>
<a>
<label for="livepreview">
- <input type="checkbox" data-cmd="livepreview"
id="livepreview"/>
+ <input type="checkbox" data-cmd="livepreview"
id="livepreview" ${prefs.livepreview ? 'checked="checked"' : ''}/>
<fmt:message key='editor.plain.livepreview'/> <span
class="icon-refresh"/>
</label>
</a>
@@ -208,7 +208,7 @@
<li>
<a>
<label for="previewcolumn">
- <input type="checkbox" data-cmd="previewcolumn"
id="previewcolumn" />
+ <input type="checkbox" data-cmd="previewcolumn"
id="previewcolumn" ${prefs.previewcolumn ? 'checked="checked"' : ''}/>
<fmt:message key='editor.plain.sidebysidepreview'/> <span
class="icon-columns"/>
</label>
</a>
diff --git a/jspwiki-war/src/main/webapp/templates/default/editors/plain.jsp
b/jspwiki-war/src/main/webapp/templates/default/editors/plain.jsp
index b335154..e3ba123 100644
--- a/jspwiki-war/src/main/webapp/templates/default/editors/plain.jsp
+++ b/jspwiki-war/src/main/webapp/templates/default/editors/plain.jsp
@@ -184,7 +184,7 @@
<li>
<a>
<label for="autosuggest">
- <input type="checkbox" data-cmd="autosuggest"
id="autosuggest" />
+ <input type="checkbox" data-cmd="autosuggest"
id="autosuggest" ${prefs.autosuggest ? 'checked="checked"' : ''}/>
<fmt:message key='editor.plain.autosuggest'/>
</label>
</a>
@@ -192,7 +192,7 @@
<li>
<a>
<label for="tabcompletion">
- <input type="checkbox" data-cmd="tabcompletion"
id="tabcompletion" />
+ <input type="checkbox" data-cmd="tabcompletion"
id="tabcompletion" ${prefs.tabcompletion ? 'checked="checked"' : ''}/>
<fmt:message key='editor.plain.tabcompletion'/>
</label>
</a>
@@ -200,7 +200,7 @@
<li>
<a>
<label for="smartpairs">
- <input type="checkbox" data-cmd="smartpairs" id="smartpairs"
/>
+ <input type="checkbox" data-cmd="smartpairs" id="smartpairs"
${prefs.smartpairs ? 'checked="checked"' : ''}/>
<fmt:message key='editor.plain.smartpairs'/>
</label>
</a>
@@ -209,7 +209,7 @@
<li>
<a>
<label for="livepreview">
- <input type="checkbox" data-cmd="livepreview"
id="livepreview"/>
+ <input type="checkbox" data-cmd="livepreview"
id="livepreview" ${prefs.livepreview ? 'checked="checked"' : ''}/>
<fmt:message key='editor.plain.livepreview'/> <span
class="icon-refresh"/>
</label>
</a>
@@ -217,7 +217,7 @@
<li>
<a>
<label for="previewcolumn">
- <input type="checkbox" data-cmd="previewcolumn"
id="previewcolumn" />
+ <input type="checkbox" data-cmd="previewcolumn"
id="previewcolumn" ${prefs.previewcolumn ? 'checked="checked"' : ''}/>
<fmt:message key='editor.plain.sidebysidepreview'/> <span
class="icon-columns"/>
</label>
</a>
diff --git a/jspwiki-war/src/main/webapp/templates/default/editors/wysiwyg.jsp
b/jspwiki-war/src/main/webapp/templates/default/editors/wysiwyg.jsp
index e49b9d7..998568f 100644
--- a/jspwiki-war/src/main/webapp/templates/default/editors/wysiwyg.jsp
+++ b/jspwiki-war/src/main/webapp/templates/default/editors/wysiwyg.jsp
@@ -188,7 +188,7 @@
<li>
<a>
<label for="livepreview">
- <input type="checkbox" data-cmd="livepreview"
id="livepreview"/>
+ <input type="checkbox" data-cmd="livepreview"
id="livepreview" ${prefs.livepreview ? 'checked="checked"' : ''}/>
<fmt:message key='editor.plain.livepreview'/> <span
class="icon-refresh"/>
</label>
</a>
@@ -196,7 +196,7 @@
<li>
<a>
<label for="previewcolumn">
- <input type="checkbox" data-cmd="previewcolumn"
id="previewcolumn" />
+ <input type="checkbox" data-cmd="previewcolumn"
id="previewcolumn" ${prefs.previewcolumn ? 'checked="checked"' : ''}/>
<fmt:message key='editor.plain.sidebysidepreview'/> <span
class="icon-columns"/>
</label>
</a>