<eventname>afterProcess</eventname>
<listenerclassname>wcf\system\event\listener\ArticleLinkHtmlInputNodeProcessorListener</listenerclassname>
</eventlistener>
+ <eventlistener name="articleLinkhtmlInputNodeProcessorAdmin">
+ <eventclassname>wcf\system\html\input\node\HtmlInputNodeProcessor</eventclassname>
+ <eventname>afterProcess</eventname>
+ <listenerclassname>wcf\system\event\listener\ArticleLinkHtmlInputNodeProcessorListener</listenerclassname>
+ <environment>admin</environment>
+ </eventlistener>
</import>
<delete>
public function execute($eventObj, $className, $eventName, array &$parameters) {
/** @var HtmlInputNodeProcessor $eventObj */
- $regex = $this->getRegexFromLink(LinkHandler::getInstance()->getLink('Article'));
+ $regex = $this->getRegexFromLink(LinkHandler::getInstance()->getLink('Article', [
+ 'forceFrontend' => true
+ ]));
$articleContentIDs = $this->getObjectIDs($eventObj, $regex);
if (!empty($articleContentIDs)) {