I have tried using
config = {
height: 250,
enterMode: 'CKEDITOR.ENTER_DIV',
};
}
But this doesn't work. It still puts a paragraph tag instead of the div tag in the source.
What am I missing here -
https://stackblitz.com/edit/ckeditor-3efz3n?file=app%2Fapp.component.ts