Introduced editor#stylesSet event to fix implicit dependency between plugins.