@codingame/monaco-vscode-walkthrough-service-override 19.0.1 → 19.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codingame/monaco-vscode-walkthrough-service-override",
|
|
3
|
-
"version": "19.0
|
|
3
|
+
"version": "19.1.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "VSCode public API plugged on the monaco editor - walkthrough service-override",
|
|
6
6
|
"keywords": [],
|
|
@@ -15,15 +15,15 @@
|
|
|
15
15
|
},
|
|
16
16
|
"type": "module",
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@codingame/monaco-vscode-158b9837-fc78-5d9c-86f5-9134e4358643-common": "19.0
|
|
19
|
-
"@codingame/monaco-vscode-516ccb00-d5b9-5317-baf0-fcc96e99669a-common": "19.0
|
|
20
|
-
"@codingame/monaco-vscode-60014c9d-b815-501d-83a9-4b08725c2ec2-common": "19.0
|
|
21
|
-
"@codingame/monaco-vscode-7bbc9e7d-eeae-55fc-8bf9-dc2f66e0dc73-common": "19.0
|
|
22
|
-
"@codingame/monaco-vscode-9d0168a3-519b-57f3-9bcc-89efc41f951a-common": "19.0
|
|
23
|
-
"@codingame/monaco-vscode-api": "19.0
|
|
24
|
-
"@codingame/monaco-vscode-ca445022-b812-53ca-a041-e46c7e0b13de-common": "19.0
|
|
25
|
-
"@codingame/monaco-vscode-cf77987b-b1b7-5359-aaf8-a259c63d9f03-common": "19.0
|
|
26
|
-
"@codingame/monaco-vscode-f24e325c-2ce0-5bba-8236-bfc4f53180ab-common": "19.0
|
|
18
|
+
"@codingame/monaco-vscode-158b9837-fc78-5d9c-86f5-9134e4358643-common": "19.1.0",
|
|
19
|
+
"@codingame/monaco-vscode-516ccb00-d5b9-5317-baf0-fcc96e99669a-common": "19.1.0",
|
|
20
|
+
"@codingame/monaco-vscode-60014c9d-b815-501d-83a9-4b08725c2ec2-common": "19.1.0",
|
|
21
|
+
"@codingame/monaco-vscode-7bbc9e7d-eeae-55fc-8bf9-dc2f66e0dc73-common": "19.1.0",
|
|
22
|
+
"@codingame/monaco-vscode-9d0168a3-519b-57f3-9bcc-89efc41f951a-common": "19.1.0",
|
|
23
|
+
"@codingame/monaco-vscode-api": "19.1.0",
|
|
24
|
+
"@codingame/monaco-vscode-ca445022-b812-53ca-a041-e46c7e0b13de-common": "19.1.0",
|
|
25
|
+
"@codingame/monaco-vscode-cf77987b-b1b7-5359-aaf8-a259c63d9f03-common": "19.1.0",
|
|
26
|
+
"@codingame/monaco-vscode-f24e325c-2ce0-5bba-8236-bfc4f53180ab-common": "19.1.0",
|
|
27
27
|
"marked": "14.0.0"
|
|
28
28
|
},
|
|
29
29
|
"main": "index.js",
|
|
@@ -30,7 +30,7 @@ import { UILabelProvider } from '@codingame/monaco-vscode-api/vscode/vs/base/com
|
|
|
30
30
|
import { OS, OperatingSystem } from '@codingame/monaco-vscode-api/vscode/vs/base/common/platform';
|
|
31
31
|
import { deepClone } from '@codingame/monaco-vscode-api/vscode/vs/base/common/objects';
|
|
32
32
|
import { INotificationService } from '@codingame/monaco-vscode-api/vscode/vs/platform/notification/common/notification.service';
|
|
33
|
-
import { isHTMLElement, isHTMLAnchorElement, isHTMLButtonElement, size, getActiveElement, safeInnerHtml, addDisposableListener } from '@codingame/monaco-vscode-api/vscode/vs/base/browser/dom';
|
|
33
|
+
import { createElement, isHTMLElement, isHTMLAnchorElement, isHTMLButtonElement, size, getActiveElement, safeInnerHtml, addDisposableListener } from '@codingame/monaco-vscode-api/vscode/vs/base/browser/dom';
|
|
34
34
|
import { IEditorGroupsService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorGroupsService.service';
|
|
35
35
|
import { IExtensionService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/extensions/common/extensions.service';
|
|
36
36
|
|
|
@@ -57,7 +57,7 @@ let WalkThroughPart = class WalkThroughPart extends EditorPane {
|
|
|
57
57
|
this.editorMemento = this.getEditorMemento(editorGroupService, textResourceConfigurationService, WALK_THROUGH_EDITOR_VIEW_STATE_PREFERENCE_KEY);
|
|
58
58
|
}
|
|
59
59
|
createEditor(container) {
|
|
60
|
-
this.content =
|
|
60
|
+
this.content = createElement('div');
|
|
61
61
|
this.content.classList.add('welcomePageFocusElement');
|
|
62
62
|
this.content.tabIndex = 0;
|
|
63
63
|
this.content.style.outlineStyle = 'none';
|
|
@@ -244,7 +244,7 @@ let WalkThroughPart = class WalkThroughPart extends EditorPane {
|
|
|
244
244
|
this.updatedScrollPosition();
|
|
245
245
|
return;
|
|
246
246
|
}
|
|
247
|
-
const innerContent =
|
|
247
|
+
const innerContent = createElement('div');
|
|
248
248
|
innerContent.classList.add('walkThroughContent');
|
|
249
249
|
const markdown = this.expandMacros(content);
|
|
250
250
|
safeInnerHtml(innerContent, markdown, { ALLOW_UNKNOWN_PROTOCOLS: true });
|