guardian / scribe-plugin-noting

9 stars 3 forks source link

Empty note as the last element of the editor results in TypeError #157

Open thekarel opened 8 years ago

thekarel commented 8 years ago

When having an empty note at the very and of the editor inserting any character results in TypeError: Cannot read property 'insertBefore' of null due to an unchecked expectation in resetNoteBarriers