lens icon indicating copy to clipboard operation
lens copied to clipboard

Fix StatusBar crashing due to missing `doc` prop

Open philippamarkovics opened this issue 8 years ago • 1 comments

Currently, StatusBar throws a type error during initial render because the doc prop is not being passed along to LensController. As remedy, we grab the doc from documentSession and pass it along for both the reader and the writer.

philippamarkovics avatar Mar 21 '16 10:03 philippamarkovics

We changed the API of LensWriter/Reader to take a DocumentSession instead of a Document so we can control realtime stuff outside of the editor. Very possible we introduced some regressions here. I will have look...

michael avatar Mar 21 '16 10:03 michael