mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-07-24 20:47:06 +08:00
[DE][PE] Spellcheck: add to dictionary only in desktop app
This commit is contained in:
@ -2995,6 +2995,7 @@ define([
|
||||
menuParagraphAdvancedInTable.setDisabled(disabled);
|
||||
|
||||
me.menuSpellCheckTable.setVisible(value.spellProps!==undefined && value.spellProps.value.get_Checked()===false);
|
||||
menuToDictionaryTable.setVisible(me.mode.isDesktopApp);
|
||||
menuSpellcheckTableSeparator.setVisible(value.spellProps!==undefined && value.spellProps.value.get_Checked()===false);
|
||||
|
||||
me.langTableMenu.setDisabled(disabled);
|
||||
@ -3573,7 +3574,7 @@ define([
|
||||
menuSpellcheckParaSeparator.setVisible(spell);
|
||||
menuIgnoreSpellPara.setVisible(spell);
|
||||
menuIgnoreAllSpellPara.setVisible(spell);
|
||||
menuToDictionaryPara.setVisible(spell);
|
||||
menuToDictionaryPara.setVisible(spell && me.mode.isDesktopApp);
|
||||
me.langParaMenu.setVisible(spell);
|
||||
me.langParaMenu.setDisabled(disabled);
|
||||
menuIgnoreSpellParaSeparator.setVisible(spell);
|
||||
|
||||
@ -2991,7 +2991,7 @@ define([
|
||||
menuSpellcheckParaSeparator.setVisible(spell);
|
||||
menuIgnoreSpellPara.setVisible(spell);
|
||||
menuIgnoreAllSpellPara.setVisible(spell);
|
||||
menuToDictionaryPara.setVisible(spell);
|
||||
menuToDictionaryPara.setVisible(spell && me.mode.isDesktopApp);
|
||||
me.langParaMenu.setVisible(spell);
|
||||
me.langParaMenu.setDisabled(disabled);
|
||||
menuIgnoreSpellParaSeparator.setVisible(spell);
|
||||
@ -3112,6 +3112,7 @@ define([
|
||||
menuHyperlinkSeparator.setVisible(menuAddHyperlinkTable.isVisible() || menuHyperlinkTable.isVisible() /** coauthoring begin **/|| menuAddCommentTable.isVisible()/** coauthoring end **/);
|
||||
|
||||
me.menuSpellCheckTable.setVisible(value.spellProps!==undefined && value.spellProps.value.get_Checked()===false);
|
||||
menuToDictionaryTable.setVisible(me.mode.isDesktopApp);
|
||||
menuSpellcheckTableSeparator.setVisible(value.spellProps!==undefined && value.spellProps.value.get_Checked()===false);
|
||||
|
||||
me.langTableMenu.setDisabled(disabled);
|
||||
|
||||
Reference in New Issue
Block a user