Text editors used outside the dashboard want to be able to insert H5Ps as well.
Not sure how well this will work for the 'insert popup', but should be doable without too much work.
(have been requests previously by others as well)
1. Should work for both front-end editors for LearnDash or WPLMS.
2. Move code from the deprecated media_buttons_contex to the new action.