Last modified: 2014-03-15 00:20:20 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 T64682, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 62682 - VisualEditor: Provide a clean interface for rendering detached CE nodes
VisualEditor: Provide a clean interface for rendering detached CE nodes
Status: ASSIGNED
Product: VisualEditor
Classification: Unclassified
Technical Debt (Other open bugs)
unspecified
All All
: High enhancement
: ---
Assigned To: Editing team bugs – take if you're interested!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-03-15 00:19 UTC by Trevor Parscal
Modified: 2014-03-15 00:20 UTC (History)
5 users (show)

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


Attachments

Description Trevor Parscal 2014-03-15 00:19:36 UTC
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.

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


Navigation
Links