crayon-syntax-highlighter icon indicating copy to clipboard operation
crayon-syntax-highlighter copied to clipboard

On ajax load crayon-syntax-highlighter not working properly

Open apurbajnu opened this issue 9 years ago • 2 comments

On ajax load crayon-syntax-highlighter not working properly. after one load without refresh css file working properly . But other copy or details button not working after ajax loading. How to solve this problem ?

apurbajnu avatar May 04 '16 03:05 apurbajnu

Really need some fixing to work with ajax.

apurbajnu avatar May 06 '16 04:05 apurbajnu

Happen to me too, i have ajax load more button in my site with "Ajax Pagination and Infinite Scroll By Malinky", when i load the posts the crayon style, options and buttons doesn't work at all, any idea?

I fixed same problem with colorbox lightbox adding a simple callback in plugin options:

$("a.colorbox").colorbox({maxWidth:"98%", maxHeight:"98%"});

But the crayon load is more complex and i don't know what i need to add to fix it :/

tyl3r avatar May 03 '17 13:05 tyl3r