CKE Editor Usage

QuestionsCKE Editor Usage
Kitt Parker asked 3 years ago

So I see the cke editor on the demo page.  In the documents it seems to never be mentioned.  Are there docs on how to enable it?

4 Answers
Kitt Parker answered 3 years ago

I was able to get ckeditor to render with a

$col["editoptions"]["dataInit"] = "function(o){CKEDITOR.replace(o.id);}";

However, submission loses the data in the transfer.
Abu answered 3 years ago

You can disable posted data sanitization and check again.

$opt[“sanitize”] = false;
// …
$g->set_options($opt);

Kitt Parker answered 3 years ago

That causes the old value to show up in the transfer, but not the updated data.

Kitt Parker answered 3 years ago

It appears there is not an easy answer here?  Probably shouldn’t be on the site as part of the sales pitch.  No documentation and the ckeditor usage indicates you should just be able to replace and the element will still be passed in the post.  This not working suggests that php grid is doing something unique of which you have to be aware to get functioning.

Your Answer

10 + 15 =

Login with your Social Id:

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.



How useful was this discussion?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate it.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?