@fc-components/monaco-editor 0.3.4 → 0.3.5
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 +9 -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 +9 -1
- package/dist/monaco-editor.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/sql/index.tsx +3 -1
|
@@ -3917,7 +3917,15 @@ var SqlEditor = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
3917
3917
|
alwaysConsumeMouseWheel: false
|
|
3918
3918
|
}
|
|
3919
3919
|
}
|
|
3920
|
-
})), enableFormat && (renderFormatButton ?
|
|
3920
|
+
})), enableFormat && (renderFormatButton ? React.createElement("div", {
|
|
3921
|
+
style: {
|
|
3922
|
+
position: 'absolute',
|
|
3923
|
+
top: 4,
|
|
3924
|
+
right: 4,
|
|
3925
|
+
zIndex: 10
|
|
3926
|
+
},
|
|
3927
|
+
onClick: handleFormat
|
|
3928
|
+
}, renderFormatButton(handleFormat)) : React.createElement("button", {
|
|
3921
3929
|
onClick: handleFormat,
|
|
3922
3930
|
className: formatBtnClassName,
|
|
3923
3931
|
title: 'Format SQL',
|