[tw5] Re: Announcing Editor-Autolist-Markdown

2021-07-24 Thread Saq Imtiaz

>
> Inheriting from Saq's implementation (and I'm not sure if there's any 
> other way to do it), editor-autolist-markdown works via an 'invisible' 
> toolbar button with the assigned key shortcuts.
>

The alternative would be trying to add event listeners for the keydown 
event to the text area via JavaScript. I think the toolbar button approach 
is a lot more flexible.
 

> This could be addressed by how the Big Text Area is implemented. I'm sure 
> it is more difficult to implement, but it is possible to turn the toolbar 
> invisible rather than removing it via <$reveal>. If the style "display: 
> none" is added to the div containing the toolbar (I think by default it is 
> .tc-text-editor-toolbar-item-wrapper) this would do it. (This would also 
> bring back your bold, italic, etc.)
>

This is precisely how Streams hides the toolbar. All toolbar buttons that 
don't display a popup continue to work via keyboard shortcuts. 

-- 
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/948f1c0d-c30d-4b6a-852a-09b2d097ba5an%40googlegroups.com.


[tw5] Re: Announcing Editor-Autolist-Markdown

2021-07-23 Thread Daryl Sun
Thank you for your reply!

I didn't know the toolbar was actually responsible for most of the 
functionality of Editor-Autolist, and by extension Editor-Autolist-Markdown. 
I never used it, and I don't use keyboard shortcuts for formatting since I 
format by hand - unless it's indentation, in which I curse myself out for 
automatically hitting Tab to indent a bullet and forget it doesn't work in 
TiddlyWiki without Editor-Autolist.

Also, I apologize for my mistake: Big Text Area isn't a built-in feature, 
but an add-on to Stroll under Goodies 
. It's not included in Stroll by 
default, which is probably why you weren't aware of it. I myself only came 
across while looking through David Gifford's TiddlyWiki Toolmap. 

Furthermore, I forgot to add that I'm fairly new to TiddlyWiki: I've 
tinkered with settings and plugins, and I'm familiar with HTML and CSS, but 
that's it. I confess I'm no coder and have no idea how TiddlyWiki works 
under the hood. However, I'll try your suggestions and report back my 
findings.

Again, thanks for the help!

On Saturday, July 24, 2021 at 4:18:12 AM UTC+8 jason...@gmail.com wrote:

> @Daryl, glad to hear you enjoy it! Also, I came to TW5 by way of Stroll, 
> so kudos are due to David as well.
>
> I was actually unaware of this Stroll feature until you pointed it out. 
> Unfortunately I think that is where the issue lies: the way Stroll has 
> implemented the 'remove toolbar' actually takes away the functionality as 
> well as the visibility of the buttons. (Try for example ctrl-B or ctrl-I, 
> with and without the toolbar visible. This is true whether you use 
> markdown, vanilla wikitext, or anything.) Inheriting from Saq's 
> implementation (and I'm not sure if there's any other way to do it), 
> editor-autolist-markdown works via an 'invisible' toolbar button with the 
> assigned key shortcuts. So when the toolbar is removed, even though there 
> wasn't a visible button to begin with, the autolist functionality goes away 
> just like it does for bold, italic, etc.
>
> This could be addressed by how the Big Text Area is implemented. I'm sure 
> it is more difficult to implement, but it is possible to turn the toolbar 
> invisible rather than removing it via <$reveal>. If the style "display: 
> none" is added to the div containing the toolbar (I think by default it is 
> .tc-text-editor-toolbar-item-wrapper) this would do it. (This would also 
> bring back your bold, italic, etc.)
>
> On Thursday, July 22, 2021 at 10:47:37 PM UTC-5 Daryl Sun wrote:
>
>> Hello!
>>
>> Thank you very much for this plugin. I use Markdown for note-taking, and 
>> it's always driven me crazy that I have to manually set indentation for my 
>> bullet-lists, since I can't use Editor-Autolist. So I'm very pleased to see 
>> that a Markdown version now exists.
>>
>> However, I've found a bug where the plugin stops working if the editor 
>> toolbar is hidden. I discovered this because I use Big Text Area from 
>> Stroll, and I couldn't get Editor-Autolist-Markdown to work. I managed 
>> to replicate the bug in an empty TiddlyWiki file with only the official 
>> Markdown plugin +  Editor-Autolist-Markdown, and everything else 
>> default, *but* the editor toolbar is disabled. I tested this in Firefox 
>> on Windows 10.
>>
>> I understand if this is a very unusual use case and it's not a high 
>> priority to fix it. I have a knack for finding strange bugs.
>> On Friday, July 16, 2021 at 1:13:15 AM UTC+8 jason...@gmail.com wrote:
>>
>>> Hi all, I have been learning about TW5 and making increasing use of it 
>>> over the past ~9 months. It is an incredible tool with a great ecosystem of 
>>> support, so as I begin to make some customizations I wanted to share these 
>>> back for the community.
>>>
>>> I have put together a plugin based on Saq's excellent editor-autolist. I 
>>> primarily use markdown for my notes so I have adapted it for markdown lists.
>>>
>>> I have used bullet lists pretty extensively in the MS ecosystem in my 
>>> work, so in addition to the list indent and continuation, I added features 
>>> to indent/unindent multiple lines, and to move list sections up or down.
>>>
>>> Please check out the GH repo 
>>>  and the hosted 
>>> plugin . This 
>>> is the initial release so I welcome your feedback and suggestions for 
>>> improvement!
>>>
>>

