امتیازها
113
راهحلها
27
- محل سکونت
- England
- نوشتهها
- 26,276
- تاریخ ثبتنام
- ۱۳۹۹٫۰۴٫۰۶
- پسندها
- 3,286
- سن
- 29
- وب سایت
- xenforo.xyz
- نسخه PHP
- 7.3
- نسخه زنفورو
- xenforo 2.2
Hello,
I made a BBCode, and I would like it to be parsed in the WYSIWYG editor.
I made a class extension :
Code:
The method...
Read more
I made a BBCode, and I would like it to be parsed in the WYSIWYG editor.
I made a class extension :
Code:
کد:
class EditorHtml extends XFCP_EditorHtml
{
public function addDefaultTags()
{
parent::addDefaultTags();
$this->addTag('fa', [
'callback' => 'renderTagFA',
]);
}
public function renderTagFA(array $children, $option, array $tag, array $options)
{
return 'This is a test...';
}
}
The method...
Read more
