mirror of
https://github.com/zadam/trilium.git
synced 2024-09-30 20:45:58 +08:00
15 lines
309 B
JavaScript
15 lines
309 B
JavaScript
|
import NoteShort from './note_short.js';
|
||
|
|
||
|
class NoteFull extends NoteShort {
|
||
|
constructor(treeCache, row) {
|
||
|
super(treeCache, row);
|
||
|
|
||
|
this.content = row.content;
|
||
|
|
||
|
if (this.isJson()) {
|
||
|
this.jsonContent = JSON.parse(this.content);
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
export default NoteFull;
|