basecamp / basecamp/trix

When style button is clicked in te7a-houdini/laravel-trix changes are not applied

Open
#939 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
20k
Forks
1.1k
Avg merge
3d 12h
Merged PRs (30d)
13

Description

In Laravel 8 / livewire 2.5 / alpinejs 3 application I use "te7a-houdini/laravel-trix": "^2.0.5",
which is warpper for https://github.com/basecamp/trix
and I found that in livewire blade template having :






also I tried with :
` wire:model.defer
`
text entered in trix editor if not applied at form.content var when user clicks on style buttons of trix.
Can it be fixed somehow?
Can I on submit call apply method manually?

Thanks!

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the failure in the reported Livewire Blade template: enter text in the Trix editor, click a style button, and inspect whether form.content updates. The relevant integration file and tests are not named in the issue, so locate the Trix-to-Livewire binding first; done means formatted content is preserved in form.content when the form is submitted.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.