[wp-trac] [WordPress Trac] #23299: Definition List in Editor
WordPress Trac
noreply at wordpress.org
Sun Jan 27 19:13:36 UTC 2013
#23299: Definition List in Editor
-------------------------------------+------------------
Reporter: gputignano | Owner:
Type: defect (bug) | Status: new
Priority: low | Milestone: 3.6
Component: Editor | Version: 2.2
Severity: minor | Resolution:
Keywords: has-patch needs-testing |
-------------------------------------+------------------
Changes (by azaozz):
* keywords: has-patch => has-patch needs-testing
* priority: normal => low
* severity: normal => minor
Comment:
> Strike that. Done in [attachment:23299.2.patch].
Yep, HTML white space in the Text editor is controlled by `pre_wpautop()`.
However the changes there are permanent, post_content is saved exactly as
shown (whether the user switches to the Text editor or not) so any changes
there will affect the PHP wpautop() and how the content is displayed on
the front-end.
In this particular case nothing seems to break. Note that <dl> is not
handled in TinyMCE by default, pasting <dl> in the Text editor and trying
to edit it from the Visual editor won't work well. There is a TinyMCE
plugin that handles it but it's not included by default.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/23299#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list