Skip to content

Releases: tonysm/rich-text-laravel

2.0.0-beta.4

20 Feb 00:59
dbd11ba
Compare
Choose a tag to compare
2.0.0-beta.4 Pre-release
Pre-release

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

19 Feb 15:43
643f40e
Compare
Choose a tag to compare
2.0.0-beta.3 Pre-release
Pre-release

What's Changed

  • The new <x-rich-text::styles /> now supports a theme property. It defaults to default and there's a tweaked richtextlaravel 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

02 Feb 02:52
b0e566f
Compare
Choose a tag to compare
2.0.0-beta.2 Pre-release
Pre-release

What's Changed

  • Tweaks the Install command, published component, and rename attribute by @tonysm in #36

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

18 Jan 13:39
68d42eb
Compare
Choose a tag to compare
2.0.0-beta.1 Pre-release
Pre-release

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

14 Feb 02:10
781dd42
Compare
Choose a tag to compare

Changelog

  • CHANGED: Support for Laravel 10

1.6.1

19 Jan 19:23
3d1e1a3
Compare
Choose a tag to compare

Changelog

  • FIXED: Fixes the install command on small terminal windows (3d1e1a3)

1.6.0

03 Jul 00:22
7c7411d
Compare
Choose a tag to compare

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

15 Jun 21:44
86648ac
Compare
Choose a tag to compare

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 the resources/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's resources/views/components. This makes for a nice starting point.

1.4.1

08 Apr 19:33
2953e7d
Compare
Choose a tag to compare

Changelog

  • Fixes Livewire components "hanging" when a model with rich text fields is bound to it by unsetting the rich text relationships when the component is dehydrating (#22)

1.4.0

09 Feb 01:30
64f59ea
Compare
Choose a tag to compare

Changelog

  • CHANGED: Laravel 9 support
  • CHANGED: Bumps the tonysm/globalid-laravel package to ^1.1.0