mirror of
https://github.com/discourse/discourse.git
synced 2025-05-28 22:17:45 +08:00
FEATURE: Bundle discourse-checklist plugin into core (#22927)
Formerly https://github.com/discourse/discourse-checklist
This commit is contained in:
17
plugins/checklist/plugin.rb
Normal file
17
plugins/checklist/plugin.rb
Normal file
@ -0,0 +1,17 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
# name: checklist
|
||||
# about: Add checklist support to Discourse
|
||||
# version: 1.0
|
||||
# authors: Discourse Team
|
||||
# url: https://github.com/discourse/discourse/tree/main/plugins/checklist
|
||||
|
||||
enabled_site_setting :checklist_enabled
|
||||
|
||||
register_asset "stylesheets/checklist.scss"
|
||||
|
||||
register_svg_icon "spinner"
|
||||
|
||||
after_initialize do
|
||||
["../lib/checklist_syntax_migrator.rb"].each { |path| load File.expand_path(path, __FILE__) }
|
||||
end
|
Reference in New Issue
Block a user