Outlining plugin request

268 views
Skip to first unread message

David Gifford

unread,
Oct 31, 2015, 11:26:21 AM10/31/15
to TiddlyWiki
Hi all

Here is a plugin idea for you to consider, those of you who play around with plugins. Not sure this is a possibility, but worth asking.

One of the reasons I prefer Workflowy over TiddlyWiki for writing and outlining is that outlining is much faster in Workflowy. No need to add asterisks and double and triple asterisks before each line. Just hit return to start a new bullet point, and hit indent to create a subpoint below the previous point.

Would it be possible to create a plugin, that can be activated or deactived as needed, that would add an asterisk on the new line every time the user hit enter, and that would have a special keystroke but which the user could add additional asterisks when needing to indent?

The reason I say it would need to be activated or deactivated as needed, is that there would be plenty of TW contacts for which the asterisks would not be desired.

Blessings

Dave


Jed Carty

unread,
Oct 31, 2015, 4:06:12 PM10/31/15
to TiddlyWiki
Something like that could probably be done with a widget. You wouldn't need to be editing a tiddler to use it. I don't know how often you would want to switch from this to regular editing in the same tiddler, if you don't than a widget that does this shouldn't be too difficult.

David Gifford

unread,
Oct 31, 2015, 4:34:02 PM10/31/15
to tiddl...@googlegroups.com
Widget? Interesting. How would that work?

Dave

On Sat, Oct 31, 2015 at 2:06 PM, Jed Carty <inmy...@gmail.com> wrote:
Something like that could probably be done with a widget. You wouldn't need to be editing a tiddler to use it. I don't know how often you would want to switch from this to regular editing in the same tiddler, if you don't than a widget that does this shouldn't be too difficult.

--
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/2IB6w95gW9Y/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tiddlywiki+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/e8c5eb15-9377-4b48-8c84-8c9e287076f9%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--
David Gifford
Christian Reformed World Missions, Mexico City

BJ

unread,
Oct 31, 2015, 5:16:13 PM10/31/15
to tiddl...@googlegroups.com
the visual editor plugin (on bjtools) has this type of functionality, including drag and drop. But it produces html not wikitext

http://bjtools.tiddlyspot.com/

David Gifford

unread,
Oct 31, 2015, 7:12:02 PM10/31/15
to TiddlyWiki
Hi BJ

Followed your instructions but nothing happens.

Into an empty TW5 I imported the $:/plugins/bj/visualeditor tiddler and saved and reloaded. I downloaded the standard CK editor from the link you provide, extract the files from the zip file and place in a folder. I change the script in from $:/plugin/bj/visualeditor/includelib <script src="file://c/yourpath/ckeditor/ckeditor.js"></script> and change the filepath after c/ to my filepath. (also tried C:/ in place of c/ at one point). My filepath has no spaces or odd characters. Reload my TW each time. Nothing. Even opened it in Chrome. Nothing. No visual editor, no text/x-htmlp type. Nothing.

Also, when I edit your VisualEditorDemo tiddler in Firefox I see the html in the preview, and the option for the text/x-htmlp file type. But no visual editor.

What might I be doing wrong?

Dave

David Gifford

unread,
Oct 31, 2015, 7:28:26 PM10/31/15
to TiddlyWiki
got it to work using the script at the CK download site.

Dave

David Gifford

unread,
Oct 31, 2015, 7:44:23 PM10/31/15
to TiddlyWiki
Consider this thread closed. This works great, and even does well at pasting from Workflowy! Loses the bold and italic, but not the bullets or indents.

Dave

Matabele

unread,
Nov 1, 2015, 12:54:06 AM11/1/15
to TiddlyWiki
Hi Dave

Same problem -- which script from the CK download site?

regards

Matabele

unread,
Nov 1, 2015, 1:04:35 AM11/1/15
to TiddlyWiki
Hi

OK -- works. The tiddler type must be set to 'ckeditor usage'

regards

BJ

unread,
Nov 1, 2015, 6:03:08 AM11/1/15
to TiddlyWiki
Is there something I need to add to the documentation?

Matabele

unread,
Nov 1, 2015, 7:04:14 AM11/1/15
to TiddlyWiki
Hi

Your instructions were fine, with the exception that there is no mention that the tiddler type must be set to 'ckeditor usage'.

regards

David Gifford

unread,
Nov 1, 2015, 7:43:19 AM11/1/15
to tiddl...@googlegroups.com
One thing in the documentation that could be refined is that you have a prominent link to the $:/plugin/bj/visualeditor/includelib in the installation section. But what you should have is "To install the Visual Editor, drag this tiddler to your TiddlyWiki: $:/plugins/bj/visualeditor." I imported the includelib tiddler at first because it looked as if you were saying that was the plugin tiddler needed for the install.

Dave

--
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/2IB6w95gW9Y/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tiddlywiki+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.

For more options, visit https://groups.google.com/d/optout.

David Gifford

unread,
Nov 1, 2015, 7:53:41 AM11/1/15
to TiddlyWiki
Q: is there a way to modify the html source? Or at least to apply CSS classes within edited tiddlers? I would like to apply a CSS class to a ul in one tiddler but not in all tiddlers

Dave

BJ

unread,
Nov 1, 2015, 9:57:31 AM11/1/15
to TiddlyWiki


On Sunday, November 1, 2015 at 12:53:41 PM UTC, David Gifford wrote:
Q: is there a way to modify the html source? Or at least to apply CSS classes within edited tiddlers? I would like to apply a CSS class to a ul in one tiddler but not in all tiddlers

there is a 'source' button (top left) for editing the html. You can defined you own styles that appear in the drop down list by editing the tiddler : $:/plugins/bj/visualeditor/styles.json

The styles are explained here:

http://docs.ckeditor.com/#!/guide/dev_styles

David Gifford

unread,
Nov 1, 2015, 11:37:54 AM11/1/15
to tiddl...@googlegroups.com
Thanks!

Dave

--
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/2IB6w95gW9Y/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tiddlywiki+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.

For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages