Comments (6)
Awesome - I've worked it out. This works for OpenTBS odt files...
`[onload.bill_street;magnet=text:line-break;mtype=*m]followed by a soft line-break. See screenshot:
from tinybutstrong.
Have you watched this section? https://www.tinybutstrong.com/manual.php#html_conditional_section
from tinybutstrong.
@roxblnfk Thanks - I have no idea how I missed that!!!
from tinybutstrong.
I would suggest
<br>[onload.street1;magnet=br;mtype=m*]
or
[onload.street1;magnet=_]
for text new line
from tinybutstrong.
@Skrol29 Thanks for responding.
I saw mention of the block=_ in the documentation but didn't realise I could apply it to fields.
Unfortunately I just tried either method without success.
Using [onload.street1;magnet=_]
the template is created, but the resulting odt file couldn't be opened.
And with <br>[onload.street1;magnet=br;mtype=m*]
the br is just being printed as-is in the resulting odt template and not intepreted...
from tinybutstrong.
« magnet=_ » is for textual line break, like "/n"
No good for XML contents.
from tinybutstrong.
Related Issues (20)
- Formatting some timestamps results in wrong date HOT 13
- Random XML rendering HOT 1
- can't access your website HOT 2
- Apply enlarge to CSS-compatible comments HOT 2
- Connect to codeigniter
- Parameter to detect if field exists? HOT 4
- using magnet to remove attribute resulting in bad render HOT 4
- Usage of global constants breaks apps using PHP 7.4s class preloading HOT 4
- TBS project development
- Feature request: support multiple "when" conditions
- Feature request: allow for \ArrayAccess and \ArrayObject in addition to plain arrays.
- tbs_class.php line 3936
- Replace text in paragraph keeping the runs object and styles
- PHP doc variable types HOT 1
- p tag bug?(solved) HOT 2
- What is the license, please? HOT 1
- TBS library not working with latest pptx versions HOT 8
- The OnData event of plugins no longer works in version 3.15 HOT 1
- frm=ddd with locale doesn't work anymore since the removal of strftime in newer TBS Versions
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
? if not empty
from tinybutstrong.