Ticket #40331: 40331-wp-link-url.diff
File 40331-wp-link-url.diff, 1.3 KB (added by , 15 months ago) |
---|
-
src/js/_enqueues/vendor/tinymce/plugins/wplink/plugin.js
56 56 renderHtml: function() { 57 57 return ( 58 58 '<div id="' + this._id + '" class="wp-link-input">' + 59 '< input type="text" value="" placeholder="' + tinymce.translate( 'Paste URL or type to search' ) + '" />' +59 '<label for="' + this._id + '_label">' + tinymce.translate( 'Paste URL or type to search' ) + '</label><input type="text" value="" />' + 60 60 '<input type="text" style="display:none" value="" />' + 61 61 '</div>' 62 62 ); -
src/wp-includes/css/editor.css
1738 1738 color: #d63638; 1739 1739 } 1740 1740 1741 div.mce-flow-layout-item > div { 1742 display: flex; 1743 align-items: end; 1744 } 1745 1741 1746 div.wp-link-input { 1742 1747 float: left; 1743 1748 margin: 2px; … … 1744 1749 max-width: 694px; 1745 1750 } 1746 1751 1752 div.wp-link-input label { 1753 margin-bottom: 4px; 1754 display: block; 1755 } 1756 1747 1757 div.wp-link-input input { 1748 1758 width: 300px; 1749 1759 padding: 3px;