import { Annotation, InternalAnnotationTypeEnum } from './annotation.abstract';
import { CommonAnnotationTypeEnum } from './common-annotation.abstract';
import { NodeAnnotationTypeEnum } from './node-annotation.abstract';
/**
 * Annotation to host which annotations will be clear formatting
 */
export class ClearFormattingAnnotation extends Annotation {
  constructor() {
    super(...arguments);
    this.type = InternalAnnotationTypeEnum.CLEAR_FORMATTING;
    this.items = [
      NodeAnnotationTypeEnum.BOLD,
      NodeAnnotationTypeEnum.ITALIC,
      NodeAnnotationTypeEnum.UNDERLINE,
      NodeAnnotationTypeEnum.STRIKETHROUGH,
      NodeAnnotationTypeEnum.TEXT_COLOR,
      NodeAnnotationTypeEnum.CODE,
      CommonAnnotationTypeEnum.CUSTOM_STYLE,
    ];
  }
}
