made export settings a text area

This commit is contained in:
ericrius1 2016-02-16 17:57:09 -08:00
parent c43500f38a
commit ce2d76d3f3
2 changed files with 4 additions and 11 deletions

View file

@ -43,16 +43,7 @@ body{
#exported-props {
/* Set the margin-left and margin-right automatically set */
color: white;
white-space: -moz-pre-wrap !important; /* Mozilla, since 1999 */
white-space: -pre-wrap; /* Opera 4-6 */
white-space: -o-pre-wrap; /* Opera 7 */
white-space: pre-wrap; /* css-3 */
word-wrap: break-word; /* Internet Explorer 5.5+ */
white-space: -webkit-pre-wrap; /* Newer versions of Chrome/Safari*/
word-break: break-all;
white-space: normal;
}

View file

@ -432,9 +432,11 @@ function showPreselectedPrompt() {
var buttonnode= document.createElement('input');
buttonnode.setAttribute('type','button');
buttonnode.setAttribute('value','close');
elem.appendChild(document.createTextNode("COPY THE BELOW TO CLIPBOARD:"));
elem.appendChild(document.createTextNode("COPY THE BELOW FIELD TO CLIPBOARD:"));
elem.appendChild(document.createElement("br"));
elem.appendChild(document.createTextNode(exportSettings));
var textAreaNode = document.createElement("textarea");
textAreaNode.value = exportSettings;
elem.appendChild(textAreaNode);
elem.appendChild(document.createElement("br"));
elem.appendChild(buttonnode);