Fix applying some of styles in source editor