mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/CodeMirror
synced 2024-11-23 22:03:28 +00:00
b70413441e
Since <nowiki> and <pre> ignore wikitext, the CM5 implementation cleverly leveraged the tagModes system so that only HTML entities are processed. We're effectively doing the same here, only we don't need to register them as proper TagModes. A FIXME is left to remove the entries from extension.json after the CM6 upgrade is complete. Note that line-level styling is still missing, see T351686#9431669. As a result, multi-line content in a <nowiki> or <pre> may emit JS warnings, but this is expected until T351686 is resolved. Bug: T348684 Change-Id: Ia834c4609faf38af3c8f6b791544a7441b5cfb0a |
||
---|---|---|
.. | ||
.eslintrc.json | ||
codemirror.mode.mediawiki.test.js | ||
codemirror.test.js | ||
codemirror.wikieditor.test.js | ||
setup.js |