Opened 10 years ago
Closed 7 years ago
#37844 closed feature request (wontfix)
No filter / js trigger for changing the wp popup toolbar
| Reported by: | programmin | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | TinyMCE | Version: | 4.5.3 |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
Description (last modified by )
It seems there is no easy way to add a button to the (align, edit, remove) toolbar in WordPress.
While the editor.wp._createToolbar is something any JS can access, (wp-includes/js/tinymce/plugins/wordpress/plugin.js) it's apparently used in the MCE preinit action (wp-includes/js/tinymce/plugins/wordpress/plugin.js), which is also the action in which it was created.
If it were created before, other scripts could at least possibly duck-punch it early to make a createToolbar that has a modified toolbar with extra functions.
Change History (2)
#2
@
7 years ago
- Component General → TinyMCE
- Description modified (diff)
- Milestone Awaiting Review
- Resolution → wontfix
- Status new → closed
Hey @programmin,
I'm sorry that this took so long to receive a response.
I am going to close this out as a wontfix. The Classic Editor is not accepting any new enhancements or feature requests after the release of the new block editor.
You should now be able to add/remove/alter this toolbar in the new editor. If you are not able to, an issue will need to be opened upstream on the Gutenberg GitHub repository.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
I noticed this looking through that code again... any chance this can be pluggable before this feature is "finalized"?