mirror of
https://github.com/codex-team/editor.js
synced 2024-05-02 14:52:57 +02:00
chore(submodule): paragraph submodule updated with the new icons (#2191)
* do not show tooltip on mobile * paragraph submodule updated with the new icon
This commit is contained in:
parent
d56c07c3dc
commit
509023e307
|
@ -459,10 +459,12 @@ export default class InlineToolbar extends Module<InlineToolbarNodes> {
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
this.tooltip.onHover(this.nodes.conversionToggler, I18n.ui(I18nInternalNS.ui.inlineToolbar.converter, 'Convert to'), {
|
if (_.isMobileScreen() === false ) {
|
||||||
placement: 'top',
|
this.tooltip.onHover(this.nodes.conversionToggler, I18n.ui(I18nInternalNS.ui.inlineToolbar.converter, 'Convert to'), {
|
||||||
hidingDelay: 100,
|
placement: 'top',
|
||||||
});
|
hidingDelay: 100,
|
||||||
|
});
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -586,10 +588,12 @@ export default class InlineToolbar extends Module<InlineToolbarNodes> {
|
||||||
}));
|
}));
|
||||||
}
|
}
|
||||||
|
|
||||||
this.tooltip.onHover(button, tooltipContent, {
|
if (_.isMobileScreen() === false ) {
|
||||||
placement: 'top',
|
this.tooltip.onHover(button, tooltipContent, {
|
||||||
hidingDelay: 100,
|
placement: 'top',
|
||||||
});
|
hidingDelay: 100,
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
instance.checkState(SelectionUtils.get());
|
instance.checkState(SelectionUtils.get());
|
||||||
}
|
}
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit 21cbdea6e5e61094b046f47e8cb423a817cec3ed
|
Subproject commit 6e45413ccdfd021f1800eb6e5bf7440184d5ab7c
|
Loading…
Reference in a new issue