implemented ckeditor enter_mode option

clean implementation of the enterMode option of the ckeditor.