ckeditor / ckeditor4-angular

Official CKEditor 4 Angular component.
Other
55 stars 32 forks source link

Data wiped out when ckeditor placed under cdkDropList #236

Closed chiragbytes closed 1 year ago

chiragbytes commented 2 years ago

We are facing issue when ckeditor4 component placed under Angular material cdkDraggable component

Code Example: `<div cdkDropList (cdkDropListDropped)="droppedData($event)"> <div class="row" *ngFor="let question of introQuestions;let indexResult=index; let first = first;let last = last;" cdkDrag>

                <div class="form-group col-md-12">
                    <label class="label">Description: </label>
                        <ckeditor
                        name="questiondescription{{indexResult}}"
                        config=ckEditorConfig
                        skin="moono-lisa"
                        #questiondescription="ngModel"
                        [(ngModel)]="question.description"
                    ></ckeditor>
                </div>
            </div>
        </div>`

Expected result

When ckeditor4 used with angular material cdkdraggable component, it should work properly, data should not get wiped when dragged

Actual result

At time of initialisation data shows up but whenever you select or drag item data under ckeditor wipes away however if you check with ngModel in textarea data is already there present in the list.

Other details

Comandeer commented 2 years ago

Could you provide a sample reproduction?

jacekbogdanski commented 1 year ago

Hi, It's been a while since we last heard from you. We're closing this issue for now. Still, feel free to provide us requested feedback so that we can reopen this issue.