This has been driving me crazy for 2 years now and I still have not found a solution. I can't figure out how to do it in html-serializer. I know for individual paragraphs I can do this:
{{$prismic.asText(slice.primary.content)}}
<template>
<section class ="rc-percent-row py-5">
<b-container>
<b-row>
<b-col>
<prismic-rich-text :field="slice.primary.content" />
</b-col>
</b-row>
</b-container>
</section>
It outputs this:
<section>
<div class="container">
<div class="row">
<div class="col">
<div>
<p>blah vlah</p>
<p>blah blah</p>
</div>
</div>
</div>
</div>
</section>
But, I just want to remove that wrapping div from ever showing up when I put in prismic-rich-text.
Why is that div there around the rich text ? `It has been driving us absolutely crazy. Is there a way to remove that in html-serialzer? I can't find a clue anywhere.
Thanks