If the user is typing and then quickly clicks outside of the editor the model is set to undefined.
However, if the user changes a line in the editor, clicks on another line and then clicks outside the editor the model is set correctly.
(This is happening in the demo as well)
If the user is typing and then quickly clicks outside of the editor the model is set to
undefined.However, if the user changes a line in the editor, clicks on another line and then clicks outside the editor the model is set correctly.
(This is happening in the demo as well)