I want set the text selection by code in FabricJS like the image. When I create the IText object I need to select all text to facilitate the editing.
I check the documentation, but no success.
I want set the text selection by code in FabricJS like the image. When I create the IText object I need to select all text to facilitate the editing.
I check the documentation, but no success.

I've found it in documentation. And prepared use example for you
https://codesandbox.io/s/fabricjs-playground-forked-jl0ui?file=/src/index.js