Added codesnippet for coeditor.