I am using the Textbox of Fabric.js. I have given a fixed width. But if a user types a long word without any space that exceeds the given width of
Textbox
Fabric.js
For fabric 2.0+ Please see Fabric.js 2.0 breakWords Implementation for an implementation for word wrapping long words without spacing.