angular-editor icon indicating copy to clipboard operation
angular-editor copied to clipboard

Reopen please if problem persists.

Open Deepak200981 opened this issue 6 years ago • 2 comments

Reopen please if problem persists.

Originally posted by @kolkov in https://github.com/kolkov/angular-editor/issue_comments/516497752

Deepak200981 avatar Oct 14 '20 06:10 Deepak200981

Hi @kolkov , Is there anyway to get formControlName="description" from angular-editor. Below control value doesn't get if i use HTML code functionality. Client side mat-error shows.

It would be great if you suggested. Thank you. <angular-editor [config]="config" formControlName="description">

config: AngularEditorConfig = { editable: true, spellcheck: true, height: '15rem', minHeight: '5rem', placeholder: 'Enter embed code here...', translate: 'no', defaultParagraphSeparator: 'p', defaultFontName: 'Arial', toolbarHiddenButtons: [ ['bold'] ], customClasses: [ { name: "quote", class: "quote", }, { name: 'redText', class: 'redText' }, { name: "titleText", class: "titleText", tag: "h1", }, ] };

contentFormInit() { this.contentForm = this.fb.group({ name: ['', Validators.required], description: ['', Validators.required], content: [''], status: ['Active', Validators.required], skippable: [false], contentPosition: [Validators.required] });

} angular-editor

Deepak200981 avatar Oct 14 '20 06:10 Deepak200981

Closing as duplicate of #298. This is the same issue - iframe sanitization. See #298 for complete solution.

kolkov avatar Nov 22 '25 15:11 kolkov