Grid Editor demos

Every page here is a working editor. They are static: served from any web server, or from GitHub Pages, with no build step. Each one runs the built files in dist/, so run npm run build after changing anything under src/.

Every gesture works with a finger as well as with a mouse — sorting, resizing a column, dragging a button off the toolbar — so these are worth opening on a phone. The editor needs SortableJS and Bootstrap 5; The editor loads grideditor.bundle.min.js instead, which is the editor and SortableJS in one file.

The editor basic.html
tinyMCE in the content areas, the drawer as the drag handle, and the bundled build
Plugins of your own custom-plugins.html
Two plugins written in the page itself: a container, and a drawer tool that opens a modal and saves its settings on the node as an attribute
The source in CodeMirror codemirror.html
The source button's html in a code editor, and edit_source to leave the button out
Text editors text-editors.html
TinyMCE, CKEditor 5, summernote and one written in the page as a plugin, on the textTypes hook: one at a time or all together
Containers containers.html
Tabs, accordions, popups, offcanvases and cards, two levels deep, and the export opened as a real page
Elements elements.html
Element level controls, including an element with no visual output
Columns and breakpoints columns.html
The six breakpoints and the “all sizes” view, equal and auto columns, columns per row, and Bootstrap’s containers as sections
Style and responsive utilities style.html
Inline css by section with Bootstrap’s classes as chips, and display, flex, order, alignment, gutters, spacing, text alignment and float per breakpoint
Languages locale.html
The interface in Spanish, with a language switcher
Copy and paste clipboard.html
Copying a row, a column or a container and pasting it somewhere else, in this editor or another
Undo and redo history.html
The history plugin: Ctrl+Z and Ctrl+Y, and buttons on the toolbar, over what the editor changes
Wrapped content wrap_content.html
Markup that was never a bootstrap grid, wrapped into one
Autosave autosave.html
The autosave plugin: drafts kept as the user edits and offered back after a reload, with import and export
Playground playground.html
Every plugin on one canvas, with the settings above it to turn things on and off, the options as code, and the events as they fire
The jQuery API adapter.html
A page written for grid-editor 6, running unchanged through grideditor.jquery.js

README · Writing a plugin · Events · Source