mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01:00
made export settings a text area
This commit is contained in:
parent
c43500f38a
commit
ce2d76d3f3
2 changed files with 4 additions and 11 deletions
|
@ -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;
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue