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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/5ff149bb-3e4d-4fc0-a401-0486f8c18cd4n%40googlegroups.com.