basecamp / basecamp/trix

trix-toolbar can't put after trix-editor

Open
#919 2 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

trix form can only works when `trix-toolbar` put before `trix-editor`

##### Steps to Reproduce

```

```

When `trix-toolbar` put after `trix-editor`, I will get an error when submit the form.

```
An invalid form control with name='href' is not focusable.
```

I have to fix it by put the `trix-toolbar` before `trix-editor` like this:

```

```

##### Details

* Trix version: 1.3.1
* Browser name and version: Chrome 90
* Operating system: Mac OS 11.4

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.