card-creatr-studio icon indicating copy to clipboard operation
card-creatr-studio copied to clipboard

Add word-wrapping breakpoints for multiline text without spaces

Open SSCaide opened this issue 4 years ago • 3 comments

Allow me to preface this by saying I don't know a lot about programming. I found Card Creatr after I gave up trying to get custom templates to work in MSE and I think it's very promising. I'm experiencing some issues, however. Using the official tutorial I followed each step to create a simple test template. The first issue with the tutorial comes with simply opening the application. The tutorial doesn't mention how to do this at all, and running the program asks for a separate file. This was very confusing at first, but I realized I needed a template to start using the program. The tutorial mentions a "default template," but to my knowledge that simply doesn't appear to exist, and creating an empty file of the necessary type didn't help either. To open the editor, I had to copy a pre-made template and remove most of its contents for a fresh start. All that out of the way, we come to the issue with multiline text: it simply doesn't work. Attached is an image of my template. As you can see, the only change I made to the body field's code was adding an "align="left"" in a (failed) attempt to fix it. Given that the code in the tutorial doesn't function as intended, this leaves me at a total loss as to what to do.

Capture

SSCaide avatar Apr 08 '21 18:04 SSCaide

It's only now that I've realized the tutorial I used is several years outdated, and it doesn't appear anything related to this project has been done since 2020. Given that, I have no choice but to try and find yet another software. If it turns out that work is still being done on Card Creatr, please reply and let me know!

SSCaide avatar Apr 11 '21 16:04 SSCaide

Text wrapping only occurs on whitespace boundaries. "TestTestTestTestTestTestTestTest" does not have any boundaries where to wrap. It may be nicer if we could use a hyphenation engine instead, in order to find opportunities to break long words without word boundaries. I'll add an enhancement label to do this work.

If it turns out that work is still being done on Card Creatr, please reply and let me know!

I still maintain Card Creatr Studio! I realize that I have a backlog of issues, but I intend to address them when I can find time.

sffc avatar Apr 11 '21 19:04 sffc

Ah, thanks for the response! I'm not sure how I missed that. Regardless, with that cleared up I can start testing stuff out.

SSCaide avatar Apr 12 '21 01:04 SSCaide