grav-plugin-add-page-by-form
grav-plugin-add-page-by-form copied to clipboard
Textarea does not use SimpleMDE when option is enabled
Hello, On a fresh install of Grav + Admin Panel, I installed this plugin and made sure the "Use the editor class" is enabled. I then copied the Example 2 YAML in the readme.md to the header of a new page.
After saving and navigating to the newly created form page, I clicked in the textarea but was not shown an editor.
Opening a developer tools I can see that the textarea does have the class "form-input editor long". However, it still does not become a simpleMDE editor.
- OS: Rocky Linux 8.6/8.8
- PHP Version: 8.0.27
- Grav Version: 1.7.43
- Plugin version: 3.3
- Using apache
This is clearly a bug. It will be fixed in the next release.
In the meantime to get the editor included, you can rename the form into: 'addpage.blogpost' so without the underscore.
Thank you for the response! Renaming the form works for now.