update: better-word-count plugin

This commit is contained in:
Mathis Gauthey
2024-01-04 10:33:34 +01:00
parent 4d6b28c490
commit 9cfdb9d117
3 changed files with 308 additions and 40 deletions

File diff suppressed because one or more lines are too long

View File

@@ -1,7 +1,7 @@
{
"id": "better-word-count",
"name": "Better Word Count",
"version": "0.9.6",
"version": "0.10.0",
"description": "Counts the words of selected text in the editor.",
"author": "Luke Leppan",
"authorUrl": "https://lukeleppan.com",

View File

@@ -19,3 +19,19 @@ details.bwc-sb-item-setting {
.bwc-status-bar-settings-title {
margin-bottom: 0px;
}
.bwc-section-count {
background: var(--background-secondary);
border-radius: var(--tag-radius);
color: var(--text-muted);
content: var(--word-count);
display: inline-flex;
font-size: var(--font-ui-smaller);
font-weight: var(--font-normal);
line-height: 1;
margin: calc(-1 * var(--size-2-3)) 0 calc(-1 * var(--size-2-3)) var(--size-4-2);
padding: var(--size-2-3) var(--size-4-2);
pointer-events: none;
position: relative;
top: -3px;
}