Viewing 3 replies - 1 through 3 (of 3 total)
  • This is how the Plugin works.

    However what did you said makes a lot of sense! Here is how it works:

    There is an icon left to the Block Save button for changing the Editor Highlight and Error check mode. There’re 4 languages (CSS, HTML, PHP and JS) on there. So based on that selected language the error check would display the errors. In your case it might be set to default CSS while you write <Scrip> tag,<script tag required the editor to be set to HTML.

    CJT doesn’t automatically output the <script> tag, we allow CJT block to have mixed code as its really required when you’ve HTML, CSS and Javascript code you want to involve with the request without creating block for everyone.

    Currently we’re working on solving that issues on the PRO edition. PRO edition will solve tyhat issue in the next versions as it will allow the single block to have multiple code files. Also the next version that we’ll release after a few days will have an autocomplete extension with much Snippets of code like automatci inserting of <script> tags and may others.

    You can checkout the CJT web site for more details.
    http://css-javascript-toolbox.com/

    Thread Starter James Revillini

    (@jrevillini)

    I think I understand all that you’ve said. My main thing is that I get a little red “X” next to the script tags – it makes it look like i’ve done something wrong, but you’re saying I did it right. I’m in JS block mode, so my only recommendation is to not flag the <script> tags when working in a JS block. 🙂

    Thanks! I really appreciate your work on this plugin.

    You got a half of what I’ve said.

    Simply <script> tag is not a Javascript keyword. Its HTML keyword! What you wrote between the <script></script> tags is Javascript.

    So in another word: <script> tag is an HTML section for writing Javascript.

    So you’ve to select HTML Language

    Hope that is cleared.

    Thank you for apprewciating the Plugi. We really doing much efforts on there and there’re many features in the pipeline as well.

    BTW: You can show your appreciating by give us review. Words are great however review is good for keeping on :).

    Regards,
    AHMeD

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘not outputting script tags’ is closed to new replies.