MediaWiki:Gadget-text-spacing.css
注意:在发布之后,您可能需要清除浏览器缓存才能看到所作出的更改的影响。
- Firefox或Safari:按住Shift的同时单击刷新,或按Ctrl-F5或Ctrl-R(Mac为⌘-R)
- Google Chrome:按Ctrl-Shift-R(Mac为⌘-Shift-R)
- Edge:按住Ctrl的同时单击刷新,或按Ctrl-F5。
/**!
* _____________________________________________________________________________
* | |
* | === WARNING: GLOBAL GADGET FILE === |
* | Changes to this page affect many users. |
* | Please discuss changes on the talk page or [[WP:VPT]] before editing. |
* |_____________________________________________________________________________|
*
* @author [[User:Diskdance]] <https://w.wiki/5F6e>
* @license Unlicense
*/
:root {
text-autospace: normal;
}
/* Firefox & Safari bug: https://github.com/w3c/csswg-drafts/issues/9979 */
:lang(ko),
/* Monospace (and likely monospace) elements */
code, kbd, pre, rp, rt, samp, textarea, var,
/* Elements with this class are excluded */
.gadget-nospace,
/* Editable elements */
[contenteditable="true"],
/* ACE editor content */
.ace_editor,
/* Visual Editor (and 2017 Wikitext Editor) content & diff */
.ve-ui-surface,
.ve-init-mw-diffPage-diff,
/* Diff */
.diff-context,
.diff-addedline,
.diff-deletedline,
/* Diff (inline mode) */
.mw-diff-inline-added,
.mw-diff-inline-deleted,
.mw-diff-inline-moved,
.mw-diff-inline-changed,
.mw-diff-inline-context {
text-autospace: no-autospace;
}