action icons now have hover border as well

This commit is contained in:
zadam
2019-11-17 11:30:11 +01:00
parent c141f4b2c0
commit 1d5daa8dfd
5 changed files with 6 additions and 23 deletions

View File

@@ -194,25 +194,6 @@ function BackendScriptApi(currentNote, apiParams) {
*/
this.createNote = noteService.createNewNote;
/**
* Creates new note according to given params and force all connected clients to refresh their tree.
*
* @method
*
* @param {string} parentNoteId - create new note under this parent
* @param {string} title
* @param {string} [content=""]
* @param {CreateNoteParams} [extraOptions={}]
* @returns {Promise<{note: Note, branch: Branch}>} object contains newly created entities note and branch
*/
this.createNoteAndRefresh = async function(parentNoteId, title, content, extraOptions) {
const ret = await noteService.createNewNote(parentNoteId, title, content, extraOptions);
ws.refreshTree();
return ret;
};
/**
* Log given message to trilium logs.
*