adding rich editor plugin, storing attachments locally