DefaultEditor : in `refreshElement` don't set the input value unless it has changed

this fixes the 'jumping cursor' bug while typing in the default editor.