1

I activated the caption filter under Text format configuration to add description to media inserted via CKEditor

Is there a possibility to add a default value to this caption field whenever I add a new media inside the WYSIWYG editor?

enter image description here

  • The solution was inside hook_form_alter. I was unable to debug at first time inside this dialog popup, but using xdebug save me the day. Xdebug is a must have guys! – Moez Boussetta May 16 at 8:38

Your Answer

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

Browse other questions tagged or ask your own question.