Add 'copy to clipboard' buttons for easy challenge link and code copying
This commit is contained in:
@@ -85,6 +85,8 @@ block content
|
||||
common.dashedName = !{JSON.stringify(dashedName)};
|
||||
common.isCompleted = !{JSON.stringify(isCompleted)};
|
||||
|
||||
common.username = !{JSON.stringify(user && user.username || '')};
|
||||
|
||||
common.init.push(function() {
|
||||
common.editor.setOption('lint', false);
|
||||
common.editor.setOption('mode', 'text/html');
|
||||
|
@@ -89,6 +89,8 @@ block content
|
||||
common.dashedName = !{JSON.stringify(dashedName)};
|
||||
common.isCompleted = !{JSON.stringify(isCompleted)};
|
||||
|
||||
common.username = !{JSON.stringify(user && user.username || '')};
|
||||
|
||||
include ../partials/challenge-footer
|
||||
script.
|
||||
common.init.push(function() {
|
||||
|
Reference in New Issue
Block a user