From 805c1f9976300fa85d6b918958a04cc568f7ac3c Mon Sep 17 00:00:00 2001 From: Nazar Leush Date: Mon, 9 Sep 2024 16:36:41 +0300 Subject: [PATCH] add plugin argument: prepareLinkMedia --- lib/core.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/core.js b/lib/core.js index 0ec6ed504..ca55bc93d 100644 --- a/lib/core.js +++ b/lib/core.js @@ -11,6 +11,7 @@ import * as htmlUtils from './html-utils.js'; import * as metaUtils from './plugins/system/meta/utils.js'; + import mediaPlugin from './plugins/validators/media.js'; const plugins = pluginLoader._plugins, pluginsModules = pluginLoader._pluginsModules, @@ -26,6 +27,7 @@ htmlUtils: htmlUtils, metaUtils: metaUtils, plugins: pluginsModules, + prepareLinkMedia: mediaPlugin.prepareLink, log: log, cache: cache };