diff --git a/apps/generic-issuance-client/package.json b/apps/generic-issuance-client/package.json index 6b247fcacd..a40163fbb6 100644 --- a/apps/generic-issuance-client/package.json +++ b/apps/generic-issuance-client/package.json @@ -31,6 +31,7 @@ "javascript-time-ago": "^2.5.9", "lodash": "^4.17.21", "moment": "^2.30.1", + "monaco-editor": "^0.47.0", "prop-types": "^15.8.1", "react": "^18.2.0", "react-dom": "^18.2.0", diff --git a/apps/generic-issuance-client/src/components/FancyEditor.tsx b/apps/generic-issuance-client/src/components/FancyEditor.tsx index 35786b6e76..ed21dd8c18 100644 --- a/apps/generic-issuance-client/src/components/FancyEditor.tsx +++ b/apps/generic-issuance-client/src/components/FancyEditor.tsx @@ -41,7 +41,7 @@ export function FancyEditor({ onChange={onValueChange} loading={} options={{ - readonly: readonly, + readOnly: readonly, minimap: { enabled: false } diff --git a/yarn.lock b/yarn.lock index 96cf6336f4..a4de006280 100644 --- a/yarn.lock +++ b/yarn.lock @@ -14536,6 +14536,11 @@ moment@^2.30.1: resolved "https://registry.yarnpkg.com/moment/-/moment-2.30.1.tgz#f8c91c07b7a786e30c59926df530b4eac96974ae" integrity sha512-uEmtNhbDOrWPFS+hdjFCBfy9f2YoyzRpwcl+DqpC6taX21FzsTLQVbMV/W7PzNSX6x/bhC1zA3c2UQ5NzH6how== +monaco-editor@^0.47.0: + version "0.47.0" + resolved "https://registry.yarnpkg.com/monaco-editor/-/monaco-editor-0.47.0.tgz#39865d67e0c9fb8c6b49e760bf9caf6a6650d28e" + integrity sha512-VabVvHvQ9QmMwXu4du008ZDuyLnHs9j7ThVFsiJoXSOQk18+LF89N4ADzPbFenm0W4V2bGHnFBztIRQTgBfxzw== + morgan@^1.10.0: version "1.10.0" resolved "https://registry.yarnpkg.com/morgan/-/morgan-1.10.0.tgz#091778abc1fc47cd3509824653dae1faab6b17d7"