2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-09-05 08:59:27 +08:00

Allow plugins to add vendored files for the text pipeline

This commit is contained in:
Robin Ward 2017-04-18 17:49:56 -04:00
parent e7b0ce1334
commit 564eb8c20f
2 changed files with 12 additions and 1 deletions

View file

@ -94,6 +94,10 @@ module PrettyText
end
end
DiscoursePluginRegistry.vendored_pretty_text.each do |vpt|
ctx.eval(File.read(vpt))
end
ctx
end