bookish
bookish copied to clipboard
Clean up checks for AtomNode and TextNode
Throughout the editor, we check whether nodes are editable based on their type. This logic is repeated everywhere rather than being encapsulated consistently. Find all of these and eliminate them, generalizing what counts as a selectable node.