mirror of
https://github.com/discourse/discourse.git
synced 2025-05-30 07:11:34 +08:00
Allow plugins to add vendored files for the text pipeline
This commit is contained in:
@ -94,6 +94,10 @@ module PrettyText
|
||||
end
|
||||
end
|
||||
|
||||
DiscoursePluginRegistry.vendored_pretty_text.each do |vpt|
|
||||
ctx.eval(File.read(vpt))
|
||||
end
|
||||
|
||||
ctx
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user