mirror of
https://github.com/flarum/core.git
synced 2025-07-31 13:40:20 +02:00
Add markdown toolbar buttons and textarea helper
This commit is contained in:
@@ -12,7 +12,12 @@
|
||||
use Flarum\Extend;
|
||||
use s9e\TextFormatter\Configurator;
|
||||
|
||||
return (new Extend\Formatter)
|
||||
->configure(function (Configurator $config) {
|
||||
$config->Litedown;
|
||||
});
|
||||
return [
|
||||
(new Extend\Frontend('forum'))
|
||||
->js(__DIR__.'/js/dist/forum.js'),
|
||||
|
||||
(new Extend\Formatter)
|
||||
->configure(function (Configurator $config) {
|
||||
$config->Litedown;
|
||||
})
|
||||
];
|
||||
|
Reference in New Issue
Block a user