Question:
Im using the CMS collections to populate my pages with text. Im trying to use Rich Text but the P anchors show? Has anyone come across this?
I have a text box that is populated through a text panel in cms above it which comes out fine!
async function populateProductInformation() {
const productId = product._id;
const productInfoQueryResult = await wixData
.query(“productInfo”)
.hasSome(“product”, productId)
.find();
const productInfo = productInfoQueryResult.items[0];
console.log(“productInfo”, productInfo);
$w(“#productInfo”).text = productInfo.text;
$w(“#richProductInfo”).text = productInfo.richtext;
}
Wix studio.