Skip to content

✨ Innovative and open-source visualization application that transforms various data formats, such as JSON, YAML, XML and CSV into interactive graphs.

feat: add editor placeholder

AykutSaracf25750d9949a
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index a523ebb2..ec955605 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -22,7 +22,7 @@ importers:
version: 7.11.2([email protected])
'@monaco-editor/react':
specifier: ^4.6.0
'@sentry/nextjs':
specifier: ^7.118.0
@@ -1975,8 +1975,8 @@ packages:
resolution: {integrity: sha512-2emPTb1reeLLYwHxyVx993iYyCHEiRRO+y8NFXFPL5kl5q14sgTK76cXyEKkeKCHeRw35SfdkUJ10Q1KfHuiIQ==}
engines: {node: '>= 0.4'}
- resolution: {integrity: sha512-8CclLCmrRRh+sul7C08BmPBP3P8wVWfBHomsTcndxg5NRCEPfu/mc2AGU8k37ajjDVXcXFc12ORAMUkmk+lkFA==}
+ resolution: {integrity: sha512-GEQWEZmfkOGLdd3XK8ryrfWz3AIP8YymVXiPHEdewrUq7mh0qrKrfHLNCXcbB6sTnMLnOZ3ztSiKcciFUkIJwQ==}
resolution: {integrity: sha512-QNo4kEepaIBwiT8CDhP98umTetp+JNfQYBWvC1pc6/OAibuXtRcxZ58Qz8skvEHYvURne/7R8T5VoOI7rDsEUA==}
@@ -3076,15 +3076,15 @@ snapshots:
dependencies:
react: 18.3.1
dependencies:
- monaco-editor: 0.50.0
+ monaco-editor: 0.52.2
state-local: 1.0.7
dependencies:
- '@monaco-editor/loader': 1.4.0([email protected])
- monaco-editor: 0.50.0
+ '@monaco-editor/loader': 1.4.0([email protected])
+ monaco-editor: 0.52.2
react: 18.3.1
react-dom: 18.3.1([email protected])
@@ -4847,7 +4847,7 @@ snapshots:
hasown: 2.0.2
isarray: 2.0.5
diff --git a/src/features/editor/TextEditor.tsx b/src/features/editor/TextEditor.tsx
index 8275f395..94b0e56e 100644
--- a/src/features/editor/TextEditor.tsx
+++ b/src/features/editor/TextEditor.tsx
@@ -18,6 +18,7 @@ const editorOptions: EditorProps["options"] = {
minimap: { enabled: false },
stickyScroll: { enabled: false },
scrollBeyondLastLine: false,
+ placeholder: "Start typing...",
};
const TextEditor = () => {