generated from pascalmartineau/wp-skeleton
wip: Builder features
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
fragment SectionTextBlock on GroupAbstractBuilderSectionsTextBlockLayout {
|
||||
content
|
||||
layoutSettings {
|
||||
__typename
|
||||
contentWidth
|
||||
bgColor
|
||||
}
|
||||
}
|
||||
|
||||
@@ -6,6 +6,7 @@ defineProps<SectionTextBlockFragment>();
|
||||
|
||||
<template>
|
||||
<section data-section-type="text-block">
|
||||
<div v-html="content" />
|
||||
<div :class="layoutSettings?.contentWidth" v-html="content" />
|
||||
<pre>{{ layoutSettings }}</pre>
|
||||
</section>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user