dante2-editor 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/demo/assets/index.html +1 -1
- data/demo/assets/license.html +1 -1
- data/demo/assets/options.html +1 -1
- data/dist/Dante2.js +4 -2
- data/dist/Dante2.min.js +1 -1
- data/dist/Dante2.min.js.map +1 -1
- data/dist/DanteStyles.min.js.map +1 -1
- data/dist/dante-vendors.min.js.map +1 -1
- data/docs/dante-vendors.js.map +1 -1
- data/docs/dante.js +4 -2
- data/docs/dante.js.map +1 -1
- data/docs/doc.html +1 -1
- data/docs/index.html +1 -1
- data/docs/license.html +1 -1
- data/docs/options.html +1 -1
- data/package.json +1 -1
- data/rb_lib/dante2-editor/version.rb +1 -1
- data/src/components/popovers/addButton.js +5 -2
- metadata +1 -1
data/docs/doc.html
CHANGED
data/docs/index.html
CHANGED
data/docs/license.html
CHANGED
data/docs/options.html
CHANGED
data/package.json
CHANGED
@@ -228,11 +228,14 @@ class DanteInlineTooltip extends React.Component {
|
|
228
228
|
return
|
229
229
|
}
|
230
230
|
|
231
|
+
if (!coords)
|
232
|
+
return
|
233
|
+
|
231
234
|
// checkeamos si esta vacio
|
232
235
|
this.display(block.getText().length === 0 && blockType === "unstyled")
|
233
236
|
return this.setPosition({
|
234
|
-
top: coords.top + window.
|
235
|
-
left: coords.left + window.
|
237
|
+
top: coords.top + window.pageYOffset,
|
238
|
+
left: coords.left + window.pageXOffset - 60
|
236
239
|
})
|
237
240
|
|
238
241
|
/*
|