Page MenuHomePhabricator

VisualEditor: Provide a clean interface for rendering detached CE nodes
Open, NormalPublic

Description

In ve.ce.MWTreferenceListNode we do something quite evil, which is creating a one-off CE node, adding it's $element to the DOM, then destroying it. This happens to work because destroy doesn't abort async rendering processes, but in the future this may change. It's also quite messy to do things this way, and all we really need is a simple way to get a rendering from a model.


Version: unspecified
Severity: enhancement

Details

Reference
bz62682