mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06: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