mirror of
https://github.com/zadam/trilium.git
synced 2025-11-03 20:06:08 +01:00
abstracted note detail components
This commit is contained in:
@@ -5,7 +5,7 @@ const $noteDetailText = $('#note-detail-text');
|
||||
|
||||
let textEditor = null;
|
||||
|
||||
async function showTextNote() {
|
||||
async function show() {
|
||||
if (!textEditor) {
|
||||
await utils.requireLibrary(utils.CKEDITOR);
|
||||
|
||||
@@ -41,7 +41,7 @@ function getEditor() {
|
||||
}
|
||||
|
||||
export default {
|
||||
showTextNote,
|
||||
show,
|
||||
getEditor,
|
||||
getContent,
|
||||
focus
|
||||
|
||||
Reference in New Issue
Block a user