HstarComponents / ngx-ckeditor

The CKEditor component for angular
https://hstarcomponents.github.io/ngx-ckeditor/
MIT License
22 stars 22 forks source link

How to detect mode change ? #50

Open phil123456 opened 5 years ago

phil123456 commented 5 years ago

Hello,

how can I detect the editor is in source mode before saving content ?

regards

hstarorg commented 5 years ago

I think you should find the config in ckeditor doc site.

phil123456 commented 5 years ago

there are no infos about that

hstarorg commented 5 years ago

The mode is you afferent to component, you can know when the mode is changed.

phil123456 commented 5 years ago

there must be a way countless people are complaining to me their pages are not saved, even I get tricked and have to rememeber to unclick "source" before clicking "save" ...

hstarorg commented 5 years ago

Okay, I know you requirement. Let me think a lot.