* [misc] fix bug on setValueInZenEditor.
This commit is contained in:
@@ -1200,6 +1200,7 @@ class dom
|
||||
*/
|
||||
public function setValueInZenEditor($value)
|
||||
{
|
||||
return $this->driver->executeScript("arguments[0].setHTML('$value');", array($this->element));
|
||||
$value = json_encode($value);
|
||||
return $this->driver->executeScript("arguments[0].setHTML($value);", array($this->element));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user