mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
FIX Persist TinyMCE updates when writing with Behat
This commit is contained in:
parent
eb0ef1c268
commit
0db2f84ade
@ -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