Add editor settings filter to wp-includes/class-wp-editor.php
|Reported by:||amereservant||Owned by:||nacin|
I propose adding the following patch which applies the new filter the_editor_settings to the array of editor settings just before it begins rendering the editor in WP_Editor::editor().
This would allow developers the ability to customize many attributes to how the editor renders including setting the textarea rows, etc.
I personally need this because I've chosen to use the Posts in a different way and the content will be much shorter than a standard WordPress Post, so an oversized textarea is too much.
Instead of writing my own form code, it makes better sense to customize the existing code and keep the overall code lighter.
Change History (9)
- Milestone changed from Awaiting Review to 3.3
- Owner set to nacin
- Status changed from new to accepted