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:
Peter Savchenko 2022-11-29 15:01:02 +04:00 committed by GitHub
parent d56c07c3dc
commit 509023e307
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 13 additions and 9 deletions

View File

@ -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'), {
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<InlineToolbarNodes> {
}));
}
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());
}

@ -1 +1 @@
Subproject commit 21cbdea6e5e61094b046f47e8cb423a817cec3ed
Subproject commit 6e45413ccdfd021f1800eb6e5bf7440184d5ab7c