.changes/sugar/9.3.0.md
Focus.focus function now takes an additional preventScroll parameter to allow focus on an element without scrolling.Awareness.isCursorPosition API now returns true for passed contenteditable=false elements.SugarNode.isHTMLElement function now ensures the nodeType is 1 before checking the prototypes.Ready.image function that returns a promise which will not resolve until the image element has loaded. Errors trigger promise rejection.Optional API used in this module.Ready.execute to Ready.document, for better clarity on what it doesRemove.unwrap API now inserts children after the current node, instead of before.Replication.mutate API now inserts the replacement node after the current node, instead of before.Class.toggle API didn't cleanup the class attribute when empty.parentElement function to the Traverse API.setOptions function to the Attribute API.getInner and getRuntime functions to the Width and Height APIs.window.visualViewport in Mozilla Firefox as it was returning an incorrect value for pageTop when using position: 'fixed'.ContentEditable module to determine if an HTML element is content editable.Optional API used in this module.