Updated editor#setData() interface, now it'll accept object. Refactored setData() tests. Backward compatibility is still provided.
Changed params to options and improved documentation.
Don't use arrayAssert - it does not provide any useful error message.
Code refactoring: Use if statement, Luke!
Cleaned test code.
Changelog entry.
Merge branch 't/11909'