mirror of
https://github.com/kotaindah55/extended-markdown-syntax.git
synced 2026-07-22 05:38:06 +00:00
Disable drawSelection and css cursor animation
This commit is contained in:
parent
2a46099e8e
commit
454cef8040
2 changed files with 4 additions and 4 deletions
4
main.ts
4
main.ts
|
|
@ -1,5 +1,5 @@
|
|||
import { Plugin } from "obsidian";
|
||||
import { drawSelection } from "@codemirror/view";
|
||||
// import { drawSelection } from "@codemirror/view";
|
||||
import { extendedFormattingPlugin, customHighlightPlugin, alignerPlugin } from "./src/editorPlugins";
|
||||
import { customHighlightField, extendedFormattingField } from "./src/editorPlugins/stateFields";
|
||||
import { ExtendedFormattingPostProcessor, CustomHighlightPostProcessor, AlignerPostProcessor } from "./src/postProcessor";
|
||||
|
|
@ -20,7 +20,7 @@ export default class ExtendedMarkdownSyntax extends Plugin {
|
|||
extendedFormattingPlugin,
|
||||
customHighlightPlugin,
|
||||
alignerPlugin,
|
||||
drawSelection()
|
||||
// drawSelection()
|
||||
]);
|
||||
|
||||
// postprocessor
|
||||
|
|
|
|||
|
|
@ -25,14 +25,14 @@
|
|||
font-size: var(--font-smallest);
|
||||
}
|
||||
|
||||
.cm-selectionBackground {
|
||||
/* .cm-selectionBackground {
|
||||
transition-duration: 0.1s;
|
||||
transition-property: left, width;
|
||||
}
|
||||
.cm-s-obsidian .cm-cursor {
|
||||
transition-property: left, top;
|
||||
transition-duration: 0.1s;
|
||||
}
|
||||
} */
|
||||
|
||||
.cm-s-obsidian span.cm-highlight:has(.cmx-highlight) {
|
||||
background-color: transparent;
|
||||
|
|
|
|||
Loading…
Reference in a new issue