I was trying to rewrite _wrapLine to achieve at least one character per line instead of a single word, but the cursor was a problem typing text.
To me looks fine. what is the problem?
Please enter the text in a different location, the location of the text appear deviation. @asturur
@asturur the ctrl + a(select all) highlight area is buggy. the cursor can't focus at latest character, and then input characters won't show on right position.
see https://jsfiddle.net/nfe3cvfe/135/
Cannot really dig in custom code. I thin is because fabricJS assumes that if there is a break line, a space has been removed.
But in your case this is not true.
https://github.com/kangax/fabric.js/issues/2376
Take a read at this old discussion, there was a working prototype for 1.7, we did not want to merge it, but was working
duplicate of #2376
Most helpful comment
@asturur the ctrl + a(select all) highlight area is buggy. the cursor can't focus at latest character, and then input characters won't show on right position.
see https://jsfiddle.net/nfe3cvfe/135/