@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
|
@@ -3923,7 +3923,15 @@ var SqlEditor = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
3923
3923
|
alwaysConsumeMouseWheel: false
|
|
3924
3924
|
}
|
|
3925
3925
|
}
|
|
3926
|
-
})), enableFormat && (renderFormatButton ?
|
|
3926
|
+
})), enableFormat && (renderFormatButton ? React__default.createElement("div", {
|
|
3927
|
+
style: {
|
|
3928
|
+
position: 'absolute',
|
|
3929
|
+
top: 4,
|
|
3930
|
+
right: 4,
|
|
3931
|
+
zIndex: 10
|
|
3932
|
+
},
|
|
3933
|
+
onClick: handleFormat
|
|
3934
|
+
}, renderFormatButton(handleFormat)) : React__default.createElement("button", {
|
|
3927
3935
|
onClick: handleFormat,
|
|
3928
3936
|
className: formatBtnClassName,
|
|
3929
3937
|
title: 'Format SQL',
|