mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-12-06 00:00:30 +00:00
f90eb386ae
* Add support for \dir pragma
* Add "dir" attribute to reveal, edit, edit-text and edit-codemirror widgets
* Add $:/config/DefaultTextDirection hidden setting
* Revert accidentally commited test data
This reverts some of commit b83c1d160f
.
* Remove Codemirror plugin from Prerelease
Makes it easier to test things
* Fix framed text editor directionality in Firefox
* Add direction attribute for edit body template
* Missed closing brace
* Add docs for \dir pragma
* Templates should set text direction from a variable, not a transclusion
* Updates to framed.js in the light of PRs that have been merged since this
* Restore whitespace trim
* Docs dates
* Fix typo
* Clarify docs
13 lines
712 B
Plaintext
13 lines
712 B
Plaintext
title: $:/core/ui/EditTemplate/controls
|
|
tags: $:/tags/EditTemplate
|
|
|
|
\define config-title()
|
|
$:/config/EditToolbarButtons/Visibility/$(listItem)$
|
|
\end
|
|
\whitespace trim
|
|
<div class="tc-tiddler-title tc-tiddler-edit-title" dir=<<tv-text-direction>>>
|
|
<$view field="title"/>
|
|
<span class="tc-tiddler-controls tc-titlebar"><$list filter="[all[shadows+tiddlers]tag[$:/tags/EditToolbar]!has[draft.of]]" variable="listItem"><$let tv-config-toolbar-class={{{ [enlist<tv-config-toolbar-class>] [<listItem>encodeuricomponent[]addprefix[tc-btn-]] +[join[ ]]}}}><$reveal type="nomatch" state=<<config-title>> text="hide"><$transclude tiddler=<<listItem>>/></$reveal></$let></$list></span>
|
|
<div style="clear: both;"></div>
|
|
</div>
|