1
0
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:
Toby Zerner
2018-11-06 19:01:43 +10:30
parent 437ab2b4c6
commit 40438fd0a6
6 changed files with 4752 additions and 4 deletions

View File

@@ -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;
})
];