[wp-trac] [WordPress Trac] #43120: HTML Tag Auto-Formatting in Custom HTML Widget
WordPress Trac
noreply at wordpress.org
Thu Jan 18 01:28:46 UTC 2018
#43120: HTML Tag Auto-Formatting in Custom HTML Widget
-------------------------+-------------------------------
Reporter: JosefNT | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Widgets | Version: 4.9.2
Severity: normal | Resolution:
Keywords: | Focuses: coding-standards
-------------------------+-------------------------------
Comment (by westonruter):
@JosefNT hi, thanks for the ticket. Have you looked at the
`wp_code_editor_settings` filter? It allows you to modify the `codemirror`
settings, including things like whether line numbers are displayed:
https://github.com/WordPress/wordpress-
develop/blob/0baa8ae85c670d338e78e408f8d6e301c6410c86/src/wp-includes
/general-template.php#L3199-L3213
--
Ticket URL: <https://core.trac.wordpress.org/ticket/43120#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list