mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/CodeMirror
synced 2024-12-13 22:49:19 +00:00
293a15725d
New pages do not have body content yet, so the LTR check added with If3825d6e54 failed. This commit adds the document root (<html> element) as the fallback, so CodeMirror can be used on new pages. This is just a quick fix. CM6 for VE 2017 wikitext editor is almost done, and that will come with RTL support (T357482). Bug: T366201 Bug: T363752 Follow-Up: If3825d6e5467d2bcff2d83e838081bf041243920 Change-Id: I9d4a4b817ac2462396c159ceae6f1510c0fae64d |
||
---|---|---|
.. | ||
.eslintrc.json | ||
ve.ui.CodeMirror.less | ||
ve.ui.CodeMirrorAction.js | ||
ve.ui.CodeMirrorTool.js |