When the editor element is blurred, the DOM will now dispatch an event indicating the hidden <input> element as its target and the newly focused element as its relatedTarget. This pull request fixes autosave to work correctly when shadow DOM is enabled.
When the editor element is blurred, the DOM will now dispatch an event indicating the hidden
<input>
element as itstarget
and the newly focused element as itsrelatedTarget
. This pull request fixes autosave to work correctly when shadow DOM is enabled.