[{"data":1,"prerenderedAt":147},["ShallowReactive",2],{"quirekit-doc:\u002Fen\u002Fguide\u002Fprosemirror":3},{"id":4,"title":5,"body":6,"description":135,"extension":136,"keywords":137,"locale":138,"meta":139,"navigation":140,"order":141,"path":142,"section":143,"seo":144,"stem":145,"__hash__":146},"docs\u002Fguide\u002Fprosemirror.en.md","The ProseMirror relationship",{"type":7,"value":8,"toc":129},"minimark",[9,13,18,100,107,111,126],[10,11,12],"p",{},"Core builds on ProseMirror documents, State, Transaction, Step, Plugin and history semantics. Extensions compose schemas, commands and plugins into one editor, without a second document authority.",[14,15,17],"h2",{"id":16},"import-map","Import map",[19,20,21,34],"table",{},[22,23,24],"thead",{},[25,26,27,31],"tr",{},[28,29,30],"th",{},"Original package",[28,32,33],{},"QuireKit package",[35,36,37,51,63,75,87],"tbody",{},[25,38,39,46],{},[40,41,42],"td",{},[43,44,45],"code",{},"prosemirror-model",[40,47,48],{},[43,49,50],{},"@quirekit\u002Fpm-model",[25,52,53,58],{},[40,54,55],{},[43,56,57],{},"prosemirror-state",[40,59,60],{},[43,61,62],{},"@quirekit\u002Fpm-state",[25,64,65,70],{},[40,66,67],{},[43,68,69],{},"prosemirror-transform",[40,71,72],{},[43,73,74],{},"@quirekit\u002Fpm-transform",[25,76,77,82],{},[40,78,79],{},[43,80,81],{},"prosemirror-history",[40,83,84],{},[43,85,86],{},"@quirekit\u002Fpm-history",[25,88,89,94],{},[40,90,91],{},[43,92,93],{},"prosemirror-view",[40,95,96,99],{},[43,97,98],{},"@quirekit\u002Fpm-view"," (native DOM)",[10,101,102,103,106],{},"Common DOM-free interfaces are also exported by ",[43,104,105],{},"@quirekit\u002Fpm",". Native DOM View remains separate; Canvas\u002FSVG do not consume DOM layout results.",[14,108,110],{"id":109},"when-to-use-pm-directly","When to use PM directly",[10,112,113,114,117,118,121,122,125],{},"Use public PM types for complex commands, step mapping and state plugins. Expose user-facing operations through ",[43,115,116],{},"editor.commands",", ",[43,119,120],{},"chain()"," and ",[43,123,124],{},"can()"," so controls and plugins use the same mutation path.",[10,127,128],{},"Do not mix two PM runtimes in one editor. Node, Selection and Plugin identities can differ across copies; review transitive dependencies when migrating extensions.",{"title":130,"searchDepth":131,"depth":131,"links":132},"",2,[133,134],{"id":16,"depth":131,"text":17},{"id":109,"depth":131,"text":110},"Documents, transactions and plugins share one runtime identity.","md",null,"en",{},true,3,"\u002Fen\u002Fguide\u002Fprosemirror","Getting started",{"title":5,"description":135},"guide\u002Fprosemirror.en","wUsGC4SBXcaoDfTxqWmfxN2ETpSjOeMgDnddMB3hVJk",1793045210139]