Text editor works based on absolute position.
This commit is contained in:
@@ -207,6 +207,13 @@ web2d.peer.svg.ElementPeer.prototype.getChangeEventListeners = function(type) {
|
||||
return listeners;
|
||||
};
|
||||
|
||||
web2d.peer.svg.ElementPeer.prototype.positionRelativeTo = function(elem, options) {
|
||||
options = !$defined(options) ? {} : options;
|
||||
options['relativeTo'] = $(this._native);
|
||||
elem.position(options);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Move element to the front
|
||||
*/
|
||||
|
Reference in New Issue
Block a user