NASER add task functions
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
@props(['theme' => 'default'])
|
||||
|
||||
@inject('assets', \Tonysm\RichTextLaravel\AssetsManager::class)
|
||||
|
||||
@if (config('rich-text-laravel.editor') === 'lexxy')
|
||||
<link {{ $attributes }} rel="stylesheet" href="{{ $assets->url('/lexxy.css') }}" />
|
||||
<link {{ $attributes }} rel="stylesheet" href="{{ $assets->url('/lexxy-rich-text-laravel-attachments.css') }}" />
|
||||
@if ($theme === 'daisyui')
|
||||
<link {{ $attributes }} rel="stylesheet" href="{{ $assets->url('/lexxy-rich-text-laravel-daisyui.css') }}" />
|
||||
@elseif ($theme === 'flux')
|
||||
<link {{ $attributes }} rel="stylesheet" href="{{ $assets->url('/lexxy-rich-text-laravel-flux.css') }}" />
|
||||
@endif
|
||||
@elseif ($theme === 'richtextlaravel')
|
||||
<link {{ $attributes }} rel="stylesheet" href="{{ $assets->url('/trix-rich-text-laravel.css') }}" />
|
||||
<link {{ $attributes }} rel="stylesheet" href="{{ $assets->url('/trix-rich-text-laravel-attachments.css') }}" />
|
||||
@else
|
||||
<link {{ $attributes }} rel="stylesheet" href="{{ $assets->url('/trix.css') }}" />
|
||||
<link {{ $attributes }} rel="stylesheet" href="{{ $assets->url('/trix-rich-text-laravel-attachments.css') }}" />
|
||||
@if ($theme === 'daisyui')
|
||||
<link {{ $attributes }} rel="stylesheet" href="{{ $assets->url('/trix-rich-text-laravel-daisyui.css') }}" />
|
||||
@elseif ($theme === 'flux')
|
||||
<link {{ $attributes }} rel="stylesheet" href="{{ $assets->url('/trix-rich-text-laravel-flux.css') }}" />
|
||||
@endif
|
||||
@endif
|
||||
Reference in New Issue
Block a user