WordPress.org

Ready to get started?Download WordPress

Forums

Rich Text Widget
Broken in WP 3.3 (5 posts)

  1. proximity2008
    Member
    Posted 2 years ago #

    I am fairly certain this plugin is broken in WP 3.3

    Uncaught ReferenceError: TB_WIDTH is not defined

    http://wordpress.org/extend/plugins/rich-text-widget/

  2. petegreg
    Member
    Posted 2 years ago #

    I've just come across this also. The 'Drag Widget to side bar' and the expand Widget Area arrow weren't working. Disabling the plugin on my dev network site restored both.
    The problem I now have is that I can't see where the plugin has been used in the Prod network sites without being able to expand the Widget Areas

  3. katootje
    Member
    Posted 2 years ago #

    I have the same problem. There is a workaround using the accessibility mode (screen-options) to edit and move the widgets - but I hope there will be an upgrade soon

  4. richard352002
    Member
    Posted 2 years ago #

    The error generate file media-upload.js, function:

    // thickbox settings
    var tb_position;
    (function($) {
    	tb_position = function() {
    		var tbWindow = $('#TB_window'), width = $(window).width(), H = $(window).height(), W = ( 720 < width ) ? 720 : width;
    
    		if ( tbWindow.size() ) {
    			tbWindow.width( W - 50 ).height( H - 45 );
    			$('#TB_iframeContent').width( W - 50 ).height( H - 75 );
    			tbWindow.css({'margin-left': '-' + parseInt((( W - 50 ) / 2),10) + 'px'});
    			if ( typeof document.body.style.maxWidth != 'undefined' )
    				tbWindow.css({'top':'20px','margin-top':'0'});
    		};
    
    		return $('a.thickbox').each( function() {
    			var href = $(this).attr('href');
    			if ( ! href ) return;
    			href = href.replace(/&width=[0-9]+/g, '');
    			href = href.replace(/&height=[0-9]+/g, '');
    			$(this).attr( 'href', href + '&width=' + ( W - 80 ) + '&height=' + ( H - 85 ) );
    		});
    	};
    
    	$(window).resize(function(){ tb_position(); });
    
    })(jQuery);

    If this function is removed everything works OK

  5. pcenteredtech
    Member
    Posted 2 years ago #

    I've observed the same problem. This plugin is broken with 3.3.1 -- it blocks the drag-and-drop and expand/contract arrows in the widget editor.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic