WordPress.org

Make WordPress Core

Opened 9 years ago

Closed 4 years ago

#17105 closed defect (bug) (fixed)

HTML 5.0 support

Reported by: azaozz Owned by: azaozz
Milestone: 4.4 Priority: normal
Severity: normal Version: 3.2
Component: Formatting Keywords: HTML5 wpautop kses
Focuses: Cc:
PR Number:

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 (11)

#1 @ramoonus
9 years ago

  • Cc ramoonus@… added

#2 follow-up: @WraithKenny
9 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

#3 @anointed
9 years ago

  • Cc anointed added

#4 @jane
9 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.

#5 in reply to: ↑ 2 @azaozz
8 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).

#6 @WraithKenny
8 years ago

  • Keywords HTML5 wpautop added

#9 @miqrogroove
5 years ago

  • Keywords kses added

#10 follow-up: @wonderboymusic
4 years ago

  • Milestone changed from Future Release to 4.4

@azaozz - this might be done, if you wouldn't mind taking a quick look

#11 in reply to: ↑ 10 @azaozz
4 years ago

  • Resolution set to fixed
  • Status changed from new to closed

Replying to wonderboymusic:

Yep, fixed in different commits over several releases. This ticket was far too broad.

Note: See TracTickets for help on using tickets.