ContentQualityTextWithAnnotationStyle

Type: React component

How to get ContentQualityTextWithAnnotationStyle?

JavaScript

import ContentQualityTextWithAnnotationStyle from 'fontoxml-content-quality/src/ContentQualityTextWithAnnotationStyle.jsx'

Renders an inline container, with multi-line text which has the same underline decoration applied to it as you see in the content view, based on the annotation type.

Example usage

JavaScript

import ContentQualityTextWithAnnotationStyle from 'fontoxml-content-quality/ContentQualityTextWithAnnotationStyle.jsx';
<ContentQualityTextWithAnnotationStyle annotationId={annotationId} />

Props

  1. annotationId

    The identifier of the annotation for which to display the annotation text.