Handlebars/Mustache plugin problem with script-tags

I have a strange problem with this plugin (sorry, if this question doesn't belong here - couldn't find an appropriate branch).

I have somtething like this in a template:


<div class="wrappert">

<div id="filter"></div>
<script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
<script src="/my_api/api.js?v={{jsMtime}}"></script>
<link rel="stylesheet" href="/my_api/api.css?v={{jsMtime}}" />
initFilter('#filter', {
type: 'testtype',
endpoint: '/api/v1/api_endpoint',
resultView: 'the-grid',
filter: {},
disabled: [],
hidden: [],


Now, when I try to edit the text between the <script>…</script> tags, I can't type. Every character I type is immediately deleted again.

Everything outside the script-tags works perfectly.

Any ideas what this could be?

1 comment
Comment actions Permalink

can't reproduce. What IDE version do you use? Does it happen when editing .hbs file, or .html/.php/etc?

Please reproduce the issue and share your idea.log (please don't paste it here, upload it to some file server and provide a link)


Please sign in to leave a comment.