Closed TheRealDarkCoder closed 1 week ago
I stumbled upon this whilst looking for support for something else; you can get this working using custom_configs
as part of a profile in config/filament-tinyeditor.php
, like below:
'profiles' => [
'default' => [
'plugins' => 'accordion autoresize codesample directionality advlist link image lists preview pagebreak searchreplace wordcount code fullscreen insertdatetime media table emoticons',
'toolbar' => 'undo redo removeformat | fontfamily fontsize fontsizeinput font_size_formats styles | bold italic underline | rtl ltr | alignjustify alignleft aligncenter alignright | numlist bullist outdent indent | forecolor backcolor | blockquote table toc hr | image link media codesample emoticons | wordcount fullscreen',
'upload_directory' => null,
'custom_configs' => [
'image_caption' => true,
]
],
I stumbled upon this whilst looking for support for something else; you can get this working using
custom_configs
as part of a profile inconfig/filament-tinyeditor.php
, like below:'profiles' => [ 'default' => [ 'plugins' => 'accordion autoresize codesample directionality advlist link image lists preview pagebreak searchreplace wordcount code fullscreen insertdatetime media table emoticons', 'toolbar' => 'undo redo removeformat | fontfamily fontsize fontsizeinput font_size_formats styles | bold italic underline | rtl ltr | alignjustify alignleft aligncenter alignright | numlist bullist outdent indent | forecolor backcolor | blockquote table toc hr | image link media codesample emoticons | wordcount fullscreen', 'upload_directory' => null, 'custom_configs' => [ 'image_caption' => true, ] ],
This works! Thanks.
I am trying to implement image_caption to be true for the image plugin. https://www.tiny.cloud/docs/tinymce/latest/image/#image_caption
Where do i specify this?
I've tried setting it under filament-tinyeditor
and also in the views
None of which worked.