I have now included my ckeditorplugin in tiddlyspot. you can use in with
normal tiddlers by tagging them CKEditor. In a clipfolder tiddler, if a
clips content is surounded with html tags it is also edited with CKEditor.
I have started to construct similar functionality in TW5 see [2] and [3] -
its easier to created this type of functionality with TW5.
ckeditorplugin opertation:
The file is composed of a number of 'clips' in a similar way to 'slider'
panels in the NestedSlidersPlugin (ref[1]), but instead of using '+++' as a
magic string, each clip is bounded at each end by 2 'Ꮬ's
Editing:
as each clip is added to the file a unique number in prepended to the clips
title to ensure it is unique. When a clip is dragged it is copied into the
drag object, and when dropped it is 'cut out' of the sequence of clips then
re-inserted in the new location.
Displaying:
there are three display modes selectable from the toolbar, ActiveView -
here clips and be edited/moved, FixedView - clips cannot be edited/moved
but are still folded, and FlatView - all clips are unfolded - this is
achieved by parsing the wiki text is three different ways.
The code is complex due to the fact that it extends wiki text, and by the
complex editing mechanism that must be used in tw2. - I would advise moving
to tw5!
all the best
BJ
1: http://www.TiddlyTools.com/#NestedSlidersPlugin
2. http://bjhacks.tiddlyspot.com/#TagList
3. http://bjhacks.tiddlyspot.com/#VisualEditor
On Saturday, June 7, 2014 5:07:10 PM UTC+2, whatever wrote:
>
> Hey!
>
> Didn't want to hijack the thread about the drag and drop UI (1), so I'm
> opening a new thread.
>
> Just saw BJ's ClipFolderPlugin (2). It's very intriguing, especially the
> drag and drop ability. I'm looking for something similar for my own
> projects in TWC. BJ, can you give me a brief overview of how it functions,
> so I don't have to comb through the code? Also, I noticed references to
> CKEditor, but no corresponding tiddlers. Is it included? Does it work with
> TW5?
>
> Also, a few suggestions, if you're still developing the plugin:
> You want to avoid users having to modify the plugin tiddler, so instead of
> using sections for the custom templates, you can add the commands to the
> toolbar with JavaScript. Or put the contents of the templates in separate
> shadow tiddlers, which the users can then modify. You can also add the the
> option for the user to specify which template to use and add instructions
> on how to add the commands. Or any combination thereof.:)
>
> (1) https://groups.google.com/forum/#!topic/tiddlywikidev/R3m0Gjh1gQI
> (2) http://clipfolder.tiddlyspace.com/
>
> w
>
--
You received this message because you are subscribed to the Google Groups
"TiddlyWikiDev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywikidev.
For more options, visit https://groups.google.com/d/optout.