ngx-editor
Version:
The Rich Text Editor for Angular, Built on 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;
}