add resource for editor