[{"created":"20220302050015105","creator":"Author","text":"","title":"$:/config/wrapper","modified":"20220616014702332","selection":"kbd","temp-new-wrapper":"","modifier":"Author"},{"created":"20220302070156052","description":"Tiddler representing a string 'removeprefix[$:/config/wrapper]' to wrap text with in Editor toolbar","modified":"20220302070156052","title":"$:/config/wrapper/$link"},{"created":"20220302065957510","description":"Tiddler representing a string 'removeprefix[$:/config/wrapper]' to wrap text with in Editor toolbar","modified":"20220302065957510","title":"$:/config/wrapper/div"},{"created":"20220616014702328","creator":"Author","description":"Tiddler representing a string 'removeprefix[$:/config/wrapper]' to wrap text with in Editor toolbar","modified":"20220616014702328","modifier":"Author","title":"$:/config/wrapper/kbd"},{"created":"20220302070003445","description":"Tiddler representing a string 'removeprefix[$:/config/wrapper]' to wrap text with in Editor toolbar","modified":"20220302070003445","title":"$:/config/wrapper/li"},{"created":"20220302070045579","description":"Tiddler representing a string 'removeprefix[$:/config/wrapper]' to wrap text with in Editor toolbar","modified":"20220302070045579","title":"$:/config/wrapper/section"},{"created":"20220302065949276","description":"Tiddler representing a string 'removeprefix[$:/config/wrapper]' to wrap text with in Editor toolbar","modified":"20220302065949276","title":"$:/config/wrapper/span"},{"created":"20220302070102979","description":"Tiddler representing a string 'removeprefix[$:/config/wrapper]' to wrap text with in Editor toolbar","modified":"20220302070102979","title":"$:/config/wrapper/table"},{"created":"20220302070019200","description":"Tiddler representing a string 'removeprefix[$:/config/wrapper]' to wrap text with in Editor toolbar","modified":"20220302070019200","title":"$:/config/wrapper/td"},{"created":"20220302070014521","description":"Tiddler representing a string 'removeprefix[$:/config/wrapper]' to wrap text with in Editor toolbar","modified":"20220302070014521","title":"$:/config/wrapper/tr"},{"created":"20220302042528337","text":"","title":"$:/PSaT/EditorToolbar/wrapper","tags":"$:/tags/EditorToolbar","icon":"$:/PSaT/EditorToolbar/wrapper/icon","caption":"Code wrapper <name>selection</name>","description":"Wrap in selected","condition":"[<targetTiddler>type[]] [<targetTiddler>type[text/vnd.tiddlywiki]] +[first[]]","dropdown":"$:/PSaT/EditorToolbar/wrapper/dropdown","modified":"20220302070555505","package-filter":"[prefix[$:/PSaT/EditorToolbar/wrapper]]","psat-project":"EditorToolbar-wrapper","filename":"EditorToolbar-wrapper","payload-filter":"[prefix[$:/config/wrapper]]"},{"created":"20220302043011061","text":"\\define lingo-base() $:/language/Buttons/wrap/\n\\define open-code()  <\n\\define close-code() >\n\\define end-code() </\nWrap selection with <$select tiddler=\"$:/config/wrapper\" field=\"selection\" default={{$:/config/wrapper!!selection}}>\n<$list filter='[all[shadows+tiddlers]prefix[$:/config/wrapper/]removeprefix[$:/config/wrapper/]sort[]]'>\n<option value=<<currentTiddler>>><$view field='title'/></option>\n</$list>\n</$select>\n<$set name=string-tiddler filter=\"[{$:/config/wrapper!!selection}addprefix[$:/config/wrapper/]]\">\n<$list filter=\"[<string-tiddler>has[title]]\" variable=string-tiddler>\n   <$button tooltip=\"delete saved wrapper\" tag=span>\n        <$action-sendmessage $message=\"tm-delete-tiddler\" $param=<<string-tiddler>>/>\n        {{$:/core/images/delete-button}}\n   </$button>\n</$list>\n\n<br>&nbsp;&nbsp;&nbsp;&nbsp;New wrapper <$edit-text tag=\"input\" tiddler=\"$:/config/wrapper\" field=\"temp-new-wrapper\" default=\"\" focus=\"true\" placeholder=\"string\" />\n<$list filter=\"[{$:/config/wrapper!!temp-new-wrapper}addprefix[$:/config/wrapper/]!has[title]!match[$:/config/wrapper/]]\" variable=string-tiddler>\n   <$button tooltip=\"save new wrapper\" class=\"tc-btn-invisible\" tag=span>\n      <$action-createtiddler $basetitle=<<string-tiddler>> description=\"Tiddler representing a string 'removeprefix[$:/config/wrapper]' to wrap text with in Editor toolbar\">\n          <$action-setfield $tiddler=\"$:/config/wrapper\" $field=\"selection\" $value={{$:/config/wrapper!!temp-new-wrapper}}/>\n          <$action-setfield $tiddler=\"$:/config/wrapper\" $field=temp-new-wrapper $value=\"\"/>\n      </$action-createtiddler>\n      {{$:/core/images/new-button}}\n   </$button>\n</$list>\n<hr>\n\n<$set name=full-prefix filter=\"\"\"[{$:/config/wrapper!!selection}addprefix<open-code>addsuffix<close-code>]\"\"\" >\n<$set name=full-suffix filter=\"\"\"[{$:/config/wrapper!!selection}addprefix<end-code>addsuffix<close-code>]\"\"\" >\n<$button>\n<$action-sendmessage\n\t$message=\"tm-edit-text-operation\"\n\t$param=\"wrap-selection\"\n\tprefix=<<full-prefix>>\n\tsuffix=<<full-suffix>>\n/>\nApply <$text text=<<full-prefix>>/>selection<<full-suffix>>\n</$button>\n&nbsp;&nbsp;&nbsp;&nbsp;^^If already wrapped will unwrap^^\n</$set></$set>","title":"$:/PSaT/EditorToolbar/wrapper/dropdown","tags":"","modified":"20220302071406055"},{"created":"20220302042838894","text":"<svg fill=blue width=\"22pt\" height=\"22pt\" class=\"tc-image-opn-code tc-image-button\" viewBox=\"0 0 8 8\"><path d=\"M5 0l-3 6h1l3-6h-1zm-4 1l-1 2 1 2h1l-1-2 1-2h-1zm5 0l1 2-1 2h1l1-2-1-2h-1z\" transform=\"translate(0 1)\"/></svg>","title":"$:/PSaT/EditorToolbar/wrapper/icon","tags":"$:/tags/Image Icons Images SVG","modified":"20220302042925161","image-source":"$:/images/open-iconic/code"}]