Last modified: 2013-04-16 16:56:11 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T48619, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 46619 - VisualEditor: Allow nodes to handle their own children
VisualEditor: Allow nodes to handle their own children
Status: RESOLVED FIXED
Product: VisualEditor
Classification: Unclassified
Data Model (Other open bugs)
unspecified
All All
: Unprioritized normal
: VE-deploy-2013-04-15
Assigned To: Roan Kattouw
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-03-28 01:18 UTC by Roan Kattouw
Modified: 2013-04-16 16:56 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Roan Kattouw 2013-03-28 01:18:19 UTC
DM nodes should be able to handle their own children, rather than having the converter do it for them.

This means we need a .static.handlesOwnChildren flag or something similar, and a way for .toDataElement to recursively invoke the converter to convert a sub-DOM to a sub-linmod.

Reflecting this, CE nodes should be able to take control of the rendering of their children as well.
Comment 1 Roan Kattouw 2013-04-16 16:45:02 UTC
Done in https://gerrit.wikimedia.org/r/#/c/58645/ and related commits.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links