Currently, only the note text is stored but not the original text that the note is applied to. Create a new field for storing this text, the main advantage is that it would be easier to retrieve the original text, at the moment it's necessary to load the whole page and substring the text based on the span of the note.
One disadvantage is that previously saved notes won't have the original text.
Currently, only the note text is stored but not the original text that the note is applied to. Create a new field for storing this text, the main advantage is that it would be easier to retrieve the original text, at the moment it's necessary to load the whole page and substring the text based on the span of the note.
One disadvantage is that previously saved notes won't have the original text.