-- 
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/01781fd5-1740-401d-b29c-be3ba38e73b0n%40googlegroups.com.


[tw5] Re: Announcing Editor-Autolist-Markdown

2021-07-23 Thread Jason Houle
@Daryl, glad to hear you enjoy it! Also, I came to TW5 by way of Stroll, so 
kudos are due to David as well.

I was actually unaware of this Stroll feature until you pointed it out. 
Unfortunately I think that is where the issue lies: the way Stroll has 
implemented the 'remove toolbar' actually takes away the functionality as 
well as the visibility of the buttons. (Try for example ctrl-B or ctrl-I, 
with and without the toolbar visible. This is true whether you use 
markdown, vanilla wikitext, or anything.) Inheriting from Saq's 
implementation (and I'm not sure if there's any other way to do it), 
editor-autolist-markdown works via an 'invisible' toolbar button with the 
assigned key shortcuts. So when the toolbar is removed, even though there 
wasn't a visible button to begin with, the autolist functionality goes away 
just like it does for bold, italic, etc.

This could be addressed by how the Big Text Area is implemented. I'm sure 
it is more difficult to implement, but it is possible to turn the toolbar 
invisible rather than removing it via <$reveal>. If the style "display: 
none" is added to the div containing the toolbar (I think by default it is 
.tc-text-editor-toolbar-item-wrapper) this would do it. (This would also 
bring back your bold, italic, etc.)

On Thursday, July 22, 2021 at 10:47:37 PM UTC-5 Daryl Sun wrote:

> Hello!
>
> Thank you very much for this plugin. I use Markdown for note-taking, and 
> it's always driven me crazy that I have to manually set indentation for my 
> bullet-lists, since I can't use Editor-Autolist. So I'm very pleased to see 
> that a Markdown version now exists.
>
> However, I've found a bug where the plugin stops working if the editor 
> toolbar is hidden. I discovered this because I use Big Text Area from 
> Stroll, and I couldn't get Editor-Autolist-Markdown to work. I managed to 
> replicate the bug in an empty TiddlyWiki file with only the official 
> Markdown plugin +  Editor-Autolist-Markdown, and everything else default, 
> *but* the editor toolbar is disabled. I tested this in Firefox on Windows 
> 10.
>
> I understand if this is a very unusual use case and it's not a high 
> priority to fix it. I have a knack for finding strange bugs.
> On Friday, July 16, 2021 at 1:13:15 AM UTC+8 jason...@gmail.com wrote:
>
>> Hi all, I have been learning about TW5 and making increasing use of it 
>> over the past ~9 months. It is an incredible tool with a great ecosystem of 
>> support, so as I begin to make some customizations I wanted to share these 
>> back for the community.
>>
>> I have put together a plugin based on Saq's excellent editor-autolist. I 
>> primarily use markdown for my notes so I have adapted it for markdown lists.
>>
>> I have used bullet lists pretty extensively in the MS ecosystem in my 
>> work, so in addition to the list indent and continuation, I added features 
>> to indent/unindent multiple lines, and to move list sections up or down.
>>
>> Please check out the GH repo 
>>  and the hosted 
>> plugin . This 
>> is the initial release so I welcome your feedback and suggestions for 
>> improvement!
>>
>

