Releases: tonysm/rich-text-laravel
Releases · tonysm/rich-text-laravel
2.0.0-beta.4
What's Changed
- Rich Text Model changes now touches the timestamp of the related record by @tonysm in #39
- New Sanitization example using Symfony's HTML Sanitizer component by @tonysm in #40
- Fixed the Livewire integration (added a Livewire example to the Workbench app) by @tonysm in #41
- Support encrypting content by @tonysm in #38
Full Changelog: 2.0.0-beta.3...2.0.0-beta.4
2.0.0-beta.3
What's Changed
- The new
<x-rich-text::styles />
now supports atheme
property. It defaults todefault
and there's a tweakedrichtextlaravel
theme that is intended to work better on Tailwind/Breeze projects.
Full Changelog: 2.0.0-beta.2...2.0.0-beta.3
2.0.0-beta.2
What's Changed
Full Changelog: 2.0.0-beta.1...2.0.0-beta.2
If you're upgrading from 1.x, rename all your $richTextFields
properties to $richTextAttributes
instead:
sed -i 's/richTextFields/richTextAttributes/' app/**/*.php
2.0.0-beta.1
Changelog
- CHANGED: The styles component has changed from
<x-rich-text-trix-styles />
to<x-rich-text::styles />
- CHANGED: The Trix component that's published on new apps has changed from
<x-trix-field />
to<x-trix-input />
(only affects new installations) - CHANGED: The new styles component now supports a
breeze
flag, which makes some tweaks on the default Trix styles so it looks better on Breeze installs (including dark mode), which can be used like<x-rich-text::styles breeze />
- CHANGED: Installation and styles were bumped to Trix v2
1.7.0
1.6.1
1.6.0
Changelog
- CHANGED: The
richtext:install
command was modified to work with the new Vite setup from Laravel. I also took the time to make it look better. It works with the old Mix installs from Laravel 8 still and, of course, it works when using the Importmap Laravel as well.
1.5.0
Changelog
- CHANGED: The install command now publishes the Trix overrides styles to a
resources/css/_trix.css
which, based on the app's setup, can do two things: a) automatically add the import line to theresources/css/app.css
file; or b) tell the developer to add the import or do whatever they want with the file - CHANGED: The install command now also is a bit smarter and detects when the application is using Importmap Laravel and installs JS dependencies using that instead of always assuming NPM.
- NEW: There's a new
<x-rich-text-trix-styles />
Blade Component that can be used to output the Trix core styles (copied from the Trix repository) instead of using a CDN - NEW: A new
<x-trix-field />
Blade Component is now published to the application'sresources/views/components
. This makes for a nice starting point.