added support for inputs and contenteditable