🐛 (images) get file content for images

This commit is contained in:
2021-04-04 14:53:56 +02:00
parent 118f6e568b
commit 5a14ffba13
3 changed files with 18 additions and 10 deletions

View File

@@ -84,7 +84,7 @@ export default defineComponent({
const { stackedNotes, resetStackedNotes } = useQueryStackedNotes()
const { scrollToFocusedNote } = useFocus()
const { ...noteProps } = useNote('note-container')
const { titles } = useNote('note-container')
const renderedContent = computed(() =>
props.content !== null ? renderString(props.content) : store.readme
@@ -123,7 +123,7 @@ export default defineComponent({
resetStackedNotes,
userSettings: computed(() => store.userSettings),
focus: () => scrollToFocusedNote(undefined, true),
...noteProps
titles
}
}
})