You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The tiptap editor is failing to load the tools and also doesn't allow for the text within the editor to be edited.
Expected behavior
The editor to display the expected tools and for me to be able to make changes to the text within the editor.
Steps to reproduce
I'm using the kanban board filament package which when you click on an item within the kanban board, a modal pops up and contains a form. This is the code for my form:
protected function getEditModalFormSchema(?int $recordId): array
{
$job = Job::find($recordId);
$isDisabled = false;
if (Gate::denies('update', $job)) {
$isDisabled = true;
}
return array_merge(
[
Placeholder::make('no_permission')
->hidden(! $isDisabled)
->content('You do not have permission to edit this job.'),
],
JobsForm::make($isDisabled)
);
}
This issue is ongoing from this previous issue here. I left a comment near the bottom of the linked issue with an image of how my editor looks. My output has changed slightly since the update and now looks like this:
Previously, my text never even displayed within the editor. If I double click on any text, the tooltips to appear like so:
I CANT delete or add any text at all.
Reproduction repository
No response
Relevant log output
No errors are logged within the console.
The text was updated successfully, but these errors were encountered:
Hmm. Hard to say. I've never worked with that plugin before so have no way of knowing what could be happening. Editor is working normally and as expected in my demo app.
Make sure you also run 'php artisan filament:assets' in case there's any caching issues with the assets.
No luck with running 'php artisan filament:assets'. No worries though, I'll just switch to RichEditor for this project for now and if I have more time in the future, I'll dive deeper into what is causing the issue. Thanks for the quick response!
Filament Version
v3.2.91
Plugin Version
v3.4.0
PHP Version
PHP 8.3.8
Problem description
The tiptap editor is failing to load the tools and also doesn't allow for the text within the editor to be edited.
Expected behavior
The editor to display the expected tools and for me to be able to make changes to the text within the editor.
Steps to reproduce
I'm using the kanban board filament package which when you click on an item within the kanban board, a modal pops up and contains a form. This is the code for my form:
This issue is ongoing from this previous issue here. I left a comment near the bottom of the linked issue with an image of how my editor looks. My output has changed slightly since the update and now looks like this:
Previously, my text never even displayed within the editor. If I double click on any text, the tooltips to appear like so:
I CANT delete or add any text at all.
Reproduction repository
No response
Relevant log output
The text was updated successfully, but these errors were encountered: