mirror of
https://github.com/neocities/neocities.git
synced 2025-07-22 18:46:07 +02:00
updated ace editor with new settings
settings for tab width, font size, keyboard mode, and autocomplete
This commit is contained in:
parent
d11e951fe6
commit
811b956a4b
1998 changed files with 1585 additions and 1527684 deletions
16
migrations/128_add_editor_settings.rb
Normal file
16
migrations/128_add_editor_settings.rb
Normal file
|
@ -0,0 +1,16 @@
|
|||
Sequel.migration do
|
||||
up {
|
||||
DB.add_column :sites, :autocomplete_enabled, :boolean, default: false
|
||||
DB.add_column :sites, :editor_font_size, :int, default: 14
|
||||
DB.add_column :sites, :keyboard_mode, :int, default: 0
|
||||
DB.add_column :sites, :tab_width, :int, default: 4
|
||||
}
|
||||
|
||||
down {
|
||||
DB.add_column :sites, :autocomplete_enabled
|
||||
DB.add_column :sites, :editor_font_size
|
||||
DB.add_column :sites, :keyboard_mode
|
||||
DB.add_column :sites, :tab_width
|
||||
}
|
||||
end
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue