Write plugin for editor

is it possible to create plugin for editor ? for example a plugin to handle some task in add new feature to editor

Yes, check out the Editor API docs.