moveable icon indicating copy to clipboard operation
moveable copied to clipboard

How to hide the outer border

Open topdevelop opened this issue 3 years ago • 3 comments

I set the origin property, but it doesn't seem to work

topdevelop avatar Nov 04 '21 09:11 topdevelop

@topdevelop

Handle the child element of moveable with css.

daybrush avatar Nov 04 '21 14:11 daybrush

@topdevelop

Handle the child element of moveable with css.

How exactly do I do this ?

aayush801 avatar Nov 16 '21 17:11 aayush801

@aayush801


.moveable-control.moveable-origin {
	border-color: #f55;
	background: #fff;
	width: 12px;
	height: 12px;
	margin-top: -6px;
        margin-left: -6px;
	pointer-events: none;
}

daybrush avatar Nov 16 '21 17:11 daybrush

in scoped style sheet , how to change the moveable line color or hide it

huanghaiyang avatar Dec 05 '22 10:12 huanghaiyang

@huanghaiyang

  1. Set color variable
.moveable-control-box {
 --moveable-color: #4af;
}
  1. Set hideDefaultLines to true for hiding lines.

daybrush avatar Dec 05 '22 13:12 daybrush