This commit is contained in:
kunalja 2025-06-08 05:00:02 -04:00
parent db39844372
commit e21e2279fd

View file

@ -354,6 +354,15 @@ export default class VariantEditor extends Plugin {
new Notice('Editing existing variant');
}
// Set active line for dimming
this.activeLine = from.line + 1;
// Store the selected text for highlighting
this.selectedText = selectedText;
// Force editor refresh to apply decorations
this.app.workspace.updateOptions();
// Open the variant editor modal
new TextInputModal(
this.app,