Load style for textarea depending on user's style
This commit is contained in:
parent
3f6c600af6
commit
9f84a711f6
1 changed files with 5 additions and 10 deletions
|
@ -291,16 +291,11 @@ trait PostFormTrait
|
|||
}
|
||||
|
||||
$scConfig = \json_encode([
|
||||
// 'format' => 'bbcode',
|
||||
// 'icons' => 'monocons',
|
||||
'style' => $this->publicLink('/style/sc/themes/content/default.css'),
|
||||
// 'emoticonsCompat' => true,
|
||||
// 'emoticonsEnabled' => false,
|
||||
// 'resizeWidth' => false,
|
||||
// 'width' => '100%',
|
||||
'locale' => __('lang_identifier'),
|
||||
'emoticonsRoot' => $this->c->PUBLIC_URL . '/img/sm/',
|
||||
'emoticons' => [
|
||||
'style' => $this->publicLink("/style/{$this->user->style}/sccontent.css", true)
|
||||
?: $this->publicLink('/style/sc/themes/content/default.css'),
|
||||
'locale' => __('lang_identifier'),
|
||||
'emoticonsRoot' => $this->c->PUBLIC_URL . '/img/sm/',
|
||||
'emoticons' => [
|
||||
'dropdown' => \array_flip($smilies),
|
||||
'hidden' => $hidden,
|
||||
],
|
||||
|
|
Loading…
Add table
Reference in a new issue