Skip to content

Commit e3889f5

Browse files
committed
Create value as HTMLFragment
1 parent 39adb9e commit e3889f5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Extensions/Embeddable.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -384,6 +384,7 @@ public function getEmbedByType(): DBHTMLText
384384
break;
385385
}
386386

387-
return DBField::create_field(DBHTMLText::class, $html);
387+
// @phpstan-ignore return.type
388+
return DBField::create_field('HTMLFragment', $html);
388389
}
389390
}

0 commit comments

Comments
 (0)