function CKEditor5HeightTest::getWindowHeight
Gets the window height.
1 call to CKEditor5HeightTest::getWindowHeight()
- CKEditor5HeightTest::testCKEditor5Height in core/
modules/ ckeditor5/ tests/ src/ FunctionalJavascript/ CKEditor5HeightTest.php - Tests editor height respects rows config.
File
-
core/
modules/ ckeditor5/ tests/ src/ FunctionalJavascript/ CKEditor5HeightTest.php, line 99
Class
- CKEditor5HeightTest
- Tests ckeditor height respects field rows config.
Namespace
Drupal\Tests\ckeditor5\FunctionalJavascriptCode
private function getWindowHeight() : int {
$javascript = <<<JS
return window.innerHeight;
JS;
return $this->getSession()
->evaluateScript($javascript);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.