User:Mopsgamer/global.js

importArticles({   type: 'script',    articles: [        'u:dev:MediaWiki:DivEditor/code.js',    ] });

$(function{ $('.toolbar>.tools').append(' Песочница'); });

$(function{   $('#theme-solarized-light').before('Копировать код ');    $('#CopyCode').click(function{ $('#theme-solarized-light').attr("contenteditable", "true"); $('#theme-solarized-light').selectText; document.execCommand("Copy"); document.getSelection.collapseToEnd; $('#theme-solarized-light').attr("contenteditable", "false"); $(this).text("Скопировано"); }) });