Re: [tw5] Re: Persistant memo textbox

2022-08-16 Thread Justin H.
Question for you @Eric Shulman

When I make the tiddler containing everything for the memo textbox a 
sidebar tab, the texteditor only goes about half the width of the sidebar.

is there a way I could set it to be wider, possibly linking it to the 
sidebar-width using calc()? 

On Wednesday, June 8, 2022 at 9:28:35 PM UTC-4 Eric Shulman wrote:

> One more addition.  Put the following at the start of the 
> "TiddlerNotesTemplate" definition:
> ```
> <$list filter="[is[tiddler]]">
> ```
> This bypasses displaying the TiddlerNotesTemplate for shadow tiddlers 
> (e.g., `$:/AdvancedSearch`), so you can't add notes that will automatically 
> convert a shadow tiddler into a "real" tiddler which will prevent it from 
> being upgraded when a new TWCore is released.
>
> -e
>

-- 
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/5393bd7a-c0a5-4270-b31a-98e8bc7223a3n%40googlegroups.com.


Re: [tw5] Re: Persistant memo textbox

2022-06-08 Thread Eric Shulman
One more addition.  Put the following at the start of the 
"TiddlerNotesTemplate" definition:
```
<$list filter="[is[tiddler]]">
```
This bypasses displaying the TiddlerNotesTemplate for shadow tiddlers 
(e.g., `$:/AdvancedSearch`), so you can't add notes that will automatically 
convert a shadow tiddler into a "real" tiddler which will prevent it from 
being upgraded when a new TWCore is released.

-e

-- 
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/47217bfc-58f4-4751-b82b-85c27ddafad7n%40googlegroups.com.


Re: [tw5] Re: Persistant memo textbox

2022-06-08 Thread Eric Shulman
I suggest also added a "heading" above the textarea.  Something like this:
```
<$button class="tc-btn-invisible">
   {{$:/core/images/delete-button}}
   <$action-setfield $tiddler=<> $field="notes"/>

''Notes:''
<$macrocall $name="copy-to-clipboard-above-right" src={{!!notes}}/>
<$edit-text tag="textarea" class="tc-edit-texteditor" field="notes"/>
```
Notes:

   - The `$button` widget adds a "trash can" button in the upper left.  
   Pressing this button clears the notes contents and removes the `notes` 
   field from the tiddler.
   - The `copy-to-clipboard-above-right` macro added a "copy to clipboard" 
   button in the upper right. Pressing this button copies the notes contents 
   to the system clipboard for quickly pasting it elsewhere.

enjoy,
-e

-- 
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/a9b0e63e-7cdd-4f5c-a615-eca71113b8c2n%40googlegroups.com.


Re: [tw5] Re: Persistant memo textbox

2022-06-08 Thread Taylor Nguyen
That's exactly what I was looking for.

Thank you!

On Tue, Jun 7, 2022 at 3:42 PM Eric Shulman  wrote:

> Try this:
>
> Create a tiddler (e.g. "TiddlerNotesTemplate"), tagged with
> $:/tags/ViewTemplate, containing:
> <$edit-text tag="textarea" class="tc-edit-texteditor" field="notes"/>
>
> This will add a multi-line textarea input at the bottom of every tiddler.
>
> enjoy,
> -e
> On Tuesday, June 7, 2022 at 2:26:59 PM UTC-7 nqc.t...@gmail.com wrote:
>
>> Hello,
>>
>> Is there a script to have a persistent memo-box/note-pad in a tiddler? I
>> am in need of a box that I can quickly jot down ideas without opening up
>> the tiddly editor. It doesn't need to have text formatting options, just
>> simple text with no markdown. Also, being persistent - I can close the
>> tiddler and open it again and the input text is still there.
>>
>> I remember there being a thread like this years ago on here. I couldn't
>> find it again.
>>
>> Thank you.
>>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "TiddlyWiki" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/tiddlywiki/MWnivZbqQXw/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> tiddlywiki+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/tiddlywiki/8e31f7c6-4195-40a0-a927-c333c38e0288n%40googlegroups.com
> 
> .
>


-- 
Taylor Quốc-Chương Nguyễn M.D.

-- 
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/CALTrAxUQpduFk-Dg6Sa%3Dk5w1ggXdUDQAyErU0fLsSVOLdK_Hew%40mail.gmail.com.


[tw5] Re: Persistant memo textbox

2022-06-07 Thread Eric Shulman
Try this:

Create a tiddler (e.g. "TiddlerNotesTemplate"), tagged with 
$:/tags/ViewTemplate, containing:
<$edit-text tag="textarea" class="tc-edit-texteditor" field="notes"/>

This will add a multi-line textarea input at the bottom of every tiddler.

enjoy,
-e
On Tuesday, June 7, 2022 at 2:26:59 PM UTC-7 nqc.t...@gmail.com wrote:

> Hello,
>
> Is there a script to have a persistent memo-box/note-pad in a tiddler? I 
> am in need of a box that I can quickly jot down ideas without opening up 
> the tiddly editor. It doesn't need to have text formatting options, just 
> simple text with no markdown. Also, being persistent - I can close the 
> tiddler and open it again and the input text is still there.
>
> I remember there being a thread like this years ago on here. I couldn't 
> find it again.
>
> Thank you.
>

-- 
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/8e31f7c6-4195-40a0-a927-c333c38e0288n%40googlegroups.com.