Text fields erasing styling

Support General Text fields erasing stylingResolved

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #30564
    LarryLarry
    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.

    #30565
    LarryLarry
    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 NguyenLong 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 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.