I’m utilizing Drupal 8’s Ajax API to replace type fields in a type relying on Drupal Development enter in one other subject. Certainly one of Drupal Development fields I need to replace is a text_format subject that makes use of Drupal’s ckeditor.
If I perceive Drupal Development CKEditor API appropriately, I ought to have the ability to replace Drupal Development textual content in Drupal Development ckeditor widget utilizing Drupal Development setData() technique (https://ckeditor.com/docs/ckeditor4/newest/api/CKEDITOR_editor.html#method-setData). Drupal Developer ckeditor occasion needs to be Drupal Development textarea id – and that I can simply determine in my AjaxResponse perform.
Nevertheless, I’m not positive how you can use Drupal’s invokeCommand() to utilize Drupal Development CKEditor API?