attuladzan/gravity-editor-bundle
MarkdownEditorType for Symfony forms, replacing or extending standard textareas.gravity_markdown_editor function for inline usage, reducing boilerplate.MarkdownEditorField with optional preview support (requires twig/extra-bundle), enabling rich editing in CRUD interfaces.allow_html, language) and plugin toggles, reducing runtime overhead.npm install && npm run build). Risk of build failures if Node.js tooling is misconfigured or outdated.@diplodoc/*) and may introduce compatibility issues with existing frontend stacks.MarkdownEditorField requires EasyAdmin 5, limiting use in non-EasyAdmin projects.@diplodoc/* dependencies acceptable?lang config handle other locales?tiptap with custom builds) or a hosted solution (e.g., TinyMCE).MarkdownEditorType/MarkdownEditorField.npm install && npm run build) and Twig function rendering.MarkdownEditorType in Symfony forms.gravity_markdown_editor.CrudController with the form theme and MarkdownEditorField.twig/extra-bundle for previews.composer require attuladzan/gravity-editor-bundle.bundles.php and YAML config.php bin/console attuladzan:markdown-editor:install-assets --build.allow_html, lang) and plugins in config/packages/attuladzan_markdown_editor.yaml.php bin/console cache:clear.MarkdownEditorType into Symfony forms.gravity_markdown_editor.CrudController.@gravity-ui/markdown-editor and @diplodoc/* plugins for breaking changes.npm install && npm run build.--symlink flag) for faster iteration.data-turbo-track="reload" in Symfony UX Turbo).| Failure Scenario | Impact | Mitigation |
|---|---|---|
| Node.js/npm build failure | Broken assets, editor non-functional | Use Docker with Node.js pre-installed; document build steps. |
| Plugin compatibility issues | Editor crashes or renders incorrectly | Test plugins in isolation; disable problematic plugins. |
| Symfony version mismatch | Bundle fails to load | Pin Symfony version in composer.json; test upgrades early. |
| EasyAdmin integration issues | Field not rendering in CRUD | Verify form theme is added to CrudController. |
| Database schema mismatch | Stored Markdown/HTML breaks rendering | Validate content migration paths (e.g., sanitize HTML if allow_html changes). |
| Browser incompatibility | Editor non-functional in legacy browsers | Polyfill or provide a fallback textarea. |
How can I help you explore Laravel packages today?