Replies: 3 comments 1 reply
-
Not sure what you are asking. the plugin itself uses Vite. |
Beta Was this translation helpful? Give feedback.
-
@awcodes Sorry. This morning I try to work with your plugin in one branch in my project. Read doc, and configure according help ## Steeps @import '/vendor/filament/filament/resources/css/theme.css';
@import '/vendor/awcodes/filament-tiptap-editor/resources/css/plugin.css';
@config 'tailwind.config.js';
import preset from '../../../../vendor/filament/filament/tailwind.config.preset'
export default {
presets: [preset],
content: [
'./app/Filament/**/*.php',
'./resources/views/filament/**/*.blade.php',
'./vendor/filament/**/*.blade.php',
'./vendor/kenepa/translation-manager/resources/**/*.blade.php',
'./vendor/awcodes/filament-tiptap-editor/resources/**/*.blade.php'
],
}
export default {
plugins: {
'tailwindcss/nesting': {},
tailwindcss: {},
autoprefixer: {},
},
}; run build
Add to my ArticlesResource Form
Reload Articles route
In my ignorance I thought that there was something different about the recommendation to continue with Vite as opposed to Mix. (I'm using vite) But then after calmly returning to try it on a clean branch, I realized that I don't know what the problem is. EditI see the problem only in old articles created with RichEditor |
Beta Was this translation helpful? Give feedback.
-
Oh, sorry: I apologize for the inconvenience. I created a new article and noticed that the problem was only with one article created using the Trix editor. In the content field, there were some improper HTML tags. It seems that these were causing issues with the tiptap-php package. I have removed them in MySQL, and now it works. I'm sorry for the interruption. |
Beta Was this translation helpful? Give feedback.
-
I'm looking for any way to configure this plugins using Laravel 11 with Vite instead Laravel Mix.
All attempts fail me.
Apreciate help.
Beta Was this translation helpful? Give feedback.
All reactions