Rename a Draft Tiddler from Editor

Can I rename a tiddler while editing it?

  • create a new tiddler
  • put below snippet inside text field
  • go to preview and click Rename
<$button>Rename
<$action-setfield 
$field=title $value=NewTest/>
<$action-navigate $to="NewTest"/>
<$action-deletetiddler/>
</$button>

This does not work! I also tried tm-rename-tiddler no succes!

It seems I can change field=“draft.title” and it works!

2 Likes

LOL - Mohammad is trying to gain social board credits by awarding his own solutions! :rofl:

(No worry Mohammad, I’m just kidding. I understand why you marked it as solved. Besides, you deserve all rewards you can get! It was just funny.)

Hi Mohammad, this is what I did in the PR https://github.com/kookma/TW-Section/pull/27/files line 17!

Hope you find some time reviewing this PR… :stuck_out_tongue:

Thank you! Sure I will review it!

So, I should ask some questions time by time! :rofl: :rofl: :rofl:

But really, I was working on Gatha and I could not figure out how do this! I asked, then I realized draft.title do the job and I shared the solution! may be other have the same problem and this helps them!

2 Likes