vue-wysiwyg icon indicating copy to clipboard operation
vue-wysiwyg copied to clipboard

How to set width in different devices with Bootstrap ?

Open PetroGromovo opened this issue 6 years ago • 1 comments

Hello, Working with Laravel 5.7 / Vuejs 2.6 / Vuex 3.1/ Bootstrap 4.3 I installed "vue-wysiwyg": "^1.7.2" into backend part of my site. It works ok, but I am interested is there a way to layout in for different devices. I wean set width according to device width and automatic height?

Thanks!

PetroGromovo avatar Jun 01 '19 07:06 PetroGromovo

Searching for valid decision , I try a wrapper, like :

			<div style=" width:300px; height:300px; border: 2px dotted green;"  >
				<wysiwyg
					v-model="userRow.notes"
				/>
			</div>

But it does not look as I expected : https://prnt.sc/nxzqdl as editor is stretched to other page controls. Any ide how to set with/height for this control, even with JS code? I would set it programmatically...

PetroGromovo avatar Jun 05 '19 15:06 PetroGromovo