ngx-editor
Version:
Rich Text Editor for angular using ProseMirror
8 lines (7 loc) • 331 B
TypeScript
import { ValidatorFn } from '@angular/forms';
import { Schema } from 'prosemirror-model';
export declare class Validators {
static required(userSchema?: Schema): ValidatorFn;
static maxLength(maxLength: number, userSchema?: Schema): ValidatorFn;
static minLength(minLength: number, userSchema?: Schema): ValidatorFn;
}