Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
It would be helpful to have a class indicate when the editor is fully loaded. The closest thing we have now is a 'ckeditor-processed' class which is added when the editor is initialized, but at this time the editor is not yet fully usable.
I need this to be able to test the editor using Selenium. I need a reliable marker that indicates when the editor is ready to accept user input.
Comment | File | Size | Author |
---|---|---|---|
#1 | 2216363-1-ckeditor-instanceready_class.patch | 909 bytes | pfrenssen |
Comments
Comment #1
pfrenssenComment #2
pfrenssenI have found a way to do this in phpunit-selenium without having to set a class. We can wait until the instance becomes populated in the javascript variable space:
Call it with the id of the textarea that is to receive the text, for example: