Changeset 1766105
- Timestamp:
- 11/14/2017 03:39:55 PM (8 years ago)
- Location:
- text-widget-fullscreen/trunk
- Files:
-
- 4 edited
-
includes/admin/css/widgets.css (modified) (1 diff)
-
includes/admin/js/text-widget-fullscreen-add-widget-classes.js (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
-
text-widget-fullscreen.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
text-widget-fullscreen/trunk/includes/admin/css/widgets.css
r1765252 r1766105 7 7 } 8 8 9 body.mce-fullscreen #widgets-right .widget .text {10 z-index: 9999 ;9 body.mce-fullscreen #widgets-right .widget_text { 10 z-index: 9999 !important; 11 11 } -
text-widget-fullscreen/trunk/includes/admin/js/text-widget-fullscreen-add-widget-classes.js
r1765252 r1766105 8 8 text_widget_fullscreen_add_widget_classes = { 9 9 init : function() { 10 11 10 $( '#widgets-right' ).find( 'div.widget' ).each( function() { 12 11 var widget = $( this ); 13 var widget_slug = widget.children( '.widget-inside' ).find( 'input.id_base' ).val(); 14 if ( ! widget.hasClass( widget_slug ) ) { 15 widget.addClass( widget_slug ); 16 } 12 text_widget_fullscreen_add_widget_classes.widget_add_class( widget ); 17 13 } ); 18 14 15 $(document).on('widget-added', function (e, widget) { 16 e.preventDefault(); 17 18 text_widget_fullscreen_add_widget_classes.widget_add_class( widget ); 19 }); 20 }, 21 22 widget_add_class : function( widget ) { 23 var widget_slug = widget.children( '.widget-inside' ).find( 'input.id_base' ).val(); 24 if ( ! widget.hasClass( widget_slug ) ) { 25 if ( widget_slug == 'text' ) { 26 widget.addClass( 'widget_' + widget_slug ); 27 } 28 } 19 29 } 20 30 }; -
text-widget-fullscreen/trunk/readme.txt
r1765252 r1766105 3 3 Tags: text, text-widget, widget, editor, fullscreen 4 4 Requires at least: 4.8.2 5 Tested up to: 4. 8.26 Stable tag: 1. 15 Tested up to: 4.9 6 Stable tag: 1.2 7 7 License: GPLv2 or later 8 8 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 56 56 == Changelog == 57 57 58 = 1.2 = 59 60 * Add z-index value to new widgets that were added 61 58 62 = 1.1 = 59 63 -
text-widget-fullscreen/trunk/text-widget-fullscreen.php
r1765252 r1766105 4 4 Plugin URI: https://wordpress.org/plugins/text-widget-fullscreen 5 5 Description: This plugin will add a fullscreen button to your Text Widget. 6 Version: 1. 16 Version: 1.2 7 7 Author: Alexandru Vornicescu 8 8 Author URI: https://profiles.wordpress.org/alexvorn2 … … 44 44 /** Versions **********************************************************/ 45 45 46 $this->version = '1. 1';46 $this->version = '1.2'; 47 47 48 48 // Setup some base path and URL information
Note: See TracChangeset
for help on using the changeset viewer.