Is it possible to set ckeditor text with javascript for a custom field?

I want to do something similar to the mail templates selection.

I try $('#custom_162_126').val('blub') but this only change the original field.

1 Answer 1


Use the CKEditor method setData():


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.