Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Richeditor Does not work in SliderOver and Markdown Does not work in Modals #14394

Open
sohailahmad07 opened this issue Sep 30, 2024 · 1 comment
Labels

Comments

@sohailahmad07
Copy link
Contributor

sohailahmad07 commented Sep 30, 2024

Package

filament/filament

Package Version

3.2.115

Laravel Version

11.25.0

Livewire Version

3.5.6

PHP Version

8.3

Problem description

Hi

when you open a rich editor in a slide-over you can not add an image. it will show the image for a second but then it will disappear how every it works fine in a modal and it own page

Similarly, the markdown editor does not show in a modal but works correctly in Slideover and it own page

here a video (Rich editor in slideover)
Screencast from 2024-09-30 15-11-30.webm

Here image of Markdown in modal
Screenshot 2024-09-30 at 15-21-33 Users - Laravel

Expected behavior

It should show the image and it should not disappear and in the case of markdown is should sho the markdown

Steps to reproduce

Step To Reproduces

  • Install a New Laravel Project
  • Install Filament Panels
  • Create a filament Resource
  • Remove the Create Page and Edit page so it opens in a modal & slide over respectively
  • Add RichEditor & Markdown to a Form
  • Add A ->sliderOver() to create form
  • you will see the image can not be uploaded to a rich editor in Create Slideover
  • and the Markdown editor will not be accessible in the edit Modal

Reproduction repository (issue will be closed if this is not valid)

https://github.com/sohailahmad07/filament-editors-bug

Relevant log output

No response

@sohailahmad07
Copy link
Contributor Author

sohailahmad07 commented Sep 30, 2024

An update on the issue

Rich Editor

The rich editor image upload does not work because of the Grammarly extension but if you add these attributes to Trix editor tag

data-gramm="false"
data-gramm_editor="false"
data-enable-grammarly="false"

it should disable Grammarly

the I tried using extra attribute to add these but It does not work if i add the manually but publish view that i work but i don't think that is recommended

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Todo
Development

No branches or pull requests

1 participant