Skip to content
Snippets Groups Projects
Commit 23cc1119 authored by Reid Givens's avatar Reid Givens
Browse files

adjust formatting on paste script to skip the parent object. Also added a...

adjust formatting on paste script to skip the parent object. Also added a base-href param to the deply script so it can resolve dependencies when loaded from a deep link.
parent 1312183b
No related branches found
No related tags found
No related merge requests found
......@@ -21,7 +21,7 @@ case $DESTINATION in
;;
esac
ng build --optimization=true --prod=true
ng build --optimization=true --prod=true --base-href /vlass-manager/
ssh $USER@$SERVER "rm -R /home/${SERVER}/content/vlass-manager/*"
scp -r dist/vlass-manager/* $USER@$SERVER:/home/$SERVER/content/vlass-manager
ssh $USER@$SERVER "chmod -R 775 /home/${SERVER}/content/vlass-manager/*"
......@@ -37,7 +37,9 @@ export class ContentEditableDirective implements ControlValueAccessor {
onPaste($event) {
// after the paste, remove all the formatting
setTimeout(() => {
this.clearAttr(this.elementRef.nativeElement);
for(let el of this.elementRef.nativeElement.children) {
this.clearAttr(el);
}
}, 500);
}
......
......@@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<title>VLASS Manager</title>
<base href="/">
<base href="./">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/x-icon" href="favicon.ico">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment