Autolink: TypeError: editor.getSelection(...) is null when typing in source view #2756
Labels
good first issue
Relatively easy to fix. This is a perfect issue if you are willing to create a Pull Request.
plugin:autolink
The plugin which probably causes the issue.
status:confirmed
An issue confirmed by the development team.
target:minor
Any docs related issue that can be merged into a master or major branch.
type:bug
A bug.
Milestone
Type of report
Bug
Provide detailed reproduction steps (if any)
Expected result
Autolink must be disabled in source mode
Actual result
These exceptions are thrown:
on firefox
on chrome
In the line:
var matched = CKEDITOR.plugins.textMatch.match( editor.getSelection().getRanges()[ 0 ], matchCallback );
Other details
The text was updated successfully, but these errors were encountered: