Make WordPress Core


Ignore:
Timestamp:
05/26/2014 11:56:27 PM (11 years ago)
Author:
wonderboymusic
Message:

When adding a URL in the Insert from URL state in the media modal, attempt to show a preview of the content. Drop the unused width and height fields.

This will probably be iterated upon.

Props helen, jtsternberg, wonderboymusic.
See #15490.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/media-template.php

    r28442 r28581  
    547547
    548548    <script type="text/html" id="tmpl-embed-link-settings">
    549         <label class="setting">
    550             <span><?php _e('Title'); ?></span>
     549        <label class="setting title">
     550            <span><?php _e( 'Title' ); ?></span>
    551551            <input type="text" class="alignment" data-setting="title" />
    552552        </label>
     553        <div class="embed-container" style="display: none;">
     554            <div class="embed-preview"></div>
     555        </div>
    553556    </script>
    554557
Note: See TracChangeset for help on using the changeset viewer.