Sha256: 8629aae2b605b0524774f1bc5de3b91de73b610c2a1140b20dd8c8ecf1bdac48

Contents?: true

Size: 886 Bytes

Versions: 4

Compression:

Stored size: 886 Bytes

Contents

# Headmin Changelog

## 0.3

- Support for import maps added
- Headmin is now works with Rails 7
- All JS is moved to Stimulus controllers thus deprecating the need for a custom initialization process
- Makeover of `headmin/forms/file`
    - added attribute `dropzone` to enable drag&drop
    - added attribute `preview` to enable previews
- Image previews for `headmin/forms/image` are not enabled by default anymore. To enable you can add `preview: true`. To
  render previews for attachments add them as nested_attributes to your model

```rb
has_one_attached :image
accepts_nested_attributes_for :image_attachment
```

- **BREAK**: CKEditor has been removed in favor of RedactorX.  
  Download a purchased copy of RedactorX and add it to your `<head>` like this:

```html

<head>
    <script src="<%= asset_path('redactorx') %>" type="module"></script>
</head>
```

## 0.2.8

- ...

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
headmin-0.3.4 CHANGELOG.md
headmin-0.3.3 CHANGELOG.md
headmin-0.3.2 CHANGELOG.md
headmin-0.3.1 CHANGELOG.md