[wp-trac] [WordPress Trac] #19103: Add editor settings filter to wp-includes/class-wp-editor.php
WordPress Trac
wp-trac at lists.automattic.com
Tue Nov 1 17:47:05 UTC 2011
#19103: Add editor settings filter to wp-includes/class-wp-editor.php
--------------------------+-----------------------------
Reporter: amereservant | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 3.3
Severity: normal | Keywords: has-patch
--------------------------+-----------------------------
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.
Thanks!
--
Ticket URL: <http://core.trac.wordpress.org/ticket/19103>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list