mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-02-05 05:30:02 +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">
|
<$list filter="""$(editFieldsFilter)$""" variable="editorField">
|
||||||
<$edit-text tag="$(editorTagName)$" field=<<editorField>> type="text" class="tc-edit-texteditor" minHeight="10px"/>
|
<$edit-text tag="$(editorTagName)$" field=<<editorField>> type="text" class="tc-edit-texteditor" minHeight="10px"/>
|
||||||
</$list>
|
</$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>
|
||||||
<td width="20px">
|
<td width="20px">
|
||||||
<div class="tc-drop-down-wrapper">
|
<div class="tc-drop-down-wrapper">
|
||||||
@ -60,6 +64,8 @@ Delete translation
|
|||||||
|
|
||||||
//<$count filter=<<translatableTiddlerTitles>>/> translatable tiddlers in this group//
|
//<$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="textarea"> Multi-line editors</$radio><br>
|
||||||
<$radio tiddler="$:/plugins/tiddlywiki/translators/editorTag" value="input"> Single-line editors</$radio>
|
<$radio tiddler="$:/plugins/tiddlywiki/translators/editorTag" value="input"> Single-line editors</$radio>
|
||||||
|
|
||||||
|
@ -13,3 +13,8 @@ tags: $:/tags/Stylesheet
|
|||||||
.tc-translators-string-table .tc-drop-down {
|
.tc-translators-string-table .tc-drop-down {
|
||||||
min-width: 500px;
|
min-width: 500px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.tc-tiddler-frame textarea.tc-edit-texteditor,
|
||||||
|
.tc-tiddler-frame input.tc-edit-texteditor {
|
||||||
|
background-color: #feffef;
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user