feat: edit entries
This commit is contained in:
parent
8e215a6962
commit
3d87fd8fcb
30 changed files with 519 additions and 6 deletions
16
addons/markdown_text_edit/header_formats/header_format.gd
Normal file
16
addons/markdown_text_edit/header_formats/header_format.gd
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
@tool
|
||||
class_name HeaderFormat extends Resource
|
||||
|
||||
@export var font_size: float = 2.5 : set = _set_font_size
|
||||
@export var is_bold: bool = false
|
||||
@export var is_italic: bool = false
|
||||
@export var is_unterlined: bool = false
|
||||
@export var font_color: Color = Color.WHITE
|
||||
|
||||
func _init() -> void:
|
||||
resource_local_to_scene = true
|
||||
|
||||
|
||||
func _set_font_size(new_font_size: float) -> void:
|
||||
font_size = new_font_size
|
||||
emit_changed()
|
||||
|
|
@ -0,0 +1 @@
|
|||
uid://ditc3t85lnt0q
|
||||
Loading…
Add table
Add a link
Reference in a new issue