mirror of
				https://github.com/BookStackApp/BookStack.git
				synced 2025-10-31 03:50:27 +03:00 
			
		
		
		
	- Updates old components to newer format, removes legacy component support. - Makes component registration easier and less duplicated. - Adds base component class to extend for better editor support. - Aligns global window exposure usage and aligns with other service names.
		
			
				
	
	
		
			11 lines
		
	
	
		
			166 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
		
			166 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
| import {Component} from "./component";
 | |
| 
 | |
| export class AutoSubmit extends Component {
 | |
| 
 | |
|     setup() {
 | |
|         this.form = this.$el;
 | |
| 
 | |
|         this.form.submit();
 | |
|     }
 | |
| 
 | |
| } |