Page MenuHomePhabricator

VisualEditor: Changing language of a <syntaxhighlight /> node doesn't load styles for new language
Closed, ResolvedPublic1 Estimated Story Points

Description

Changing language of a <syntaxhighlight /> node doesn't load styles for new language.

SyntaxHighlight_GeSHi defines a module for each supported language (in the format "ext.geshi.language.$lang"), VE should ensure that the appropriate module is present. Not sure how the content is updated, but the information about required modules should be provided in the ParserOutput and by the action=parse API.


Version: unspecified
Severity: minor
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=58388

Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 3:33 AM
bzimport set Reference to bz67515.

Change 214078 had a related patch set uploaded (by Jforrester):
Add VE support for syntax highlighting

https://gerrit.wikimedia.org/r/214078

Change 214078 merged by jenkins-bot:
Add VisualEditor support

https://gerrit.wikimedia.org/r/214078