ProseMirror's document model https://prosemirror.net
Find a file
Nick the Sick 0dc1c23bf9 Fix variable shadowing in checkAttrs error message (#96)
There was some variable shadowing that was causing the error message to be not be helpful. This does a minor rename so that we can have both `name` & `attr`, so the error messages are useful

FIX: Fix bad exception message caused by a shadowed variable.

Reviewed-on: #96
2026-05-18 14:19:38 +02:00
src Fix variable shadowing in checkAttrs error message (#96) 2026-05-18 14:19:38 +02:00
test Fix renderSpec failing to recognize DOM element and {dom, contentDOM} specs (#95) 2026-05-18 13:44:15 +02:00
.gitignore Port code to TypeScript 2022-05-20 13:42:49 +02:00
.npmignore Add .npmignore file 2016-09-21 16:05:04 +02:00
.npmrc Add an .npmrc that turns off lock files 2021-10-15 09:25:55 +02:00
.tern-project Add boilerplate files 2016-09-04 23:47:08 +02:00
CHANGELOG.md Mark version 1.25.7 2026-05-18 13:44:45 +02:00
CONTRIBUTING.md Fix references to master branch 2026-04-01 18:21:45 +02:00
LICENSE Update maintainer email 2023-01-24 08:24:18 +01:00
package.json Mark version 1.25.7 2026-05-18 13:44:45 +02:00
README.md Fix leftover github ref 2026-04-01 20:37:47 +02:00

prosemirror-model

[ WEBSITE | ISSUES | FORUM | CHANGELOG ]

This is a core module of ProseMirror. ProseMirror is a well-behaved rich semantic content editor based on contentEditable, with support for collaborative editing and custom document schemas.

This module implements ProseMirror's document model, along with the mechanisms needed to support schemas.

The project page has more information, a number of examples and the documentation.

This code is released under an MIT license. There's a forum for general discussion and support requests, and the bug tracker is the place to report issues.

We aim to be an inclusive, welcoming community. To make that explicit, we have a code of conduct that applies to communication around the project.