-- 
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/8dd8f2cd-1bba-4054-acf8-3a4abf38389cn%40googlegroups.com.


[tw5] Re: Announcing Editor-Autolist-Markdown

2021-07-22 Thread Daryl Sun
Hello!

Thank you very much for this plugin. I use Markdown for note-taking, and 
it's always driven me crazy that I have to manually set indentation for my 
bullet-lists, since I can't use Editor-Autolist. So I'm very pleased to see 
that a Markdown version now exists.

However, I've found a bug where the plugin stops working if the editor 
toolbar is hidden. I discovered this because I use Big Text Area from 
Stroll, and I couldn't get Editor-Autolist-Markdown to work. I managed to 
replicate the bug in an empty TiddlyWiki file with only the official 
Markdown plugin +  Editor-Autolist-Markdown, and everything else default, 
*but* the editor toolbar is disabled. I tested this in Firefox on Windows 
10.

I understand if this is a very unusual use case and it's not a high 
priority to fix it. I have a knack for finding strange bugs.
On Friday, July 16, 2021 at 1:13:15 AM UTC+8 jason...@gmail.com wrote:

> Hi all, I have been learning about TW5 and making increasing use of it 
> over the past ~9 months. It is an incredible tool with a great ecosystem of 
> support, so as I begin to make some customizations I wanted to share these 
> back for the community.
>
> I have put together a plugin based on Saq's excellent editor-autolist. I 
> primarily use markdown for my notes so I have adapted it for markdown lists.
>
> I have used bullet lists pretty extensively in the MS ecosystem in my 
> work, so in addition to the list indent and continuation, I added features 
> to indent/unindent multiple lines, and to move list sections up or down.
>
> Please check out the GH repo 
>  and the hosted 
> plugin . This is 
> the initial release so I welcome your feedback and suggestions for 
> improvement!
>

-- 
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/26ca30bf-9807-40e5-a1ec-d6bfce5ea972n%40googlegroups.com.


[tw5] Re: Announcing Editor-Autolist-Markdown

2021-07-17 Thread David Gifford
Added this to the Toolmap!

On Thursday, July 15, 2021 at 12:13:15 PM UTC-5 jason...@gmail.com wrote:

> Hi all, I have been learning about TW5 and making increasing use of it 
> over the past ~9 months. It is an incredible tool with a great ecosystem of 
> support, so as I begin to make some customizations I wanted to share these 
> back for the community.
>
> I have put together a plugin based on Saq's excellent editor-autolist. I 
> primarily use markdown for my notes so I have adapted it for markdown lists.
>
> I have used bullet lists pretty extensively in the MS ecosystem in my 
> work, so in addition to the list indent and continuation, I added features 
> to indent/unindent multiple lines, and to move list sections up or down.
>
> Please check out the GH repo 
>  and the hosted 
> plugin . This is 
> the initial release so I welcome your feedback and suggestions for 
> improvement!
>

-- 
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/eca0d96f-17bf-4e4f-8e78-08ea7c0e03a0n%40googlegroups.com.


[tw5] Re: Announcing Editor-Autolist-Markdown

2021-07-15 Thread TW Tones
jason,

Nice work, thanks for sharing, yes wiki text please. Or Saq's  
editor-autolist   gaining these features would be the wiki-text version 
(looks like a collaboration opportunity!)

Building a bullets to streams, and stream to bullets model would also be 
powerful.

Tones

On Friday, 16 July 2021 at 03:13:15 UTC+10 jason...@gmail.com wrote:

