Fixed code style issues.
Removed unnecessary code for old Opera.
Docs.
Merge branch 't/11114-initial-cleanup'
Code style.
Set editor.activeEnterMode and editor.enterMode instead of config.enterMode.
Added comment for the change.
Reverted config#enterMode value for backwards compatibility. Improved comments.