fix wrong variable assignment in rich text editor
Merge pull request #39 from muzuiget/master

Thanks @muzuiget,
fix wrong variable assignment in rich text editor