The value of attribute [ data-type ] must be in double quotes – custom html widget error

I am trying to use a JavaScript typewriter effect and WordPress is throwing me the following error (The value of attribute [ data-type ] must be in double quotes.) when adding the html into a custom html widget.

I have the code working on CodePen. However w hen I change the data-type to double quotes and the data inside to single quotes the code stops working.

Any suggestions/am I missing something?

Thanks in advanced.

Read more here:: The value of attribute [ data-type ] must be in double quotes – custom html widget error

Leave a Reply

Your email address will not be published. Required fields are marked *