RichText samples
editor api
get model
Getting data model. Check documentation:
getModel() method