@js error
Closed this issue · 0 comments
felagund18 commented
Hello there!
Lets say there is a filament-tinyeditor.profiles.custom
profile config and it has a property shown below.
'custom_configs' => [
'formats' => [
'underline' => [
'class' => 'underline'
]
],
],
The problem is a double encoding problem like => String -> Json -> Json
Solution:
Solution1: getCustomConfigs()
function should return an array
filament-tinyeditor/src/TinyEditor.php
Line 285 in f73331f
Solution2: @js($getCustomConfigs())
=> {{ $getCustomConfigs() }}
in tiny-editor.blade.php view file.