mirror of
https://github.com/AykutSarac/jsoncrack.com.git
synced 2025-01-12 19:02:53 +08:00
feat: add editor placeholder
This commit is contained in:
parent
61cb1b1da7
commit
f25750d994
18
pnpm-lock.yaml
generated
18
pnpm-lock.yaml
generated
@ -22,7 +22,7 @@ importers:
|
||||
version: 7.11.2(react@18.3.1)
|
||||
'@monaco-editor/react':
|
||||
specifier: ^4.6.0
|
||||
version: 4.6.0(monaco-editor@0.50.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
|
||||
version: 4.6.0(monaco-editor@0.52.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
|
||||
'@sentry/nextjs':
|
||||
specifier: ^7.118.0
|
||||
version: 7.118.0(next@14.2.10(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react@18.3.1)
|
||||
@ -1975,8 +1975,8 @@ packages:
|
||||
resolution: {integrity: sha512-2emPTb1reeLLYwHxyVx993iYyCHEiRRO+y8NFXFPL5kl5q14sgTK76cXyEKkeKCHeRw35SfdkUJ10Q1KfHuiIQ==}
|
||||
engines: {node: '>= 0.4'}
|
||||
|
||||
monaco-editor@0.50.0:
|
||||
resolution: {integrity: sha512-8CclLCmrRRh+sul7C08BmPBP3P8wVWfBHomsTcndxg5NRCEPfu/mc2AGU8k37ajjDVXcXFc12ORAMUkmk+lkFA==}
|
||||
monaco-editor@0.52.2:
|
||||
resolution: {integrity: sha512-GEQWEZmfkOGLdd3XK8ryrfWz3AIP8YymVXiPHEdewrUq7mh0qrKrfHLNCXcbB6sTnMLnOZ3ztSiKcciFUkIJwQ==}
|
||||
|
||||
mousetrap@1.6.5:
|
||||
resolution: {integrity: sha512-QNo4kEepaIBwiT8CDhP98umTetp+JNfQYBWvC1pc6/OAibuXtRcxZ58Qz8skvEHYvURne/7R8T5VoOI7rDsEUA==}
|
||||
@ -3076,15 +3076,15 @@ snapshots:
|
||||
dependencies:
|
||||
react: 18.3.1
|
||||
|
||||
'@monaco-editor/loader@1.4.0(monaco-editor@0.50.0)':
|
||||
'@monaco-editor/loader@1.4.0(monaco-editor@0.52.2)':
|
||||
dependencies:
|
||||
monaco-editor: 0.50.0
|
||||
monaco-editor: 0.52.2
|
||||
state-local: 1.0.7
|
||||
|
||||
'@monaco-editor/react@4.6.0(monaco-editor@0.50.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)':
|
||||
'@monaco-editor/react@4.6.0(monaco-editor@0.52.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)':
|
||||
dependencies:
|
||||
'@monaco-editor/loader': 1.4.0(monaco-editor@0.50.0)
|
||||
monaco-editor: 0.50.0
|
||||
'@monaco-editor/loader': 1.4.0(monaco-editor@0.52.2)
|
||||
monaco-editor: 0.52.2
|
||||
react: 18.3.1
|
||||
react-dom: 18.3.1(react@18.3.1)
|
||||
|
||||
@ -4847,7 +4847,7 @@ snapshots:
|
||||
hasown: 2.0.2
|
||||
isarray: 2.0.5
|
||||
|
||||
monaco-editor@0.50.0: {}
|
||||
monaco-editor@0.52.2: {}
|
||||
|
||||
mousetrap@1.6.5: {}
|
||||
|
||||
|
@ -18,6 +18,7 @@ const editorOptions: EditorProps["options"] = {
|
||||
minimap: { enabled: false },
|
||||
stickyScroll: { enabled: false },
|
||||
scrollBeyondLastLine: false,
|
||||
placeholder: "Start typing...",
|
||||
};
|
||||
|
||||
const TextEditor = () => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user