#29423 closed defect (bug) (fixed)
Add a filter to disable editor scrolling from PHP
Reported by: | azaozz | Owned by: | azaozz |
---|---|---|---|
Milestone: | 4.0 | Priority: | normal |
Severity: | normal | Version: | 4.0 |
Component: | Editor | Keywords: | has-patch commit dev-reviewed |
Focuses: | Cc: |
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)
Change History (10)
Note: See
TracTickets for help on using
tickets.
In 29423.patch: add
wp_editor_expand
filter. Returning false from it will disable editor scrolling and hide the screen option.