Support

Account

Home Forums General Issues wysiwyg field don't accept html code

Solved

wysiwyg field don't accept html code

  • Hi!
    I have created a wysiwyg field and it doesn’t accept html code.
    I’ve looked through the documentation and saw

    The Wysiwyg does not feature the standard “Visual / HTML” tabs above the editor. Instead, the html can be viewed and edited by the “HTML” button on the second row of toolbar buttons.

    but that button doesn’t appear also.
    Any suggestions on how I can make this to accept HTML CODE ?
    Thank you !

  • Hi @dynamyc

    Can you take a screenshot of the WYSIWYG buttons and attach it to a comment.
    It is most likely 1 of 2 things:
    1. You have not ‘opened’ the ‘kitchen sink’
    2. You have a tinyMCE plugin which is overriding the buttons set by ACF

    Thanks
    E

  • Here is a screenshot:
    screenshot

    Regarding to your answer:
    1. I don’t understand what do you mean by “kitchen sink”
    2. I don’t have any tinyMCE plugin installed

  • Hi @dynamyc

    Thanks for the screenshot. I ti s now clear to see the issue.
    Usually, the WYSIWYG toolbar does not look like this. I think your theme is customizing the toolbar by overriding the button choices.

    The kitchen sink is the button on the top row, second from the right and it toggles the second row of buttons. This is not the issue as I can see all the rows are open.

    I think you will need to search through your theme for a filter such as ‘tiny_mce_before_init’ and see if there is some code which is changing the buttons.

    If this is a purchased theme, perhaps you can also contact the developer and ask them how to allow ACF to add the ‘html’ code button to the WYSIWYG toolbar?

    Thanks
    E

Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘wysiwyg field don't accept html code’ is closed to new replies.