mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Merge pull request #8468 from creative-commoners/pulls/4.3/tinymce-and-behat-help-me
FIX Persist TinyMCE updates when writing with Behat
This commit is contained in:
commit
648988bc18
@ -75,6 +75,10 @@ class CmsFormsContext implements Context
|
||||
$inputField->getAttribute('id'),
|
||||
addcslashes($value, "'")
|
||||
));
|
||||
$this->getSession()->evaluateScript(sprintf(
|
||||
"jQuery('#%s').entwine('ss').getEditor().save()",
|
||||
$inputField->getAttribute('id')
|
||||
));
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user