Rule-governed text editor

Write freely.
Enforce rules when needed.

NGTextEditor prevents formatting drift, dirty copy-paste and inconsistent content. Declarative JSON configuration.

Protect your content, not just its format.

2

files

JSON

config

100%

control
NGTextEditor - Write freely.Enforce rules when needed.

Classic editors

  • Unpredictable and hard-to-maintain HTML
  • Copy-paste that breaks the layout
  • Users bypassing brand guidelines

NGTextEditor

  • Rules applied in real-time
  • Automatic cleanup on paste
  • Site colors auto-detected

An editor built for control

All the features of a modern editor, with governance built in.

Configurable rules

Define what's allowed or forbidden via a simple JSON file. The editor enforces your rules automatically.

Smart palette

Auto-detection of your site's colors. Enforce your brand guidelines effortlessly.

Advanced tables

Complete table creation and editing. Cell merging, column styles, customizable borders.

Clean paste

Automatic cleanup of content pasted from Word, Google Docs or the web. No more dirty HTML.

Predictable HTML

Clean and consistent generated code. Usable on frontend and API without surprises.

Guaranteed reliability

Complete unit and functional tests. A stable and maintainable tool for your critical projects.

Integration in 3 steps

Simple to install, powerful to configure.

1
Import the files

One CSS, one JS. No external dependencies.

2
Add the class

'ngeditor' class on your textarea.

3
Configure the rules

Optional JSON file to lock behavior.

You're ready!

The editor respects your rules automatically.

<!-- Import the files -->
<link rel="stylesheet" href="NGTextEditor.min.css">
<script src="NGTextEditor.min.js"></script>
&lt;!-- Add the class to your textarea --&gt;
<textarea class="ngeditor"
          data-ngte-config="/config/mon-editeur.json"></textarea>

Take back control of your content

Try NGTextEditor and discover an editor that enforces your rules.

Good tools give power. The best tools prevent mistakes.