Replace caretposition plugin with range.getClientRects function #1933
Labels
changelog:skip
A changelog entry should not be added for a given issue.
plugin:autocomplete
The plugin which probably causes the issue.
status:confirmed
An issue confirmed by the development team.
type:feature
A feature request.
Milestone
Are you reporting a feature request or a bug?
Feature request
caretposition
plugin does the same job asCKEDITOR.dom.range#getClientRects
function. We should replace this plugin with existing API to avoid code duplication. Note that we should probably wait with this issue untilCKEDITOR.dom.range#getClientRects
function will be stable. See #1930,#1925 for more details.
Expected result
autocomplete
plugin usesCKEDITOR.dom.range#getClientRects
function to resolve caret position.Actual result
autocomplete
plugin usesCKEDITOR.dom.selection#getCaretPosition
function to resolve caret position. This function is added bycaretpostion
plugin if available.Other details
The text was updated successfully, but these errors were encountered: