Some fixes for the wysiswyg editor

Signed-off-by: Bo Thomsen <boh1996@gmail.com>