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

Lao Yang one thousand one hundred and seventeen three
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, you will not load the copy function file

LY_Editer Code Language Copy

Plug in ID: ly_copy
Version: 1.0.6
Z-BlogPHP>= 1.4
PHP>= 5.2
Updated: 2023-07-29
File: 44.15KB
 Code copy: add code content in the editor, and directly copy code language content in browsing articles and pages - Laoyang plug-in
 Code copy: add code content in the editor, and directly copy code language content in browsing articles and pages - Laoyang plug-in
 Code copy: add code content in the editor, and directly copy code language content when browsing articles and pages - Laoyang plug-in

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


 3. 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);             }         }


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
  1. How to enable?
    1. Lao Yang reply
      Guangxi Telecom/public export of data access
      The code style of this editor is more beautiful: LY_UEditorPlus editor https://zb.lyphp.com/post/13/
    2. Lao Yang reply
      Guangxi Telecom/public export of data access
      It's just that the installation can be started directly