π₯ π₯ π₯ A Free & Self-hostable Airtable Alternative
TypeScript airtableairtable-alternativeautomatic-apihacktoberfestlow-codeno-codeno-code-databaseno-code-platformpostgresqlrest-apirestful-apispreadsheetsqliteswagger
feat: iframe widget
DarkPhoenix27049d2436a86138
diff --git a/packages/nocodb-sdk/src/lib/dashboard/index.ts b/packages/nocodb-sdk/src/lib/dashboard/index.tsindex 0a7cff8bcb..f37bfad6f5 100644--- a/packages/nocodb-sdk/src/lib/dashboard/index.ts+++ b/packages/nocodb-sdk/src/lib/dashboard/index.ts@@ -111,7 +111,6 @@ export type TextWidgetConfig = TextWidgetConfigMarkdown | TextWidgetConfigText;export interface IframeWidgetConfig {url: string;- height?: number;allowFullscreen?: boolean;sandbox?: string[];}diff --git a/packages/nocodb-sdk/src/lib/dashboard/widgetUtils.ts b/packages/nocodb-sdk/src/lib/dashboard/widgetUtils.tsindex ca43f628dd..ddde99c675 100644--- a/packages/nocodb-sdk/src/lib/dashboard/widgetUtils.ts+++ b/packages/nocodb-sdk/src/lib/dashboard/widgetUtils.ts@@ -92,6 +92,12 @@ const getDefaultConfig = (case WidgetTypes.CHART:return getDefaultChartConfig(chartType, columns);+ case WidgetTypes.IFRAME:+ return {+ url: 'https://nocodb.com',+ allowFullScreen: false,+ sandbox: [],+ };case WidgetTypes.TEXT:return {content: 'Enter text here',