loleaflet/src/control/Control.Menubar.js | 2 +- loleaflet/src/core/LOUtil.js | 1 - 2 files changed, 1 insertion(+), 2 deletions(-)
New commits: commit 4ca5089d56369d335a39c13e428d2e932c0ac8a3 Author: Tamás Zolnai <tamas.zol...@collabora.com> AuthorDate: Tue Feb 25 12:10:53 2020 +0100 Commit: Tamás Zolnai <tamas.zol...@collabora.com> CommitDate: Tue Feb 25 12:15:23 2020 +0100 mobile: fix-up non-breaking space insertion. Make it to have the icon, but also trigger the right uno command. Change-Id: Ic762fee0eee0f1a6bc793edc98ed2217075364f7 diff --git a/loleaflet/src/control/Control.Menubar.js b/loleaflet/src/control/Control.Menubar.js index 8517f8c0d..a4b876536 100644 --- a/loleaflet/src/control/Control.Menubar.js +++ b/loleaflet/src/control/Control.Menubar.js @@ -648,7 +648,7 @@ L.Control.Menubar = L.Control.extend({ {name: _UNO('.uno:HyperlinkDialog'), id: 'inserthyperlink', type: 'action'}, {name: _UNO('.uno:ShapesMenu'), id: 'insertshape', type: 'action'}, {name: _UNO('.uno:FormattingMarkMenu', 'text'), id: 'formattingmark', type: 'menu', menu: [ - {name: _UNO('.uno:InsertNonBreakingSpace'), id: 'insertnonbreakingspace'}, + {uno: '.uno:InsertNonBreakingSpace'}, {uno: '.uno:InsertHardHyphen'}, {uno: '.uno:InsertSoftHyphen'}, {uno: '.uno:InsertZWSP'}, diff --git a/loleaflet/src/core/LOUtil.js b/loleaflet/src/core/LOUtil.js index f540e6da2..7ff1a5272 100644 --- a/loleaflet/src/core/LOUtil.js +++ b/loleaflet/src/core/LOUtil.js @@ -92,7 +92,6 @@ L.LOUtil = { commandWithoutIcon: [ 'InsertPageHeader', 'InsertPageFooter', - 'InsertNonBreakingSpace', 'InsertHardHyphen', 'InsertSoftHyphen', 'InsertZWSP', _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits