protonemedia / laravel-splade

💫 The magic of Inertia.js with the simplicity of Blade 💫 - Splade provides a super easy way to build Single Page Applications (SPA) using standard Laravel Blade templates, and sparkle it to make it interactive. All without ever leaving Blade.
https://splade.dev
MIT License
1.47k stars 110 forks source link

Issue with New Feature Jodit WYSIWYG Editor #425

Closed syedahnb closed 1 year ago

syedahnb commented 1 year ago

I encountered this while using the new feature introduced in pull request #415 . The problem arises when using the following component

         <x-splade-wysiwyg name="description" placeholder="Description" />

The expected behavior should be the appropriate display of the Jodit Editor. However, the output does not correctly show the Jodit Editor as intended.

To provide a visual representation of the issue, I have attached a screenshot of the problematic output. You can view it at the following link:

image

You may use the built-in Artisan Command to show the installed versions of the packages:

php artisan splade:show-versions

image

Make sure both Splade packages (JS + PHP) are up-to-date and on the same version. For example, when using version 0.5.0 of the PHP package, you should use the same JavaScript package version.

Description:

Steps To Reproduce Issue:

pascalbaljet commented 1 year ago

You need to import the stylesheet. Check out the docs: https://splade.dev/docs/form-wysiwyg