Thank you Saq!
I understand. I am really looking forward for a more flexible layout. I am
actually experimenting these to make Tiddlyshow plugin simpler.
Thank you again!
On Thursday, December 3, 2020 at 8:39:11 PM UTC+3:30 saq.i...@gmail.com
wrote:
> @Mohammad Unfortunately I cannot think of
@Mohammad Unfortunately I cannot think of a way to make this possible
without editing the core templates. Ultimately the tiddler div does not
have a tabindex property and cannot have focus.
There are features planned for the future that might make this possible.
On Thursday, December 3, 2020
Thank you Saq!
Really useful tips. I will go through and will share the results.
One side question: now the scope of shortcuts is the div, can I extended to
whole tiddler! I mean where ever in the tiddler I press Right/Left arrow I
can get trigger action.
If possible, I prefer to not overwrite
Regarding focus a couple of other tricks that can help depending on the
situation:
- use the tm-focus-selector message.
- use a <$edit-text> widget with focus="true" in the content. You can even
hide it with CSS and it will grab focus on rendering. The entire Streams
flow depends on this for
Good morning Mohammad,
The wikify, set and vars widgets all have in common that they set up
variables. However, whenever a variable changes, to make their descendant
widgets aware of the new value, they have to refresh all of their content.
This can cause problems like loosing focus or even
HI Saq,
Many thanks for your solution. Works great!
In my original code I used $vars + filter {{{}}} instead of $wikify but it
also does not work see
\define stateTid() tt
\define myTag() HelloThere
\define next() <$action-setfield $tiddler=<>
text=<> />
\define previous()
The <$wikify> forces all content within it to be refreshed, and your div
looses focus.
\define stateTid() state-tiddler
\define myTag() HelloThere
\define next()
<$vars currentTid={{{[get[text]]}}}>
<$action-setfield $tiddler=<> text={{{
[tagafter] ~[tagfirst[]]}}} />
\end
The reason I attached zip file is Google forum does not attached tid files
(may be it thinks JS code has been attached!)
On Thursday, December 3, 2020 at 2:37:47 AM UTC+3:30 Mohammad wrote:
> I am playing with keyboard shortcuts. attached there are two tiddlers.
>
> *Test 01: Works fine*
>
>
8 matches
Mail list logo