Topic on Talk:VisualEditor/Design/Software overview

Jdforrester (WMF) (talkcontribs)

Our plan for coping with meta-nodes (i.e., non-positional nodes that make page-level changes, but which nevertheless can appear anywhere in the document):

We will have a Meta Linear Model:

  • (ve.dm.Document).meta=[];
  • Transactions & processing
  • Sparsely-indexed array correlating to offsets in the data array
  • Offsets are maintained with splice; insertion splices into meta array with undefined; deletions splice out meta array data and leave meta elements in place.
Reply to "Coping with meta-nodes"