Added support for contenteditable elements within setValue().