its like this:

<$edit-html tiddler="test" field="text"/>

BJ

On Saturday, June 27, 2020 at 10:37:06 PM UTC+2, OGNSYA wrote:
>
> Could be (well, probably is) what you said.
>
> But (I think) I'm trying something a bit different (and probably stupid).
> The way I'm doing it, I'd never (or rarely) actually open a tiddler in 
> Edit mode.
> I'd always open an instance of a Temporary Tiddler template, which would 
> grab all relevant info from the tiddler I actually want to edit.
> So, for example, if I want to edit Tiddler A, I'd click on it, but in the 
> background I'd actually get a new Temporary Tiddler, which would have text 
> fields that connect to the ones in the actual tiddler (ie., most of the 
> time I'd be in View mode in that Temporary Tiddler, but really editing the 
> data in the target tiddler).
>
> I'm trying to put together a demo for this. Maybe that will make more 
> clear what I'm saying (and probably why it's wrong).
>
> Right now my challenge is making the aforementioned CK visual editor work 
> in the text fields in the Temporary Tiddler.
>
> I had this:
> <$edit-text tiddler="Name of Tiddler currently being edited" field="text"  
> />
>
> Which works fine. But doesn't play well with the CKEditor.
>
> I thought I could use the correct editor just by adding this:
> <$edit-text tiddler="Name of Tiddler currently being edited" 
> field="text"  type="text/x-htmlp"   />  
>
> But no luck ..
>
> On Saturday, June 27, 2020 at 9:15:24 PM UTC+1 Mat wrote:
>
>> OGNSYA wrote:
>>>
>>> I would like to be able to edit my tiddlers directly, from View mode. 
>>>
>>
>> Well, there is still a visual difference between when you edit something 
>> and when you only view it - even if the visual difference is the only the 
>> display of an editor toolbar. This means there are still two "modes". What 
>> I think people mean when they (including you) request "edit in view mode" 
>> is that view mode and edit mode are more *visually similar* and to avoid 
>> the very "explicit" actions of going up to an edit button and click it. 
>> What could be done is to e.g make the editor use the same white background 
>> colour and the same font and have the entering of edit mode be different 
>> from the edit button; e.g clicking the text itself could be the button 
>> (...but then, how do you click a link?) Just as we speak, some of the big 
>> boys are creating some mechanism to trigger actions when clicking in the 
>> editor. Such a thing could perhaps be used to trigger something in the 
>> editor so it goes back to view mode.
>>
>> <:-)
>>
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/8e23533a-219e-4523-8d8c-4625d00a71d3o%40googlegroups.com.

Reply via email to