- Issue created by @slowflyer
- 🇩🇪Germany slowflyer
Seems to be an issue of:
var getCkeditor = function (){ return window.CKEDITOR || { on: function(event, callback) { callback(); }, instances: {} }; }
in
social_mentions: js: js/social_mentions.js: {}
- 🇻🇳Vietnam howto
@slowflyer the issue seem to be in social_mentions.js
It works after I replace CKEDITOR.instances[this.id] with Drupal.CKEditor5Instances.get(this.id)
See more https://www.drupal.org/project/drupal/issues/3388485#comment-15471223 📌 Document in ckeditor5.api.php how to access the CKEditor 5 instance given a DOM element Active