fix wrong variable assignment in rich text editor

Attribute `extraPlugins` assign to property `plugin` by mistake.