Skip to content

Commit

Permalink
fix(MediaWiki:Gadget-wikieditor-highlight.js): missing style
Browse files Browse the repository at this point in the history
Borrowed from MW:Extension:CodeMirror
  • Loading branch information
bhsd-harry authored Jan 18, 2024
1 parent b4a4301 commit c1ca0d1
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
if (!["edit", "submit"].includes(mw.config.get("wgAction")) || mw.config.get("wgPageContentModel") !== "wikitext") {
return;
}
mw.loader.addStyleTag(".wikiEditor-ui-toolbar{z-index:7}");
await $.ready;

const localObjectStorage = new LocalObjectStorage("wikieditor-highlight");
Expand Down

0 comments on commit c1ca0d1

Please sign in to comment.