mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-01-26 17:06:51 +00:00
Add global option to show default text below the edit textarea (#6882)
This commit is contained in:
parent
90d6a0f1a6
commit
a572979cc4
@ -10,6 +10,10 @@ tags: $:/tags/Macro
|
||||
<$list filter="""$(editFieldsFilter)$""" variable="editorField">
|
||||
<$edit-text tag="$(editorTagName)$" field=<<editorField>> type="text" class="tc-edit-texteditor" minHeight="10px"/>
|
||||
</$list>
|
||||
<$reveal state="$:/state/showEnglishText" type=match text="show" tag="p">
|
||||
Default text:
|
||||
<pre><code><$view tiddler="$:/core" subtiddler=<<currentTiddler>> field=<<editorField>>/></code></pre>
|
||||
</$reveal>
|
||||
</td>
|
||||
<td width="20px">
|
||||
<div class="tc-drop-down-wrapper">
|
||||
@ -60,6 +64,8 @@ Delete translation
|
||||
|
||||
//<$count filter=<<translatableTiddlerTitles>>/> translatable tiddlers in this group//
|
||||
|
||||
<$checkbox tiddler="$:/state/showEnglishText" field="text" checked="show" unchecked="hide" default="hide"> Show the default text below editor field</$checkbox>
|
||||
|
||||
<$radio tiddler="$:/plugins/tiddlywiki/translators/editorTag" value="textarea"> Multi-line editors</$radio><br>
|
||||
<$radio tiddler="$:/plugins/tiddlywiki/translators/editorTag" value="input"> Single-line editors</$radio>
|
||||
|
||||
|
@ -12,4 +12,9 @@ tags: $:/tags/Stylesheet
|
||||
|
||||
.tc-translators-string-table .tc-drop-down {
|
||||
min-width: 500px;
|
||||
}
|
||||
|
||||
.tc-tiddler-frame textarea.tc-edit-texteditor,
|
||||
.tc-tiddler-frame input.tc-edit-texteditor {
|
||||
background-color: #feffef;
|
||||
}
|
Loading…
Reference in New Issue
Block a user