1. Highlight the text.
2. Press the align right button on the editor toolbar.
3. The text is now right aligned.