3

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.

2

Use the CKEditor method setData():

CKEDITOR.instances['custom_162_126'].setData('blub');

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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