mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 07:00:11 +01:00
Have editor options survive across followed links
This commit is contained in:
parent
4dfa2b4d44
commit
c78c7308a8
28 changed files with 74 additions and 60 deletions
|
|
@ -300,7 +300,7 @@ gulp.task('generate-test-samples', function() {
|
|||
'',
|
||||
'/*----------------------------------------SAMPLE CSS END*/',
|
||||
'</style>',
|
||||
'<a href="playground.generated/index.html">[<< BACK]</a> <br/>',
|
||||
'<a class="loading-opts" href="playground.generated/index.html">[<< BACK]</a> <br/>',
|
||||
'THIS IS A GENERATED FILE VIA gulp generate-test-samples',
|
||||
'',
|
||||
'<div id="bar" style="margin-bottom: 6px;"></div>',
|
||||
|
|
@ -341,13 +341,16 @@ gulp.task('generate-test-samples', function() {
|
|||
'<!-- THIS IS A GENERATED FILE VIA gulp generate-test-samples -->',
|
||||
'<html>',
|
||||
'<head>',
|
||||
' <base href="..">',
|
||||
'</head>',
|
||||
'<body>',
|
||||
'<a href="../index.html">[<< BACK]</a><br/>',
|
||||
'<a class="loading-opts" href="index.html">[<< BACK]</a><br/>',
|
||||
'THIS IS A GENERATED FILE VIA gulp generate-test-samples<br/><br/>',
|
||||
locations.map(function(location) {
|
||||
return '<a href="' + location.path + '">' + location.name + '</a>';
|
||||
return '<a class="loading-opts" href="playground.generated/' + location.path + '">' + location.name + '</a>';
|
||||
}).join('<br/>\n'),
|
||||
'<script src="../metadata.js"></script>',
|
||||
'<script src="dev-setup.js"></script>',
|
||||
'</body>',
|
||||
'</html>',
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue