Adding Break Tags to Cloneable Fields

Support General Adding Break Tags to Cloneable FieldsResolved

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #37468
    SolaceSolace
    Participant

    Hi! Is it possible to add a break tag to cloneable fields? When I add multiple data points they all appear in one line (using Oxygen's repeater). I need to break them so they display single line for each entry.

    #37469
    Long NguyenLong Nguyen
    Moderator

    Hi,

    In case of using Oxygen Builder, please reach out to them if you have any issues with installation, configuration, compatibility, or usage.
    Refer to our support policy https://metabox.io/support/topic/support-policy/

    #37480
    SolaceSolace
    Participant

    Thanks for clarifying that, Long! However I'm assuming by your response that somehow the cloneable field, by default, should be displayed in a single line per field and not run together in a single line?

    #37486
    Long NguyenLong Nguyen
    Moderator

    Hi,

    When outputting the field value, you can simply add the HTML tag <br>, <p>, <div> to display each value per line. Please follow this documentation https://docs.metabox.io/extensions/meta-box-group/#examples

    #37510
    SolaceSolace
    Participant

    I did try that but when I click on update the changes are not saved in Meta Box. It resets to no html. Is there a setting in Meta Box I need to click to enable html rendering or should it allow html by default?

    #37517
    Long NguyenLong Nguyen
    Moderator

    Hi,

    I did try that but when I click on update the changes are not saved in Meta Box

    Can you please share some screenshots of the issue? You can also follow this documentation to know how to bypass the sanitization of the field https://docs.metabox.io/sanitization/

    #37551
    SolaceSolace
    Participant

    Got it thanks! I set the sanitization to 'none' and it allows for the <br> tag to be entered and saved.

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.