#29423 closed defect (bug) (fixed)
Add a filter to disable editor scrolling from PHP
| Reported by: | azaozz | Owned by: | azaozz |
|---|---|---|---|
| Priority: | normal | Milestone: | 4.0 |
| Component: | Editor | Version: | 4.0 |
| Severity: | normal | Keywords: | has-patch commit dev-reviewed |
| Cc: | Focuses: |
Description
Currently this can be done by deregistering editor-expand.js and unsetting wp_autoresize_on in the TinyMCE init array, but having a filter would make it very straightforward and will be much more future-proof.
Attachments (2)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
In 29423.patch: add
wp_editor_expandfilter. Returning false from it will disable editor scrolling and hide the screen option.