diff --git a/web/cm_plugins/preface_ps.ts b/web/cm_plugins/preface_ps.ts index 0d4b07ba..81371060 100644 --- a/web/cm_plugins/preface_ps.ts +++ b/web/cm_plugins/preface_ps.ts @@ -26,11 +26,9 @@ class IFrameWidget extends WidgetType { } get estimatedHeight(): number { - const height = this.editor.space.getCachedWidgetHeight( + return this.editor.space.getCachedWidgetHeight( this.widgetHeightCacheKey, ); - console.log("GOt height", height); - return height; } eq(other: WidgetType): boolean {