Jump to content

How to turn off compressed quotes?


Tennman
 Share

Recommended Posts

  • 1 month later...
4 hours ago, bfarber said:

You could modify the theme template to remove the expansion.

You've mentioned this twice - are you sure about that? Reason I ask is the truncate functionality looks like it is applied with JS, via ips.ui.quote.js, at the time of post display:

/* Set the event handler for opening/closing */
elem.find('> .ipsQuote_citation').on( 'click', _toggleQuote );
elem.find('> .ipsQuote_contents')
	.addClass('ipsClearfix')
	.attr('data-ipsTruncate', true)
	.attr('data-ipsTruncate-type', 'hide')
	.attr('data-ipsTruncate-size', '7 lines')
	.attr('data-ipsTruncate-expandText', ips.getString('expand_quote'));
			

I've sussed out how to play with the above but if this somehow controlled via a theme template then I'd love to know which one so I could take a closer look at it for something I'm working on to assist with this 'issue'

 

 

Edited by Nathan Explosion
Link to comment
Share on other sites

14 hours ago, Nathan Explosion said:

You've mentioned this twice - are you sure about that? Reason I ask is the truncate functionality looks like it is applied with JS, via ips.ui.quote.js, at the time of post display:


/* Set the event handler for opening/closing */
elem.find('> .ipsQuote_citation').on( 'click', _toggleQuote );
elem.find('> .ipsQuote_contents')
	.addClass('ipsClearfix')
	.attr('data-ipsTruncate', true)
	.attr('data-ipsTruncate-type', 'hide')
	.attr('data-ipsTruncate-size', '7 lines')
	.attr('data-ipsTruncate-expandText', ips.getString('expand_quote'));
			

I've sussed out how to play with the above but if this somehow controlled via a theme template then I'd love to know which one so I could take a closer look at it for something I'm working on to assist with this 'issue'

Can confirm that it's added with JS. Disabled JS, and here's what your signature looks like.

image.png.d4b3972dd95f9d234aa8de5daadce26b.png

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...