ng2-handsontable icon indicating copy to clipboard operation
ng2-handsontable copied to clipboard

Context menus not available when using Angular v4 CLI

Open jasonburrows opened this issue 7 years ago • 0 comments

It seems that the context menus (among other things) are not available when using Angular v4 CLI.

Does anyone have context menu support working in Angular v4 CLI?

I believe this is the problem:

The context menu relies on the CSS htContextMenu, which does not exist in any of the CSS files found here: https://github.com/handsontable/handsontable/tree/master/src/css

This is included in handsontable.full.css, but my environment shows a few errors with this file.

I have instead imported contextMenu.css.

...and this solves the problem. At the moment I've copied these locally to my project and am including them in the styles portion of the .angular-cli.json file.

I realize there are more stylesheets than these and I'll likely have to manually include them as well.

It would be great to get this updated to Angular v4 CLI so we didn't have to take these manual steps.

Thanks.

jasonburrows avatar May 26 '17 16:05 jasonburrows