Text block or line break
- Kiwee Rouge
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 10
- Thank you received: 0
8 years 11 months ago #3151
by Kiwee Rouge
Text block or line break was created by Kiwee Rouge
Hi !
I created a custom design for vDesigner (I edited the /plugins/vmcustom/designtool/designtool/tmpl/default.php by adding another case).
My question is, how can I add a text block ? Or add a line break in a text ?
I have to add several paragraphs customisable, but I can't set a width/height, and "<br/>" or '\n' don't work.
Any idea ?
Thanks
I created a custom design for vDesigner (I edited the /plugins/vmcustom/designtool/designtool/tmpl/default.php by adding another case).
My question is, how can I add a text block ? Or add a line break in a text ?
I have to add several paragraphs customisable, but I can't set a width/height, and "<br/>" or '\n' don't work.
Any idea ?
Thanks
Please Log in to join the conversation.
- Kiwee Rouge
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 10
- Thank you received: 0
8 years 11 months ago #3164
by Kiwee Rouge
Replied by Kiwee Rouge on topic Text block or line break
Ok, I answer myself because I found the solution by looking at the "bottle" example.
To have line break in a text element, you just have to have "real" line break in the default.php code (see attachment)
To have line break in a text element, you just have to have "real" line break in the default.php code (see attachment)
Attachments:
Please Log in to join the conversation.