WordPress.org

Make WordPress Core

Opened 3 years ago

Last modified 23 months ago

#17105 new defect (bug)

HTML 5.0 support

Reported by: azaozz Owned by: azaozz
Milestone: Future Release Priority: normal
Severity: normal Version: 3.2
Component: Formatting Keywords: HTML5 wpautop
Focuses: Cc:

Description

All HTML 5.0 block tags have been added in both versions of wpautop(), even tags that aren't fully supported in any browser yet and as of [17625] TinyMCE recognizes all HTML 5.0 tags too.

This ticket is for correcting issues with the HTML 5.0 support in WordPress' general workflow (writing, editing, formatting) and writing testcases for it.

Change History (8)

comment:1 ramoonus3 years ago

  • Cc ramoonus@… added

comment:2 follow-up: WraithKenny3 years ago

  • Cc Ken@… added

On the HTML 5 general workflow in WordPress:

http://core.trac.wordpress.org/browser/trunk/wp-includes/js/tinymce/plugins/wordpress/editor_plugin.dev.js#L192
List on "remove invalid parent paragraphs" might need updating.

http://core.trac.wordpress.org/browser/trunk/wp-admin/js/editor.dev.js#L37
http://core.trac.wordpress.org/browser/trunk/wp-admin/js/editor.dev.js#L59
blocklist1 and blocklist2 are HTML 5 unaware during switchEditors

comment:3 anointed3 years ago

  • Cc anointed added

comment:4 jane3 years ago

  • Type changed from enhancement to defect (bug)
  • Version set to 3.2

Changing type to defect (bug) since that's what ticket is meant to collect.

comment:5 in reply to: ↑ 2 azaozz3 years ago

  • Milestone changed from 3.2 to Future Release

Replying to WraithKenny:

List on "remove invalid parent paragraphs" might need updating.

I suspect this is fixed (not needed) in the current TinyMCE, needs a bit more testing before we take it out.

blocklist1 and blocklist2 are HTML 5 unaware during switchEditors

Needs more testing to confirm how to handle the new block element tags (and probably improve the current blocks that can contain another block).

comment:6 WraithKenny2 years ago

  • Keywords HTML5 wpautop added
Note: See TracTickets for help on using tickets.