Last modified: 2014-09-25 01:45:46 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 T64803, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 62803 - VisualEditor: Extract red link API code from VE and put into Parsoid
VisualEditor: Extract red link API code from VE and put into Parsoid
Status: ASSIGNED
Product: VisualEditor
Classification: Unclassified
Technical Debt (Other open bugs)
unspecified
All All
: Normal enhancement
: ---
Assigned To: Editing team bugs – take if you're interested!
:
Depends on: 37901
Blocks: 37902
  Show dependency treegraph
 
Reported: 2014-03-18 21:53 UTC by James Forrester
Modified: 2014-09-25 01:45 UTC (History)
6 users (show)

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


Attachments

Description James Forrester 2014-03-18 21:53:41 UTC
Duplicated logic is bad.
Comment 1 James Forrester 2014-09-24 21:27:45 UTC
(In Parsoid or whatever; the point is, this code should be re-useable by Flow, OCG and anyone else rather than buried inside VE.)
Comment 2 Gabriel Wicke 2014-09-25 01:29:48 UTC
For static pages we should be able to do this with CSS retrieved from an API. We'll provide this API for normal pages.

For dynamic hints during editing we'd still need to inject styles dynamically. The latter would probably remain VE-specific.
Comment 3 James Forrester 2014-09-25 01:45:46 UTC
(In reply to Gabriel Wicke from comment #2)
> For static pages we should be able to do this with CSS retrieved from an
> API. We'll provide this API for normal pages.

*nods*


> For dynamic hints during editing we'd still need to inject styles
> dynamically. The latter would probably remain VE-specific.

Yeah, but Flow/etc. may want to style too.

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


Navigation
Links