RichText samples
editor api
get position
Getting position. Check documentation:
getPosition() method
Get position