1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-12-18 22:20:28 +00:00
TiddlyWiki5/core/ui/EditTemplate/title.tid
Jermolene c5a1e105d5 Remove quotes from bad title character warning
Experience shows that both double and single quotes are OK
2016-05-01 13:56:41 +01:00

19 lines
406 B
Plaintext

title: $:/core/ui/EditTemplate/title
tags: $:/tags/EditTemplate
<$vars pattern="""[\|\[\]{}]""" bad-chars="""`| [ ] { }`""">
<$list filter="[is[current]regexp:draft.title<pattern>]" variable="listItem">
<div class="tc-message-box">
{{$:/language/EditTemplate/Title/BadCharacterWarning}}
</div>
</$list>
</$vars>
<$edit-text field="draft.title" class="tc-titlebar tc-edit-texteditor" focus="true"/>