Expand my Community achievements bar.

New Component with title and body text

Avatar

Level 1

Hi all,

 

I need to create a new component that consists of a title and a body text. The title can be set in the properties of the component, but I'm not certain how to create the body since it needs to be rich text. As far as I'm aware of, I can not have a rich text field in the component properties - is that correct?

 

So I was thinking to enclose an input field in:

<c:if test="${isEditMode}">
    <label for="messageboxBody">First name:</label>
    <input type="text" id="messageboxBody" name="messageboxBody">
</c:if>

 and save the entry. But how can I do that? And is this the best approach or would there be an alternative to it?

 

Thanks...

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

0 Replies