1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-26 03:27:18 +00:00

Revert "Make preview editor button focus the editor"

This reverts commit f383863654.
This commit is contained in:
Jeremy Ruston 2023-09-19 16:08:13 +01:00
parent f383863654
commit b82f012c0c

View File

@ -12,10 +12,8 @@ shortcuts: ((preview))
<$reveal state=<<edit-preview-state>> type="match" text="yes" tag="span"> <$reveal state=<<edit-preview-state>> type="match" text="yes" tag="span">
{{$:/core/images/preview-open}} {{$:/core/images/preview-open}}
<$action-setfield $tiddler=<<edit-preview-state>> $value="no"/> <$action-setfield $tiddler=<<edit-preview-state>> $value="no"/>
<$action-sendmessage $message="tm-edit-text-operation" $param="focus-editor"/>
</$reveal> </$reveal>
<$reveal state=<<edit-preview-state>> type="nomatch" text="yes" tag="span"> <$reveal state=<<edit-preview-state>> type="nomatch" text="yes" tag="span">
{{$:/core/images/preview-closed}} {{$:/core/images/preview-closed}}
<$action-setfield $tiddler=<<edit-preview-state>> $value="yes"/> <$action-setfield $tiddler=<<edit-preview-state>> $value="yes"/>
<$action-sendmessage $message="tm-edit-text-operation" $param="focus-editor"/>
</$reveal> </$reveal>