We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent af42f0d commit 38198e3Copy full SHA for 38198e3
src/live-preview.ts
@@ -123,7 +123,10 @@ function selectionAndRangeOverlap(
123
124
function inlineRender(view: EditorView) {
125
// still doesn't work as expected for tables and callouts
126
-
+ if (!view.state.field(editorLivePreviewField)) {
127
+ this.decorations = Decoration.none;
128
+ return;
129
+ }
130
const currentFile = app.workspace.getActiveFile();
131
if (!currentFile) return;
132
0 commit comments