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/dante.js
CHANGED
@@ -1968,11 +1968,13 @@ var DanteInlineTooltip = function (_React$Component) {
|
|
1968
1968
|
return;
|
1969
1969
|
}
|
1970
1970
|
|
1971
|
+
if (!coords) return;
|
1972
|
+
|
1971
1973
|
// checkeamos si esta vacio
|
1972
1974
|
this.display(block.getText().length === 0 && blockType === "unstyled");
|
1973
1975
|
return this.setPosition({
|
1974
|
-
top: coords.top + window.
|
1975
|
-
left: coords.left + window.
|
1976
|
+
top: coords.top + window.pageYOffset,
|
1977
|
+
left: coords.left + window.pageXOffset - 60
|
1976
1978
|
});
|
1977
1979
|
|
1978
1980
|
/*
|