File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 143
143
$ selector = substr ($ params ['list ' ]->getValue ('selector ' ), 1 );
144
144
$ generic_code = '' .$ params ['list ' ]->getValue ('selector ' ).'' ;
145
145
$ return = '' ;
146
- $ return .= '<clipboard-copy for="redactor-generic- ' .$ params ['list ' ]->getValue ('id ' ).'" class="btn btn-copy btn-text "><i class="rex-icon fa-clone"></i> <code> ' . $ generic_code . ' </code ></clipboard-copy> ' ;
147
- $ return .= '<input class="hidden" id="redactor-generic- ' .$ params ['list ' ]->getValue ('id ' ).'" value=" ' . $ generic_code . '" > ' ;
148
- $ return .= '<br><clipboard-copy for="redactor-yform- ' .$ params ['list ' ]->getValue ('id ' ).'" class="btn btn-copy btn-text "><i class="rex-icon fa-clone"></i> <code> ' . $ yform_code . ' </code ></clipboard-copy> ' ;
149
- $ return .= '<input class="hidden" id="redactor-yform- ' .$ params ['list ' ]->getValue ('id ' ).'" value= \'' . $ yform_code . '\' > ' ;
146
+ $ return .= '<clipboard-copy for="redactor-generic- ' .$ params ['list ' ]->getValue ('id ' ).'" class="btn btn-copy btn-default "><i class="rex-icon fa-clone"></i></clipboard-copy> ' ;
147
+ $ return .= ' <div id="redactor-generic- ' .$ params ['list ' ]->getValue ('id ' ).'" class="visible-lg-inline-block"><code> ' . $ generic_code . '</code></div > ' ;
148
+ $ return .= '<br><clipboard-copy for="redactor-yform- ' .$ params ['list ' ]->getValue ('id ' ).'" class="btn btn-copy btn-default "><i class="rex-icon fa-clone"></i></clipboard-copy> ' ;
149
+ $ return .= ' <div id="redactor-yform- ' .$ params ['list ' ]->getValue ('id ' ).'" class="visible-lg-inline-block"><code> ' . $ yform_code . '</code></div > ' ;
150
150
151
151
return $ return ;
152
152
You can’t perform that action at this time.
0 commit comments