HomePluginsToolsWorkflowAboutContact
GetSet

Premium UI/UX layout engines, customizable micro-interaction plugins, and high-performance components for modern web developers.

Plugins

  • Carousel
  • Select
  • Zoom
  • FlexoGrid
  • Sortable
  • Modal
  • Drawer
  • Tooltip
  • Popover
  • Toast
  • ContextMenu
  • Tabs
  • Accordion
  • Reveal
  • Autocomplete
  • Tags
  • Range
  • DatePicker
  • Upload
  • Cropper
  • Table
  • Tree
  • Editor

Company

  • Home
  • Plugins
  • Developer Tools
  • Showcase
  • Our Process
  • About Us
  • Contact

Policies

  • Terms and Conditions
  • Privacy Policy
  • Accessibility Policy
  • Cookie Policy

© 2026 GetSet. All rights reserved.

Crafted for frontend excellence.

Your Bundle

Your bundle is empty

Add plugins from the catalog to build one combined CDN link — like picking font families.

Browse plugins
Forms Plugin

GS Editor

Model-based rich-text editor — a CKEditor alternative with no execCommand. A schema-validated document model is the source of truth, so undo/redo is exact and serialized HTML is always clean. Marks, font family/size, color/highlight, headings, lists & to-dos, alignment, line height, case change; a rich link tool (Web/Email/Phone/Anchor + autolink + preview balloon), block & inline images (width/height/fit, align, server upload), model-based find & replace, special characters, VS-Code source view, fullscreen and resizable.

Latest: v1.0.1
Downloads last month: 198
Visit Demo Website

Install Package

npm i @get-set/gs-editor
or via CDN
<link rel="stylesheet" href="https://cdn.get-set.it/gs-editor/latest/gs-editor.min.css">
<script src="https://cdn.get-set.it/gs-editor/latest/gs-editor.min.js"></script>
Interactive Playground

Live Sandbox

Editor.jsx
1
2
3
4
5
6
7
8
9
import Editor from '@get-set/gs-editor';

export default function App() {
  return (
    <Editor>
      <div className="content">Your Editor content</div>
    </Editor>
  );
}
Live Preview

Options

Configuration Values

Reference?Stable instance key. Auto-generated when omitted.
Value?Initial content as an HTML string.
Placeholder?Placeholder shown while the document is empty.
Toolbar?Toolbar on/off, a named preset ('minimal' | 'basic' | 'standard' | 'full'), or an explicit ordered list of item ids ('|' = separator).
Toolbar Position?Where the toolbar sits relative to the editing area.
Source Editor?Source (HTML) view editor: 'basic' (built-in, lightweight) or 'monaco' (lazy-loads the VS Code engine from a CDN for full IntelliSense).
Max Length?Hard limit on the number of characters (plain-text length).
Min Height?Minimum editor height in px.
Max Height?Maximum editor height in px before it scrolls.
Theme?Visual theme. 'auto' follows prefers-color-scheme.
Variant?Surface style.
Accent Color?Accent color (any CSS color) used for links, focus and toolbar highlights.

Feature Flags

API Specifications

OptionTypeDefaultDescription
referencestringnoneStable instance key. Auto-generated when omitted.
valuestring''Initial content as an HTML string.
jsonEditorDocnoneInitial content as a GSEditor JSON document (takes precedence over `value`).
placeholderstring'Start writing…'Placeholder shown while the document is empty.
readonlybooleanfalseDisable editing; render as static, selectable content.
autofocusbooleanfalseAutofocus the editor on mount.
spellcheckbooleantrueSpellcheck attribute on the editing surface.
rtlbooleanfalseRight-to-left writing mode.
toolbarboolean | 'minimal' | 'basic' | 'standard' | 'full' | GSEditorToolbarItem[]trueToolbar on/off, a named preset ('minimal' | 'basic' | 'standard' | 'full'), or an explicit ordered list of item ids ('|' = separator).
toolbarPositionGSEditorToolbarPosition'top'Where the toolbar sits relative to the editing area.
bubbleToolbarbooleanfalseShow a floating bubble toolbar over the current text selection.
sourceEditor'basic' | 'monaco''basic'Source (HTML) view editor: 'basic' (built-in, lightweight) or 'monaco' (lazy-loads the VS Code engine from a CDN for full IntelliSense).
footerbooleannoneShow the word/character-count footer (default true).
resizablebooleannoneLet the user drag the editor's bottom edge to resize its height (default false).
inputRulesbooleantrueEnable markdown-style autoformat input rules ("## ", "- ", "**x**", …).
keymapbooleantrueEnable the built-in keyboard shortcuts (Mod-b, Mod-z, Enter, Tab, …).
maxLengthnumber0Hard limit on the number of characters (plain-text length). 0 = unlimited.
minHeightnumber160Minimum editor height in px.
maxHeightnumber0Maximum editor height in px before it scrolls. 0 = grow unbounded.
themeGSEditorTheme'auto'Visual theme. 'auto' follows prefers-color-scheme.
variantGSEditorVariant'outlined'Surface style.
accentColorstring'#2563eb'Accent color (any CSS color) used for links, focus and toolbar highlights.

Technical Features

No execCommand

Deterministic transactions, not buggy DOM edits.

Clean Serialization

Model is truth → always well-formed HTML + JSON.

Rich Link & Images

Link balloon + typed modal; block/inline images with fit & upload.

Find & Replace

Model-based (match case / whole word) — never corrupts markup.