RichText editor reinit fixed

fix for #38