fixing visual editor links and adding alignment classes