V506

changes to core to facilitate the html edit (visual editor) operation