Skip to main content

DRAG_STYLE

Constant DRAG_STYLE 

Source
pub const DRAG_STYLE: &str = r#"
html.dragging, html.dragging * { user-select: none !important; -webkit-user-select: none !important; }
html.dragging iframe { pointer-events: none !important; }
html.dragging-columns, html.dragging-columns * { cursor: col-resize !important; }
html.dragging-rows, html.dragging-rows * { cursor: row-resize !important; }
"#;
Expand description

While a drag is live: no text selection anywhere, the resize cursor everywhere, and no iframe (the Web preview) swallowing pointer events.