PHPackages                             mvnobrega/nova-texteditor - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. mvnobrega/nova-texteditor

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

mvnobrega/nova-texteditor
=========================

A Laravel TextEditor Nova field.

1.0.1(6y ago)015.0k↓20%MITVuePHP &gt;=7.1.0

Since Nov 12Pushed 6y ago1 watchersCompare

[ Source](https://github.com/mvnobrega/nova-texteditor)[ Packagist](https://packagist.org/packages/mvnobrega/nova-texteditor)[ RSS](/packages/mvnobrega-nova-texteditor/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)DependenciesVersions (3)Used By (0)

Nova TextEditor
===============

[](#nova-texteditor)

Nova field wrapper around the [vue-trumbowyg](https://github.com/ankurk91/vue-trumbowyg) which is a wrapper around [trumbowyg](https://alex-d.github.io/Trumbowyg/).

Installation
------------

[](#installation)

1. `composer require mvnobrega/nova-texteditor`
2. That's it.

Usage
-----

[](#usage)

Add the following to one of your resources

Import TextEditor

`use Mobsite\TextEditor\TextEditor;`

Then call it inside the fields method of your resource.

```
    public function fields(Request $request)
    {
        return [
            ...,
            TextEditor::make('body'),
            ...
        ];
    }

```

You can also pass in an array of options to use with Trumbowyg

```
    public function fields(Request $request)
    {
        return [
            ...,
            TextEditor::make('body')

                ->withMeta(['options' => [
                    'btns' => [
                        ['viewHTML'],
                        ['justifyLeft', 'justifyCenter', 'justifyRight', 'justifyFull'],
                    ]
                ]]),
             ...
        ];
    }

```

By default, the Trumbowyg field will not display their content when viewing a resource on its detail page. It will be hidden behind a "Show Content" link, that when clicked will reveal the content. You may specify the Trumbowyg field should always display its content by calling the alwaysShow method on the field itself

```
    public function fields(Request $request)
    {
        return [
            ...,
            TextEditor::make('body')->alwaysShow(),
            ...
        ];
    }

```

By default, the Trumbowyg field will display in full width you can change this back to Nova's default (half) by using the `defaultWidth` method on the field, as shown below.

```
    public function fields(Request $request)
    {
        return [
            ...,
            TextEditor::make('body')->defaultWidth(),
            ...
        ];
    }

```

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity24

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

2

Last Release

2379d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3d343d5120f8254f2dfbbdf1c9024a0856b6fd7a60fa0d19142159935219f670?d=identicon)[mvnobrega](/maintainers/mvnobrega)

---

Top Contributors

[![mvnobrega](https://avatars.githubusercontent.com/u/8541182?v=4)](https://github.com/mvnobrega "mvnobrega (9 commits)")

---

Tags

laravelnova

### Embed Badge

![Health badge](/badges/mvnobrega-nova-texteditor/health.svg)

```
[![Health](https://phpackages.com/badges/mvnobrega-nova-texteditor/health.svg)](https://phpackages.com/packages/mvnobrega-nova-texteditor)
```

###  Alternatives

[optimistdigital/nova-multiselect-field

A multiple select field for Laravel Nova.

3403.5M7](/packages/optimistdigital-nova-multiselect-field)[digital-creative/conditional-container

Provides an easy way to conditionally show and hide fields in your Nova resources.

116593.8k4](/packages/digital-creative-conditional-container)[genealabs/laravel-overridable-model

Provide a uniform method of allowing models to be overridden in Laravel.

92398.0k2](/packages/genealabs-laravel-overridable-model)[inspheric/nova-defaultable

Default values for Nova fields when creating resources and running resource actions.

51174.8k1](/packages/inspheric-nova-defaultable)[murdercode/nova4-tinymce-editor

Boost your Laravel Nova with the TinyMCE editor.

17165.2k](/packages/murdercode-nova4-tinymce-editor)[yieldstudio/nova-google-autocomplete

A Laravel Nova Google autocomplete field.

12218.4k](/packages/yieldstudio-nova-google-autocomplete)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
