Added a "wrap selection" button: ``` <style> .wide100 {width:100%} .bspace {margin-bottom:-18px;} .btn {font-weight:bold;font-size:0.85em;} </style>
<div style="border:4px double lightgray;"> <$edit-text class="wide100 bspace" tiddler="AppSettings" field="myconfig" tag="textarea"> <details><summary>Multi-line Edit Toolbar</summary> This space does not have to be just for buttons. It can be for all sorts of things. Like helpful tips, reminders, whatever.<br> <$button class="btn"> <$action-sendmessage $message="tm-edit-text-operation" $param="wrap-selection" prefix='<"' suffix='">' /> <$text text='<"...">'/> </$button> <$button class="btn"> <$action-sendmessage $message="tm-edit-text-operation" $param="insert-text" text='/"BR"/' /> /"BR"/ </$button> </details> </$edit-text> </div> ``` On Sunday, June 25, 2023 at 1:19:24 PM UTC-3 Charlie Veniot wrote: > Added an "insert text" button: > > ``` > <style> > .wide100 {width:100%} > .bspace {margin-bottom:-18px;} > .btn {font-weight:bold;font-size:0.85em;} > > </style> > > <div style="border:4px double lightgray;"> > <$edit-text class="wide100 bspace" tiddler="AppSettings" field="myconfig" > tag="textarea"> > <details><summary>Multi-line Edit Toolbar</summary> > > This space does not have to be just for buttons. It can be for all sorts > of things. Like helpful tips, reminders, whatever.<br> > > <$button class="btn"> > <$action-sendmessage > $message="tm-edit-text-operation" > $param="insert-text" > text="""/"BR"/""" > /> > /"BR"/ > </$button> > </details> > </$edit-text> > </div> > > ``` > On Sunday, June 25, 2023 at 12:59:31 PM UTC-3 Charlie Veniot wrote: > >> Sample code: >> >> *(If viewing the code below in Google Groups, ignore the leading and >> trailing backticks; those are just to keep the code "unprocessed" at Talk >> TW.)* >> >> ``` >> <style> >> .wide100 {width:100%} >> .bspace {margin-bottom:-18px;} >> </style> >> >> <div style="border:4px double lightgray;"> >> >> <$edit-text class="wide100 bspace" tiddler="AppSettings" field="myconfig" >> tag="textarea"> >> >> <details><summary>Multi-line Edit Toolbar</summary> >> This space does not have to be just for buttons. It can be for all sorts >> of things. Like helpful tips, reminders, whatever. >> </details> >> >> </$edit-text> >> >> </div> >> ``` >> > -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/d4d8470a-ed7e-41cd-8018-e6e43508dedbn%40googlegroups.com.