Ticket #4556 (confirmed New Feature)

Opened 11 months ago

Last modified 6 weeks ago

Html5 and xhtml5 support

Reported by: Exception e Owned by:
Priority: Normal Milestone:
Component: General Version:
Keywords: Cc:

Description

When fckeditor encounters an html5 tag, it behaves incorrect. It will wrap the html 5 element with p-tags.

Since it is advised to create every new site in html5 already, (basic) support for html5 would be really welcome.

Html5 is backwards compatible with html4. If html4 behaviour needs to be retained, we could introduce extra modes. xhtml
html4
html5
xhtml5

Attachments

dtd.js Download (7.5 KB) - added by jonathantneal 6 months ago.
Modified dtd.js for preliminary HTML5 support

Change History

Changed 11 months ago by garry.yao

  • keywords Confirmed added
  • version 3.0.1 deleted
  • type changed from Bug to New Feature

Changed 6 months ago by jonathantneal

Modified dtd.js for preliminary HTML5 support

Changed 6 months ago by jonathantneal

Here is a modified dtd.js I wrote to add preliminary support for HTML5 elements. You may use this as a starting block to implement more accurate support.

Changed 6 weeks ago by fredck

  • milestone CKEditor 3.x deleted

Milestone CKEditor 3.x deleted

Note: See TracTickets for help on using tickets.