feat: add imagevault images to RTE
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import JsonToHtml from "@/components/JsonToHtml"
|
||||
|
||||
import { renderOptions as currentRenderOption } from "./../currentRenderOptions"
|
||||
import Breadcrumbs from "./Breadcrumbs"
|
||||
import { renderOptions } from "./renderOptions"
|
||||
|
||||
@@ -27,7 +28,7 @@ export default function Preamble({
|
||||
<JsonToHtml
|
||||
embeds={preamble.text.embedded_itemsConnection.edges}
|
||||
nodes={preamble.text.json.children}
|
||||
renderOptions={renderOptions}
|
||||
renderOptions={{ ...currentRenderOption, ...renderOptions }}
|
||||
/>
|
||||
) : null}
|
||||
</section>
|
||||
|
||||
Reference in New Issue
Block a user