Rich Text Editor
Rich text editor for emails, notes and controlled content. Includes grouped toolbar, safe sanitization, insertable variables and full Reactive Forms support.
TypeScript
import { NeuRichTextEditorComponent } from '@neural-ui/core/rich-text-editor';Composer
Variables
Paste rich text, links and small images.
Preview
Insertable variables
{{first_name}}{{company}}{{role}}{{resource}}{{download_url}}TypeScript
import { FormControl, ReactiveFormsModule } from '@angular/forms';
import { NeuRichTextEditorComponent } from '@neural-ui/core/rich-text-editor';
@Component({
imports: [NeuRichTextEditorComponent, ReactiveFormsModule],
template: `
<neu-rich-text-editor
label="Email content"
hint="Paste rich text, links and small inline images."
[variables]="['{{first_name}}', '{{company}}', '{{resource}}']"
[showPreview]="true"
[formControl]="emailBodyCtrl"
/>
`
})
export class MyComponent {
readonly emailBodyCtrl = new FormControl('', { nonNullable: true });
}