Giter Site home page Giter Site logo

Comments (6)

theopensourcerer avatar theopensourcerer commented on August 23, 2024 1

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:
Screenshot from 2020-04-05 10-57-02

from tinybutstrong.

roxblnfk avatar roxblnfk commented on August 23, 2024

Have you watched this section? https://www.tinybutstrong.com/manual.php#html_conditional_section

from tinybutstrong.

theopensourcerer avatar theopensourcerer commented on August 23, 2024

@roxblnfk Thanks - I have no idea how I missed that!!!

from tinybutstrong.

Skrol29 avatar Skrol29 commented on August 23, 2024

I would suggest
<br>[onload.street1;magnet=br;mtype=m*]
or
[onload.street1;magnet=_] for text new line

from tinybutstrong.

theopensourcerer avatar theopensourcerer commented on August 23, 2024

@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.
Screenshot from 2020-04-05 10-09-17

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...

Screenshot from 2020-04-05 10-06-46

from tinybutstrong.

Skrol29 avatar Skrol29 commented on August 23, 2024

« magnet=_ » is for textual line break, like "/n"
No good for XML contents.

from tinybutstrong.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.