Page MenuHomePhabricator

[Engineering EPIC]: Isolate Section Editing
Open, Needs TriagePublic


Our first pass plan of approach:

  1. Load the full document into a DOM
  2. Unwrap all parsoid-generated section tags except the requested one from the URL parameter
  3. Convert the full document into the VE data model
  4. Build VE view tree for the selected DM node object

Current assumptions:

  • We want to focus on sections as currently defined by Parsoid (not paragraphs/sentences as sections)
  • The "selection" (document model node) loaded will be a single node rather than a group of siblings

Limitations of approach:

  • Changing from one node to another will be more difficult

Benefits of approach:

  • Don’t have to deal with potential corruption of the document tree hierarchy
  • Avoid the addition of unwanted section tags

Event Timeline

DannyH renamed this task from [Engineering Epic] Wayfinding Isolate Section Editing to [Engineering Epic] Isolate Section Editing.Nov 28 2018, 4:41 PM
DannyH renamed this task from [Engineering Epic] Isolate Section Editing to [Engineering EPIC] Isolate Section Editing.
DannyH renamed this task from [Engineering EPIC] Isolate Section Editing to [Engineering EPIC]: Isolate Section Editing.Nov 28 2018, 5:03 PM

See also T215717 (which is a related optimization task, but not a blocking subtask)

Removing task assignee due to inactivity, as this open task has been assigned for more than two years (see emails sent to assignee on May26 and Jun17, and T270544). Please assign this task to yourself again if you still realistically [plan to] work on this task - it would be very welcome!

(See for tips how to best manage your individual work in Phabricator.)