There was a click to edit feature in TWC where clicking in the content would allow you to edit the content,
but It would be really good if once you clicked at a point on the the tiddler it would open for edit with the cursor placed in the text where you clicked (or Double Clicked, Ctrl-Clicked).
I have recently created a Tag that once added to a code tiddler Displays text un-wikified in view template at bottom of tiddlers tagged ShowCode. The same would be good for developing if we could click into that to edit and move the cursor. Alternatively we could have a view tiddler toolbar item (to show text/code) un processed we could click into.
I imagine what I dream of is difficult or impossible but I think it would make a big difference to tiddlywiki usability.
- What do you think?
- Any ideas how?
Danielo has a double-click-to-edit plugin.
I'll love to see an edit mode but directly in render mode
Isn't this issue partly about that TW's editor is not WYSIWYG?
Of course as Mario points out, the work, given the architecture of tiddlywiki may be difficult, and all your efforts better directed, However we are a creative bunch and expect we can find a way to a solution that supports editing and returning to mid to large tiddlers.
Regards
Tony
Two thoughts that may inspire you further after reading all your comments.
- If we could toggle a view mode, that shows the tiddler un wikified, a click to edit at cursor would be much simpler and accurate, you could even have it only work when in view mode reducing the problems with stray clicks.
Of course as Mario points out, the work, given the architecture of tiddlywiki may be difficult, and all your efforts better directed, However we are a creative bunch and expect we can find a way to a solution that supports editing and returning to mid to large tiddlers.
that sounds interesting but hard for me to visualise. I hope whatever solution allows us to avoid unnessasary cognative load, after all creative writting or taking notes in a technical course already demand ones brain cpu cycles.
looking at the trello/kanban discussion else where which opens a bespoke view of tiddler lists it seems to me it should be possible to build a bespoke editor view as well, perhaps one that simply stores the character position from the begining of the text field.
let us know where your thinking wanders.
tony
I have done something similar with open in new window, which I love. Even preview mode with a closed side bar is quite good, the problem comes when you jump to a new tiddler to look something up or create a new item, then return to the editing tiddler, finding where you were or now want to be in the text.
thanks for the suggestion
tony
Jed Carty wrote:
I don't think that creating a way to have the cursor appear at the position clicked in normal text is a problem, but in the context of tiddlywiki this doesn't make sense. You can create tiddlers that have no text content but they display text generated from other sources ... (my emphasis)
I was thinking in a solution similar to what Mario has described just some days ago. It should be easy to implement and should provide (at least) an experience close to paragraph editing,
where each paragraph it's a separate tiddler created automatically,
and once you leave the paragraph it is set to preview mode.
If I have time, I'll try to create a small proof of concept,
but if Mario has something already I would like to see it too
... I think you two may be coming from a design developer perspective ...
... Now any "code tiddler" I want I tag with ShowCode and at the bottom in view tiddler mode I see the actual contents pre-rendering (unwikified), for example try it on the shadow tiddler $:/core/macros/export
Steve