Update medium editor for better handling of pasted HTML