FEATURE: adds support for loading existing core asset in pretty text

This commit is contained in:
Joffrey JAFFEUX
2018-04-10 08:37:16 +02:00
committed by GitHub
parent 867f327055
commit 45f657336e
5 changed files with 42 additions and 1 deletions

View File

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