Answered
Remove text on click
Hello, I have text areas in the product stage designer, it has placeholder text, I wanted to figure out how can I remove the placeholder text on single click instead of having to double click to select all then delete it manually.
I tried to do some coding but I am not very good with javascript, My issue is how to get the existing canvas element then edit it
Currently I have something like this but I get error undefined stage
stage.on("text:editing:entered", clearText); function clearText(e) { if (e.target.type === "i-text") { if (e.target.text === "Tap and Type") { e.target.text = ""; stage.renderAll(); }; } }
I have the same issues and I'm also trying to solve the same problem.
Biggest drama is that if you use your above example then everytime someone clicks the text box then the field gets cleared which is not ideal for most applications.
If I get anywhere Ill let you know.
Yes that would be very good and easier for the customers with just one click. Would be great if you could do it that way.
Please state your topic in the feature request forum so we can have this in mind on for further Updates.
Hello Radykal, was this point addressed in the latest release, by chance?
Thanks
Max
Any update on this, as it's a pain for users to have to delete the text on selecting the text box.
And it's also a pain to have the mobile users click the tiny "clear" icon in order to get rid of the pre-filled in text that appears inside the fill-able boxes. Why can't the pre-filled in text just clear when clicked into the box? I don't understand. This is how most websites handle fill-able boxes. Not sure why this one is kinda way out there as far as something so rudimentary?
Not yet. You could head on over to the feature request forum and have a look at the discussions there or add a new topic with a request for the feature you are looking for so we can keep it in mind for further updates. The more people agree with you, the more likely we are going to implement this feature.
I think this feature would be useful too, so if VanessaFancyPD wants to create a new feature request I will support it.