Closed cutandpastey closed 9 years ago
This PR ensures consistency with zero width space placing both within createNoteFromSelection and ensureNoteIntegrity. It also fixes the bug in which deleting the last space in a paragraph proceded by a completely noted paragraph removes the note.
createNoteFromSelection
ensureNoteIntegrity
This should be published before https://github.com/guardian/scribe-plugin-noting/pull/99 as this encapsulates the removal of zero width spaces within notes for multiple selectors.
Minor comment but :+1:
Can i get some more eyes on this @robinedman @hmgibson23 @jamespamplin, there's been significant changes.
Looks good :+1:
Good stuff :+1:
This PR ensures consistency with zero width space placing both within
createNoteFromSelection
andensureNoteIntegrity
. It also fixes the bug in which deleting the last space in a paragraph proceded by a completely noted paragraph removes the note.This should be published before https://github.com/guardian/scribe-plugin-noting/pull/99 as this encapsulates the removal of zero width spaces within notes for multiple selectors.