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.5k↑34.3%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 2d 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 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity54

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

2426d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/8541182?v=4)[mvnobrega](/maintainers/mvnobrega)[@mvnobrega](https://github.com/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.

3453.7M8](/packages/optimistdigital-nova-multiselect-field)[inspheric/nova-defaultable

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

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

Boost your Laravel Nova with the TinyMCE editor.

17186.3k1](/packages/murdercode-nova4-tinymce-editor)[datomatic/nova-detached-actions

A Laravel Nova tool to allow for placing actions in the Nova toolbar detached from the checkbox selection mechanism.

11273.0k](/packages/datomatic-nova-detached-actions)[wemersonrv/input-mask

A Laravel Nova custom field text with masks on input

1198.4k](/packages/wemersonrv-input-mask)

PHPackages © 2026

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