fix editor and markdown font family/size render issue

use new way to reset font family/size, more grace and elegant.