Improved text modules.
This commit is contained in:
parent
bb1c476db1
commit
20c5bfd22c
2 changed files with 1926 additions and 0 deletions
|
@ -191,6 +191,7 @@
|
||||||
|
|
||||||
// set height of widget
|
// set height of widget
|
||||||
Plugin.prototype.movePosition = function() {
|
Plugin.prototype.movePosition = function() {
|
||||||
|
if (!this._position) return
|
||||||
var height = this.$element.height() + 20
|
var height = this.$element.height() + 20
|
||||||
var widgetHeight = this.$widget.find('ul').height() //+ 60 // + height
|
var widgetHeight = this.$widget.find('ul').height() //+ 60 // + height
|
||||||
var top = -( widgetHeight + height ) + this._position.top
|
var top = -( widgetHeight + height ) + this._position.top
|
||||||
|
|
1925
app/assets/javascripts/app/lib/base/rangy-textrange.js
Executable file
1925
app/assets/javascripts/app/lib/base/rangy-textrange.js
Executable file
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue