add hooks for editing plugin content
Merge pull request #1024 from concerto/edit-content-hook

add hooks for editing plugin content