dashboard icon indicating copy to clipboard operation
dashboard copied to clipboard

Using more than one script tag is an error.

Open khjde1207 opened this issue 6 years ago • 3 comments

<script type="text/html" settings>
	<div class="padding">
		<div >asdf
			<script type="text/plain">
			</script> 
		</div>


		<div >jkl
			<script type="text/plain"> <!-- Using more than one script tag is an error.  -->
			</script> 
		</div>

		
	</div>
</script>

image

image

full source code

<style>
</style>

<script type="text/html" settings>
	<div class="padding">
		<div >asdf
			<script type="text/plain">
			</script> 
		</div>


		<div >jkl
			<script type="text/plain">
			</script> 
		</div>

		
	</div>
</script>

<script type="text/html" body>
	<div style="padding:10px;height:100%;">
		<div style="height:100%; width : 100%;">
			test
		</div>
	</div>
</script>

<script>
	

	
	exports.name = 'test';
	exports.title = 'test';
	exports.icon = 'fa-lightbulb-o';
	exports.author = 'HONG';
	exports.group = 'testtest';
	exports.options = { };
	exports.version = '1.0.0';
	exports.install = function(instance) {

		let $name;
	
		instance.on('resize',function(size) {
			
		});

		instance.on('data',function(message) {
			
		
		});

		instance.reconfigure = function(v) {
			
		};

		
		instance.make = function() {
			console.log("instance.settings : " , instance);
			instance.settings();
			

		};

		instance.on('options',instance.reconfigure);
	};




</script>

khjde1207 avatar Feb 17 '20 08:02 khjde1207

Hi, we are aware of the issue and already working on a fix. I need to do a bit more testing and then i will commit the changes. Hopefully today.

molda avatar Feb 17 '20 08:02 molda

Fixed 👍

molda avatar Feb 18 '20 16:02 molda

Thank You !

khjde1207 avatar Feb 19 '20 00:02 khjde1207