• It loads like:

    <!– Block (1) START–>
    console.log(‘Hello…….’);
    <!– Block (1) END –>

    It should be

    <script type=”text/javascript”>
    console.log(‘Hello…….’);
    </script>

Viewing 1 replies (of 1 total)
  • Plugin Author wipeoutmedia

    (@wipeoutmedia)

    Hi Hitesh69,

    Thank you for your rating and feedback.
    We do get this question all the time and the answer is to use Code Files as this includes the JavaScript or CSS declaration wrapper automatically. That said, we realise that Code Files is a hidden gem and there probably aren’t too many people who utilise this feature.

    We are toying with a number of different solutions that could allow new code blocks to be created along with the JS or CSS wrappers via a simple language dropdown and wrapper checkbox in the New Code Block dialog. Something like this would give users the option to automatically include the wrapper on code block creation. It will also be a safe option that will allow users to add wrappers to new code blocks only and not existing code blocks.

    Kind Regards,
    Damian Baker

Viewing 1 replies (of 1 total)

The topic ‘It is missing Tag for JS’ is closed to new replies.