Custom Fields
Re-Envisioned
Support General Text fields erasing styling

  • Creator
    Topic
  • #30564
    Resolved A
    Participant

    I need to be able to just add basic styling tags like <b> and <i> to text fields. The WYSIWYG editor glitches out for me and for basic one line 1-15 word fields the WYSIWYG editor is overkill.
    In Toolset it's possible - and that's what I'm migrating from, so I'm baffled as to why my styling gets erased each time in a basic custom field. I'm not a developer, so I'd appreciate a solution to this.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Author
    Replies
  • #30565
    A
    Participant

    OK, I found the setting and am so relieved that you have included it - it's the custom sanitize callback - but it's a pain to have to do it for each field.

    Is there a way I can set it to "none" globally across the entire site? I have no need to sanitize any of the fields and prefer to keep the input as is.

    #30570
    Long Nguyen
    Moderator

    Hi,

    Each field has its own sanitize callback function so you need to set it to "none" for each field when registering/creating. There is no way to apply that to all fields.

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