Hello,
I'm creating a customized node that expands and I added a scrollbar to it by setting the max-height and overflow-y = auto of the content class. I want to disable the zooming on the mouse-wheel event but still be able to scroll when the node is selected. I've tried the following code but it disabled all of the mouse-wheel events.
Hello, I'm creating a customized node that expands and I added a scrollbar to it by setting the
max-height
andoverflow-y = auto
of the content class. I want to disable the zooming on the mouse-wheel event but still be able to scroll when the node is selected. I've tried the following code but it disabled all of the mouse-wheel events.editor.on('zoom', ({ source }) => { return source !== 'wheel'; });
Thank you in advance.