mirror of
https://github.com/getgrav/grav.git
synced 2026-03-24 05:20:10 +01:00
Add the page to the onMarkdownInitialized event. (#2418)
This will allow plugins hooking this event to mergeConfig #2412
This commit is contained in:
committed by
Matias Griese
parent
f7d3299ebb
commit
55aaaeed47
@@ -47,7 +47,7 @@ trait ParsedownGravTrait
|
||||
$this->setMarkupEscaped($defaults['escape_markup']);
|
||||
$this->setSpecialChars($defaults['special_chars']);
|
||||
|
||||
$grav->fireEvent('onMarkdownInitialized', new Event(['markdown' => $this]));
|
||||
$grav->fireEvent('onMarkdownInitialized', new Event(['markdown' => $this, 'page' => $page]));
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user