ckeditor / ckeditor4-angular

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

In Angular component config enterMode and coreStyles_bold doesn't work #91

Closed qliqdev closed 4 years ago

qliqdev commented 4 years ago

Type of report

Trying to set

const config = {
  ckeditor: {
    enterMode: 2,
    coreStyles_bold : { element: 'b', overrides: 'strong' },
    toolbar: {
      items: ['undo', 'redo', '|', 'bold', 'italic', 'underline', 'strikethrough', 'code', 'link']
    }
  }
};

to <ckeditor [editor]="Editor" [config]="config" formControlName="about"></ckeditor>

Expected result

While pressing ENTER should create
instead new paragraph the same with coreStyles_bold

Actual result

pasting paragraph and strong tag instead of

f1ames commented 4 years ago