mirror of
https://github.com/flarum/framework.git
synced 2024-11-25 09:41:49 +08:00
Tweak TextFormatter JS settings
This commit is contained in:
parent
62a01c69a9
commit
8c18ff3349
|
@ -63,7 +63,9 @@ class Formatter
|
|||
{
|
||||
$configurator = $this->getConfigurator();
|
||||
$configurator->enableJavaScript();
|
||||
$configurator->javascript->setMinifier('ClosureCompilerService');
|
||||
$configurator->javascript->exportMethods = ['preview'];
|
||||
$minifier = $configurator->javascript->setMinifier('ClosureCompilerService');
|
||||
$minifier->keepGoing = true;
|
||||
|
||||
return $configurator->finalize([
|
||||
'returnParser' => false,
|
||||
|
|
Loading…
Reference in New Issue
Block a user