Code copying: add code content in the editor, and directly copy code language content when browsing articles and pages, ly_copy

Lao Yang nine hundred and three three
LY_Editer Code Language Copy
Plug in ID: ly_copy
Version: 1.0.6
ZBP>=:1.4
PHP>=:5.2
File: 44.15KB
Updated: 2023-07-29

This plug-in is green and efficient dynamic loading. Add code language content in the editor, and you can directly copy code language content when browsing articles and pages. If there is no code language content in articles and pages, the copy function file will not be loaded.


 1. Code copy: add code content in the editor, and directly copy code language content in browsing articles and pages - Laoyang plug-in


 2. Code copy: add code content in the editor, and directly copy code language content in browsing articles and pages - Laoyang plug-in

The effect is shown here:

         function clipboard_info(e, t) {             e = $(e.trigger);             var a = '';             b = e.html();             if (b != t) {                 a = b;                 e.html(t);             }             if (a) {                 setTimeout(function() {                     e.html(a);                 }, 3000);             }         }


Export Document
Reward the author
Code Copying: Add code content in the editor, and directly copy code language content when browsing articles and pages. doc
Download and save this article for collection and printing
Export Document
Comment List