Function to Change the Article Editor Mode