File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change 114114 return ' Open a Link' ;
115115 } else if (actionType === ButtonActionType .JS ) {
116116 return ' Run a JavaScript File' ;
117+ }else if (actionType === ButtonActionType .INPUT ) {
118+ return ' Insert Text at Cursor' ;
119+ }else if (actionType === ButtonActionType .SLEEP ) {
120+ return ' Sleep for Some Time' ;
121+ }else if (actionType === ButtonActionType .TEMPLATER_CREATE_NOTE ) {
122+ return ' Create a New Note Using Templater' ;
123+ }else if (actionType === ButtonActionType .QUICK_SWITCHER ) {
124+ return ' Open the Quick Switcher' ;
117125 }
118126 }
119127 </script >
@@ -228,7 +236,7 @@ Add action of type
228236 </SettingComponent >
229237
230238 <SettingComponent name ="File Name: {action .fileName || ' default' }" description =" The file name of the new note." >
231- <Button variant = "primary" on:click ={() => changeTemplateFile ( action )}>Change</ Button >
239+ <input type = "text" bind:value ={ action . fileName } placeholder = " some name " / >
232240 </SettingComponent >
233241
234242 <SettingComponent name =" Open Note" description =" Whether to open the new note after this action ran." >
You can’t perform that action at this time.
0 commit comments