@fc-components/monaco-editor 0.1.12 → 0.1.13
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/dist/monaco-editor.cjs.development.js +5 -1
- package/dist/monaco-editor.cjs.development.js.map +1 -1
- package/dist/monaco-editor.cjs.production.min.js +1 -1
- package/dist/monaco-editor.cjs.production.min.js.map +1 -1
- package/dist/monaco-editor.esm.js +5 -1
- package/dist/monaco-editor.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/promql/index.tsx +4 -0
package/package.json
CHANGED
package/src/promql/index.tsx
CHANGED
|
@@ -378,6 +378,10 @@ export default function PromQLEditor(props: PromQLEditorProps & DataProviderPara
|
|
|
378
378
|
scrollBeyondLastLine: false,
|
|
379
379
|
suggest: {
|
|
380
380
|
showWords: false,
|
|
381
|
+
// 防止补全层自动关闭的关键配置
|
|
382
|
+
filterGraceful: false, // 禁用优雅过滤,避免在输入时关闭补全
|
|
383
|
+
snippetsPreventQuickSuggestions: false, // 允许在代码片段后继续显示补全
|
|
384
|
+
shareSuggestSelections: false, // 不共享选择状态,避免意外关闭
|
|
381
385
|
},
|
|
382
386
|
suggestFontSize: 12,
|
|
383
387
|
wordWrap: 'on',
|