Hi Mat, The parts you are asking about are highlighted in red. I think you could probably define a new message like "tm-save-note" and then create a new event handler like "handleSaveNoteEvent" that is exactly like the original, but with the highlighted parts removed.
I would definitely try it out on a backup copy first, but let me know if it works. Patrick // Save the draft tiddler as the real tiddler >> this.wiki.addTiddler(new >> $tw.Tiddler(this.wiki.getCreationFields(),tiddler,{ >> title: draftTitle, >> "draft.title": undefined, >> "draft.of": undefined >> },this.wiki.getModificationFields())); >> // Remove the draft tiddler >> this.wiki.deleteTiddler(title); >> // Remove the original tiddler if we're renaming it >> if(isRename) { >> this.wiki.deleteTiddler(draftOf); >> } >> // Replace the draft in the story with the original >> this.replaceFirstTitleInStory( >> storyList,title,draftTitle); >> this.addToHistory(draftTitle, >> event.navigateFromClientRect); >> if(draftTitle !== this.storyTitle) { >> this.saveStoryList(storyList); >> } >> // Trigger an autosave >> $tw.rootWidget.dispatchEvent({type: "tm-auto-save-wiki"}); >> } >> } >> } >> return false; >> }; >> > > > I'm unsure which part that closes the edit view and opens the view mode, > but I'm also thinking that bit may be necessary in order to do the rest. > > Could anyone help out a bit, please? > > <:-) > > -- 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 tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.