mirror of
https://github.com/jparkerweb/plan2code.git
synced 2026-11-17 04:45:33 -08:00
Sync upstream web console updates into v2.5.1: six new starter templates (19 in all) rewritten as Markdown sections with revised content, picking a template selects its first [blank], and a real helper report now removes the "working alone" marker instead of being hidden by it
AI Assisted
This commit is contained in:
1 parent
c16bc81ff2
commit
482e97a090
117 files changed
+4011
-1162
No files matched your search
@@ -4345,8 +4345,11 @@ function templateRow(item, input, entries, check) {
|
||||
save();
|
||||
paint();
|
||||
input.focus();
|
||||
const start = text.indexOf("[");
|
||||
const end = start < 0 ? -1 : text.indexOf("]", start);
|
||||
try {
|
||||
input.setSelectionRange(text.length, text.length);
|
||||
if (end > start) input.setSelectionRange(start, end + 1);
|
||||
else input.setSelectionRange(text.length, text.length);
|
||||
} catch {}
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user