Expose getAbsoluteRect private function #1724
Labels
changelog:api
A changelog entry should be put in the API section of the changelog.
good first issue
Relatively easy to fix. This is a perfect issue if you are willing to create a Pull Request.
status:confirmed
An issue confirmed by the development team.
target:major
Any docs related issue that should be merged into a major branch.
type:feature
A feature request.
Milestone
Are you reporting a feature request or a bug?
Feature request
Expected result
CKEDITOR.tools.dom.getElementRect
function returns the position of the element on the screen.Actual result
_getAbsoluteRect
function is hidden insideballoonpanel
plugin.Other details
I need to use this function in other place so I think it's good idea to expose it as a public API. This function takes editor and element instances as arguments to calculate element position. It doesn't fit well in
core/element
norcore/editor
so after some debate with @f1ames we think tools are best place to expose it.The text was updated successfully, but these errors were encountered: