File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -298,7 +298,7 @@ export const actOnTailwindGenerator = (
298
298
codeToCopy = `shadow-[${ element . boxShadow . replace ( / / g, '_' ) } ]` ;
299
299
break ;
300
300
case 'text-shadow' :
301
- codeToCopy = `` ;
301
+ codeToCopy = `[text-shadow: ${ element . textShadow . replace ( / [ \s , ] / g , '_' ) } ] ` ;
302
302
break ;
303
303
case 'input-range' :
304
304
codeToCopy = `` ;
Original file line number Diff line number Diff line change @@ -244,7 +244,8 @@ getValues();
244
244
245
245
// Tailwind codecopy handler
246
246
function tailwindHandler ( ) {
247
- copyTailwindCodeToClipboard ( attribute ) ;
247
+ const outputElement : HTMLElement = getOutput ( attribute ) ;
248
+ copyTailwindCodeToClipboard ( attribute , outputElement ) ;
248
249
showPopup (
249
250
'Tailwind Code Copied' ,
250
251
'Code has been successfully copied to clipboard' ,
You can’t perform that action at this time.
0 commit comments