We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d010c82 commit d39698cCopy full SHA for d39698c
packages/pluggableWidgets/rich-text-web/src/components/ModalDialog/ViewCodeDialog.tsx
@@ -13,7 +13,7 @@ export interface ViewCodeDialogProps {
13
onClose(): void;
14
}
15
16
-const BEAUTIFY_OPTIONS: js_beautify.HTMLBeautifyOptions = {
+const BEAUTIFY_OPTIONS: beautify.HTMLBeautifyOptions = {
17
indent_size: 4,
18
indent_char: " ",
19
max_preserve_newlines: 5,
@@ -47,7 +47,7 @@ export default function ViewCodeDialog(props: ViewCodeDialogProps): ReactElement
47
value={formState.src}
48
extensions={[EditorView.lineWrapping, html()]}
49
onChange={onCodeChange}
50
- basicSetup={true}
+ basicSetup
51
theme={githubLight}
52
maxHeight="70vh"
53
/>
0 commit comments