Disengage ContainerEditor from book prop
Currently the book
prop gets passed down from SimpleEditorWrapper
to the ContainerEditor
(and the NotesEditor
), in order for it to build the url when trying to block routing.
The use case here is showing the modal that stops the user from leaving when there is unsaved changes.
This should probably be moved to a higher level, but we need to think of a way for this to work without depending on the react context of the SimpleEditorWrapper
and SimpleEditor
files.