> Hi all, I have been learning about TW5 and making increasing use of it 
> over the past ~9 months. It is an incredible tool with a great ecosystem of 
> support, so as I begin to make some customizations I wanted to share these 
> back for the community.
>
> I have put together a plugin based on Saq's excellent editor-autolist. I 
> primarily use markdown for my notes so I have adapted it for markdown lists.
>
> I have used bullet lists pretty extensively in the MS ecosystem in my 
> work, so in addition to the list indent and continuation, I added features 
> to indent/unindent multiple lines, and to move list sections up or down.
>
> Please check out the GH repo 
>  and the hosted 
> plugin . This is 
> the initial release so I welcome your feedback and suggestions for 
> improvement!
>

-- 
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/bd2230b4-0374-4b6d-b8db-e21d848246d3n%40googlegroups.com.


[tw5] Re: Announcing Editor-Autolist-Markdown

2021-07-15 Thread Mat
Yes! I can only agree with Saq; that is super cool and I hope you or 
someone could make it available for vanilla TW!
Thanks for sharing!

<:-)

On Thursday, July 15, 2021 at 7:33:01 PM UTC+2 Saq Imtiaz wrote:

> Hi Jason,
>
> That looks fantastic. The original autolist was a plugin hacked up in 
> about an hour in response to a reddit request. It was never really meant 
> for wider adoption. I worked on support for multiple lines later in 
> response to a request here on the group but I don't think I ever published 
> that.
>
> I think a good next step if you are up to it, would be to make it 
> configurable to detect whether it is a markdown tiddler or wikitext 
> tiddler, and be able to support both. That I thing would add a lot of value 
> to the community but I do understand that it may not be a priority for you 
> if your primary use case is markdown tiddlers.
> Cheers,
>
> Saq
>
> On Thursday, July 15, 2021 at 7:13:15 PM UTC+2 jason...@gmail.com wrote:
>
>> Hi all, I have been learning about TW5 and making increasing use of it 
>> over the past ~9 months. It is an incredible tool with a great ecosystem of 
>> support, so as I begin to make some customizations I wanted to share these 
>> back for the community.
>>
>> I have put together a plugin based on Saq's excellent editor-autolist. I 
>> primarily use markdown for my notes so I have adapted it for markdown lists.
>>
>> I have used bullet lists pretty extensively in the MS ecosystem in my 
>> work, so in addition to the list indent and continuation, I added features 
>> to indent/unindent multiple lines, and to move list sections up or down.
>>
>> Please check out the GH repo 
>>  and the hosted 
>> plugin . This 
>> is the initial release so I welcome your feedback and suggestions for 
>> improvement!
>>
>

-- 
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/5e7a5b77-c7a2-4757-9281-11073d1caf4bn%40googlegroups.com.


[tw5] Re: Announcing Editor-Autolist-Markdown

2021-07-15 Thread Saq Imtiaz
Hi Jason,

That looks fantastic. The original autolist was a plugin hacked up in about 
an hour in response to a reddit request. It was never really meant for 
wider adoption. I worked on support for multiple lines later in response to 
a request here on the group but I don't think I ever published that.

I think a good next step if you are up to it, would be to make it 
configurable to detect whether it is a markdown tiddler or wikitext 
tiddler, and be able to support both. That I thing would add a lot of value 
to the community but I do understand that it may not be a priority for you 
if your primary use case is markdown tiddlers.
Cheers,

Saq

On Thursday, July 15, 2021 at 7:13:15 PM UTC+2 jason...@gmail.com wrote:

> Hi all, I have been learning about TW5 and making increasing use of it 
> over the past ~9 months. It is an incredible tool with a great ecosystem of 
> support, so as I begin to make some customizations I wanted to share these 
> back for the community.
>
> I have put together a plugin based on Saq's excellent editor-autolist. I 
> primarily use markdown for my notes so I have adapted it for markdown lists.
>
> I have used bullet lists pretty extensively in the MS ecosystem in my 
> work, so in addition to the list indent and continuation, I added features 
> to indent/unindent multiple lines, and to move list sections up or down.
>
> Please check out the GH repo 
>  and the hosted 
> plugin . This is 
> the initial release so I welcome your feedback and suggestions for 
> improvement!
>

-- 
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/b654190b-d908-4916-b8fb-53fc6fb628can%40googlegroups.com.