Open source website builder and Webflow alternative. Webstudio is an advanced visual builder that connects to any headless CMS, supports all CSS properties, and can be hosted anywhere, including with us.
TypeScript accessibilityalternativecloudflarecloudflare-workersdesignfreefrontendopen-sourceradix-uireactremixweb-developmentwebflowwebsite-builderwebsite-developmentwebsiteswebstudio
cleanup
Oleg Isonen2389f18ef60d
diff --git a/apps/designer/app/canvas/features/wrapper-component/text-editor/editor-lazy.tsx b/apps/designer/app/canvas/features/wrapper-component/text-editor/editor-lazy.tsxindex 983597113c..83d1fbce93 100644--- a/apps/designer/app/canvas/features/wrapper-component/text-editor/editor-lazy.tsx+++ b/apps/designer/app/canvas/features/wrapper-component/text-editor/editor-lazy.tsx@@ -3,14 +3,14 @@ import type { EditorProps } from "./editor";const EditorLazy = lazy(() => import("./editor"));-type EditorPropsWithSuspense = EditorProps & {+type EditorWithSuspenseProps = EditorProps & {fallback: JSX.Element;};const EditorWithSuspense = ({fallback,...props-}: EditorPropsWithSuspense) => {+}: EditorWithSuspenseProps) => {return (<Suspense fallback={fallback}><EditorLazy {...props} />diff --git a/apps/designer/app/canvas/features/wrapper-component/text-editor/plugins/plugin-instance.tsx b/apps/designer/app/canvas/features/wrapper-component/text-editor/plugins/plugin-instance.tsxindex 3fea264882..9b3857f056 100644--- a/apps/designer/app/canvas/features/wrapper-component/text-editor/plugins/plugin-instance.tsx+++ b/apps/designer/app/canvas/features/wrapper-component/text-editor/plugins/plugin-instance.tsx@@ -27,6 +27,7 @@ const INSERT_INSTANCE_COMMAND: LexicalCommand<Instance> = createCommand();type InstancePluginProps = {children: Instance["children"];};+export const InstancePlugin = ({ children }: InstancePluginProps) => {const [editor] = useLexicalComposerContext();useEffect(() => {diff --git a/packages/asset-uploader/tsconfig.json b/packages/asset-uploader/tsconfig.jsonindex 654f479a30..6b67ca9bbf 100644--- a/packages/asset-uploader/tsconfig.json+++ b/packages/asset-uploader/tsconfig.json@@ -4,7 +4,7 @@"include": ["./src/**/*.ts"],"compilerOptions": {"module": "commonjs",- "target": "ES2019",+ "target": "ES2020","strict": true,"baseUrl": ".","outDir": "./lib"diff --git a/packages/design-system/tsconfig.json b/packages/design-system/tsconfig.jsonindex e599e806b6..eb77362863 100644--- a/packages/design-system/tsconfig.json+++ b/packages/design-system/tsconfig.json@@ -3,10 +3,10 @@"extends": "../../node_modules/@webstudio-is/tsconfig/base.json","include": ["./src/**/*.ts", "./src/**/*.tsx"],"compilerOptions": {- "lib": ["DOM", "DOM.Iterable", "ES2019"],+ "lib": ["DOM", "DOM.Iterable", "ES2020"],"module": "commonjs","jsx": "react-jsx",- "target": "ES2019",+ "target": "ES2020","strict": true,"baseUrl": ".","paths": {diff --git a/packages/icons/tsconfig.json b/packages/icons/tsconfig.jsonindex e599e806b6..eb77362863 100644--- a/packages/icons/tsconfig.json+++ b/packages/icons/tsconfig.json@@ -3,10 +3,10 @@"extends": "../../node_modules/@webstudio-is/tsconfig/base.json","include": ["./src/**/*.ts", "./src/**/*.tsx"],"compilerOptions": {- "lib": ["DOM", "DOM.Iterable", "ES2019"],+ "lib": ["DOM", "DOM.Iterable", "ES2020"],"module": "commonjs","jsx": "react-jsx",- "target": "ES2019",+ "target": "ES2020","strict": true,"baseUrl": ".","paths": {diff --git a/packages/react-sdk/tsconfig.json b/packages/react-sdk/tsconfig.jsonindex d494fe77bc..eb77362863 100644--- a/packages/react-sdk/tsconfig.json+++ b/packages/react-sdk/tsconfig.json@@ -3,10 +3,10 @@"extends": "../../node_modules/@webstudio-is/tsconfig/base.json","include": ["./src/**/*.ts", "./src/**/*.tsx"],"compilerOptions": {- "lib": ["DOM", "DOM.Iterable", "es2020"],+ "lib": ["DOM", "DOM.Iterable", "ES2020"],"module": "commonjs","jsx": "react-jsx",- "target": "es2020",+ "target": "ES2020","strict": true,"baseUrl": ".","paths": {