Uncaught TypeError: element.editor is undefined
- Dominant language
- JavaScript
- Stars
- 20k
- Forks
- 1.1k
- Avg merge
- 3d 12h
- Merged PRs (30d)
- 13
Description
hi
I am completely new to Trix and not a developer. I am using Trix in my new project so I am getting familiar with the it so I can customize it as I need. I was following the documentation here https://github.com/basecamp/trix I created simple [jsFiddle ](https://jsfiddle.net/radek/rLjv9g2d/2/)with exact HTML and javascript from documentation but I am getting the error https://github.com/basecamp/trix
Could someone please help me to fix that error?
What I want to achieve is to add programmmatically a non-editable block at current cursor position
Thank you
Radek
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the documentation example and the linked jsFiddle to reproduce the `element.editor is undefined` error. Trace the attempted programmatic insertion of a non-editable block at the current cursor position, then determine the supported behavior and verify the error is resolved or the limitation is documented.
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
- 20/100