I'm having a custom lightning component in which there is a rich text field present. Now I need to count the characters remaining as the user types. I found that there is no keyup function or max length attribute present in lightning:inputRichText.
Also If any inline image is added, how the character counts behave?
Any ideas would be really appreciated.
<div class="slds-form-element">
<label class="slds-form-element__label slds-text-color_destructive slds-text-body_regular" for="textareaSample2">Body</label>
<div>
<lightning:inputRichText aura:id="commentBody" value="{!v.commentBody}" placeholder = "Enter your comments here">
<lightning:insertImageButton/>
</lightning:inputRichText>
</div>
</div>