jspreadsheet / ce

Jspreadsheet is a lightweight vanilla javascript plugin to create amazing web-based interactive tables and spreadsheets compatible with other spreadsheet software.
https://bossanova.uk/jspreadsheet/v4
MIT License
6.72k stars 824 forks source link

jcontextmenu styles missing from jspreadsheet.css #1606

Closed tograh closed 1 year ago

tograh commented 1 year ago

If I import only jspreadsheet.css, context menus show up in the flow underneath the table. To get the proper styling, I had to extract the .jcontextmenu content from https://jsuites.net/v4/jsuites.css and include it manually.

Shouldn't the .jcontextmenu styles be included in jspreadsheet.css?

hodeware commented 1 year ago

Actually the contextmenu is a jsuites component. Jsuites is a dependency that you need to import to run JSS properly. So, you need to include the whole jsuites.css on your project to get correctly running.

tograh commented 1 year ago

If that was mentioned in the project markdown, I missed it. Using npm to import the project as-is does not result in properly functioning context menus.