15 lines
		
	
	
	
		
			299 B
		
	
	
	
		
			GDScript
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
	
		
			299 B
		
	
	
	
		
			GDScript
		
	
	
	
	
	
| @tool
 | |
| extends EditorPlugin
 | |
| 
 | |
| 
 | |
| 
 | |
| func _enter_tree() -> void:
 | |
| 	# Initialization of the plugin goes here.
 | |
| 	add_custom_type("MarkdownTextEdit", "TextEdit", preload("markdown_text_edit.gd"), null)
 | |
| 
 | |
| 
 | |
| func _exit_tree() -> void:
 | |
| 	# Clean-up of the plugin goes here.
 | |
| 	remove_custom_type("MarkdownTextEdit")
 | |
| 
 | |
| 	
 |