Voyager: Mark down editor does not work on the edit form

Created on 24 Sep 2017  路  4Comments  路  Source: the-control-group/voyager

  • Laravel Version: 5.5
  • Voyager Version: 1.0.0
  • PHP Version:7.1
  • Database Driver & Version: 5.1

Description:

The markdown editor is not working on the edit form, it shows only a Textarea field.

Steps To Reproduce:

  1. Create a bread.
  2. Set a field as Markdown.
  3. Browse the bread and create a new registry, see that the markdown editor is shown.
  4. Then, edit the registry and see that the markdown editor is not shown.
bug help wanted

Most helpful comment

Do you have any errors in the console ?
I had an error "Cannot read property 'addClass' of undefined" due to the created_at input. I remove this field from the edit view (in BREAD configuration) and the Markdown editor is shown now.

All 4 comments

I have the exact same problem!

Do you have any errors in the console ?
I had an error "Cannot read property 'addClass' of undefined" due to the created_at input. I remove this field from the edit view (in BREAD configuration) and the Markdown editor is shown now.

I can confirm this is an issue, but only for the posts table since that has a custom view.

This issue has been automatically locked since there has not been any recent activity after it was closed. If you have further questions please ask in our Slack group.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

duongsieu picture duongsieu  路  3Comments

TXRRNT picture TXRRNT  路  3Comments

rayqiri picture rayqiri  路  3Comments

iwasherefirst2 picture iwasherefirst2  路  3Comments

winex01 picture winex01  路  3Comments