Opened 2 years ago
Last modified 12 months ago
#17105 new defect (bug)
HTML 5.0 support
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | normal | Milestone: | Future Release |
| Component: | Formatting | Version: | 3.2 |
| Severity: | normal | Keywords: | HTML5 wpautop |
| Cc: | ramoonus@…, Ken@…, anointed |
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:2
follow-up:
↓ 5
WraithKenny — 2 years ago
- Cc Ken@… added
- 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.
- 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
WraithKenny — 14 months ago
- Keywords HTML5 wpautop added
comment:7
WraithKenny — 14 months ago
related #14264
comment:8
WraithKenny — 12 months ago
Related: #18534

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