dream-num / univer

Univer is an open-source alternative to Google Sheets, Slides, and Docs

Home Page:https://univer.ai

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Bug] Failing To Hide Menu Items

tannerTurba opened this issue · comments

Before you submit this issue, have you checked the following

  • Is this really a problem?
  • I have searched the Github Issues for similar issues, but did not find anything.

Affected packages and versions

v0.1.13

Reproduction link

https://stackblitz.com/~/github.com/awesome-univer/sheets-vite-demo

Expected behavior

I am interested in hiding a couple of the menu items, so I have followed the advice that is given on the Extending UI page of the documentation, which I have included a screenshot of below.

image

image
(A snippet of my code)

I expected the format painter, text color, and bold menu icons to be hidden.

Actual behavior

The rendered table still includes the icons that I have set to 'hidden' in the config data.

image

System information

I am using vite, react, and typescript in my project.

System:
OS: Windows 10 10.0.19045
CPU: (12) x64 12th Gen Intel(R) Core(TM) i5-1245U
Memory: 4.61 GB / 15.69 GB
Binaries:
Node: 21.7.3 - C:\Program Files\nodejs\node.EXE
npm: 10.5.0 - C:\Program Files\nodejs\npm.CMD
Browsers:
Edge: Chromium (125.0.2535.79)
Internet Explorer: 11.0.19041.4355

Apologize for the inconvenience. I have already resolved this problem, and the fix will be released in version 0.1.14. 🙏

Thank you!