I am trying to explore the Designer API to create an extension app.
My problem is basically, when I select a Text block element, it doesn’t give a textContent
property, and setTextContent
is also not possible. While this works on Headings and Paragraphs, it doesn’t work on a plain Text block. I am thinking possibly due to a Text block being a plain div
.
Do you have any alternatives for this? Thanks