From 509023e30750c9e0e62fe5afcaa75ac4bba42cb5 Mon Sep 17 00:00:00 2001 From: Peter Savchenko Date: Tue, 29 Nov 2022 15:01:02 +0400 Subject: [PATCH] chore(submodule): paragraph submodule updated with the new icons (#2191) * do not show tooltip on mobile * paragraph submodule updated with the new icon --- src/components/modules/toolbar/inline.ts | 20 ++++++++++++-------- src/tools/paragraph | 2 +- 2 files changed, 13 insertions(+), 9 deletions(-) diff --git a/src/components/modules/toolbar/inline.ts b/src/components/modules/toolbar/inline.ts index e4b5ae12..327e3dff 100644 --- a/src/components/modules/toolbar/inline.ts +++ b/src/components/modules/toolbar/inline.ts @@ -459,10 +459,12 @@ export default class InlineToolbar extends Module { }); }); - this.tooltip.onHover(this.nodes.conversionToggler, I18n.ui(I18nInternalNS.ui.inlineToolbar.converter, 'Convert to'), { - placement: 'top', - hidingDelay: 100, - }); + if (_.isMobileScreen() === false ) { + this.tooltip.onHover(this.nodes.conversionToggler, I18n.ui(I18nInternalNS.ui.inlineToolbar.converter, 'Convert to'), { + placement: 'top', + hidingDelay: 100, + }); + } } /** @@ -586,10 +588,12 @@ export default class InlineToolbar extends Module { })); } - this.tooltip.onHover(button, tooltipContent, { - placement: 'top', - hidingDelay: 100, - }); + if (_.isMobileScreen() === false ) { + this.tooltip.onHover(button, tooltipContent, { + placement: 'top', + hidingDelay: 100, + }); + } instance.checkState(SelectionUtils.get()); } diff --git a/src/tools/paragraph b/src/tools/paragraph index 21cbdea6..6e45413c 160000 --- a/src/tools/paragraph +++ b/src/tools/paragraph @@ -1 +1 @@ -Subproject commit 21cbdea6e5e61094b046f47e8cb423a817cec3ed +Subproject commit 6e45413ccdfd021f1800eb6e5bf7440184d5ab7c