Use wrapSelection instead of relying on toolbar