Clear the editor when adding new slide