I have a requirement that I need to preview what CKEditor might do to the content after all sorts of cleaning (dataProcessor, ACF etc..)
Is there a way to do so?
I'll begin with getting raw data from CKEditor
var original = editor.getData();
I have a requirement that I need to preview what CKEditor might do to the content after all sorts of cleaning (dataProcessor, ACF etc..)
Is there a way to do so?
I'll begin with getting raw data from CKEditor
var original = editor.getData();
I figured this out, please
I figured this out, please delete this thread.
We'll leave it open, but
We'll leave it open, but please share your discovery with others. Even if it's something obvious it might help someone one day.
Customer and Community Manager, CKSource
Follow us on: Facebook, Twitter, LinkedIn
If you think you found a bug in CKEditor, read this!
How to clean content using CKEditor programmatically?
I agree witj sebstefanov.
This is what I did, which
This is what I did, which worked.