added import and export functionality for editor blocks