Make WordPress Core


Ignore:
Timestamp:
09/16/2012 09:20:35 PM (12 years ago)
Author:
azaozz
Message:

Switch TinyMCE's schema to 'html5', add 'autofocus' to the attributes map for <input>, part props SergeyBiryukov, fixes #13314

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/class-wp-editor.php

    r21735 r21875  
    320320                    'webkit_fake_resize' => false,
    321321                    'spellchecker_rpc_url' => self::$baseurl . '/plugins/spellchecker/rpc.php',
    322                     'extended_valid_elements' => 'article[*],aside[*],audio[*],canvas[*],command[*],datalist[*],details[*],embed[*],figcaption[*],figure[*],footer[*],header[*],hgroup[*],keygen[*],mark[*],meter[*],nav[*],output[*],progress[*],section[*],source[*],summary,time[*],video[*],wbr',
     322                    'schema' => 'html5',
    323323                    'wpeditimage_disable_captions' => $no_captions,
    324324                    'wp_fullscreen_content_css' => self::$baseurl . '/plugins/wpfullscreen/css/wp-fullscreen.css',
Note: See TracChangeset for help on using the changeset viewer.