Skip to content

Commit effcd73

Browse files
authored
Saga update properties (#2371)
1 parent 0d9394c commit effcd73

File tree

12 files changed

+872
-75
lines changed

12 files changed

+872
-75
lines changed

src/Frontend/package-lock.json

Lines changed: 16 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Frontend/package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
"bootstrap": "^5.3.5",
2929
"bootstrap-icons": "^1.11.3",
3030
"codemirror": "^6.0.1",
31+
"diff": "^7.0.0",
3132
"hex-to-css-filter": "^6.0.0",
3233
"lodash.debounce": "^4.0.8",
3334
"lossless-json": "^4.0.2",
@@ -52,6 +53,7 @@
5253
"@testing-library/vue": "^8.1.0",
5354
"@tsconfig/node18": "^18.2.4",
5455
"@types/bootstrap": "^5.2.10",
56+
"@types/diff": "^7.0.2",
5557
"@types/lodash": "^4.17.16",
5658
"@types/node": "^22.15.3",
5759
"@vitejs/plugin-vue": "^5.2.3",
Lines changed: 3 additions & 0 deletions
Loading
Lines changed: 3 additions & 0 deletions
Loading

src/Frontend/src/components/CodeEditor.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ const props = withDefaults(
1919
showGutter?: boolean;
2020
showCopyToClipboard?: boolean;
2121
ariaLabel?: string;
22+
css?: string;
2223
}>(),
2324
{ readOnly: true, showGutter: true, showCopyToClipboard: true }
2425
);
@@ -49,7 +50,7 @@ const extensions = computed(() => {
4950
</script>
5051

5152
<template>
52-
<div class="wrapper" :aria-label="ariaLabel">
53+
<div class="wrapper" :aria-label="ariaLabel" :class="css">
5354
<div v-if="props.showCopyToClipboard" class="toolbar">
5455
<CopyToClipboard :value="code" />
5556
</div>

0 commit comments

Comments
 (0)