Ali Hassan
Not be able to show a resource file with same model in different panels.
i tried with a different name too.
By giving a different name to the resource file. But the issue lies with this line of code.
protected static ?string $model = User::class;
If i use some other model name it shows up. But when i add this model .
it don't show up.
14 replies
How to adjust customize image in rich text editor.
@Leandro Ferreira try to do this
Forms\Components\RichEditor::make('description')
->required()
->columnSpanFull()
->toolbarButtons([
'bold',
'italic',
'underline',
'strike',
'link',
'heading',
'blockquote',
'bulletList',
'orderedList',
'codeBlock',
'image',
])
->fileAttachmentsDisk('public')
->fileAttachmentsDirectory('news-events/content') ->extraInputAttributes([ 'style' => ' img { display: block !important; margin-left: auto !important; margin-right: auto !important; } ', ]), but it didn't work out
->fileAttachmentsDirectory('news-events/content') ->extraInputAttributes([ 'style' => ' img { display: block !important; margin-left: auto !important; margin-right: auto !important; } ', ]), but it didn't work out
5 replies