Added wrapSelection to editor.js