Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Gravity Editor Bundle Laravel Package

attuladzan/gravity-editor-bundle

View on GitHub
Deep Wiki
Context7

Gravity UI Markdown Editor Bundle

Symfony integration for [@gravity-ui/markdown-editor](https://github.com/gravity-ui/markdown-editor).

Features

  • Forms: MarkdownEditorType form type
  • Twig: gravity_markdown_editor() function
  • EasyAdmin 5: MarkdownEditorField (when easycorp/easyadmin-bundle is installed)
  • JS build: Editor loaded from bundled assets (Vite build)
  • YAML config: Editor options via bundle configuration

Installation

composer require attuladzan/gravity-editor-bundle

Build assets and install:

cd vendor/attuladzan/gravity-editor-bundle && npm install && npm run build
php bin/console assets:install

Configuration

# config/packages/attuladzan_markdown_editor.yaml
attuladzan_markdown_editor:
    editor:
        allow_html: false
        sticky_toolbar: true
        autofocus: false
        lang: en

Usage

Form Type

use Attuladzan\MarkdownEditorBundle\Form\MarkdownEditorType;

$builder->add('content', MarkdownEditorType::class);

Twig

{{ gravity_markdown_editor({ name: 'content', value: content }) }}

EasyAdmin 5

use Attuladzan\MarkdownEditorBundle\EasyAdmin\Field\MarkdownEditorField;

yield MarkdownEditorField::new('content');

Requires: composer require easycorp/easyadmin-bundle and optionally twig/extra-bundle for markdown preview in index/detail.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
cocosmos/filament-sticky-save-bar
patrickbussmann/oauth2-apple
3brs/enterprise-security-bundle
anousss007/vigilance
supportpal/eloquent-model
ardenexal/fhir-models
laravel-at/laravel-image-sanitize
romalytar/yammi-audit-log-laravel
ardenexal/fhir-validation
arshaviras/weather-widget
laravel-chronicle/core
sunchayn/nimbus
daikazu/eloquent-salesforce-objects
unseen-codes/chat
romalytar/yammi-jobs-monitoring-laravel
kisame76/filament-db-table-state
nqxcode/laravel-lucene-search
dpfx/laravel-livewire-wizards
workos/workos-php-laravel
sofa/laravel-global-scope