mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-22 22:49:45 +01:00
feat: seperate text & delta
This commit is contained in:
@@ -40,12 +40,12 @@ export default class Note {
|
||||
return this._note.notebook;
|
||||
}
|
||||
|
||||
get text() {
|
||||
return this._note.content.text;
|
||||
delta() {
|
||||
return this._notes._deltaCollection.get(this._note.content.delta);
|
||||
}
|
||||
|
||||
delta() {
|
||||
return this._notes._deltaStorage.read(this._note.id + "_delta");
|
||||
text() {
|
||||
return this._notes._textCollection.get(this._note.content.text);
|
||||
}
|
||||
|
||||
color(color) {
|
||||
|
||||
Reference in New Issue
Block a user