fixing autofocus property
generate froala editor