WYSIWYG field: Fixed JS bug causing formatting to be removed when repeater row is drag/dropped

Signed-off-by: Elliot Condon <e@elliotcondon.com>