fix: table prompt in French, tab title shows filename
"Nombre de colonnes/lignes" prompts. Tab title now shows "Title - ObsiGate Forge" when file loaded, "ObsiGate Forge - Demo" in demo mode.
This commit is contained in:
@@ -458,6 +458,7 @@ body { font-family: var(--sans); background: var(--bg); color: var(--text); heig
|
||||
// Demo mode
|
||||
ta.value = '# Demo Document\n\nType **/** for commands. Select text for formatting.\n\n## Features\n\n- Slash commands: type / at start of line\n- Bubble menu: select text\n- AI actions: use the sparkle button or slash /ai\n- Preview: click the eye button\n';
|
||||
statFile.textContent = 'Demo mode';
|
||||
document.title = 'ObsiGate Forge — Demo';
|
||||
originalContent = ta.value;
|
||||
updateStats();
|
||||
schedulePreview();
|
||||
@@ -478,6 +479,7 @@ body { font-family: var(--sans); background: var(--bg); color: var(--text); heig
|
||||
if (m) title = m[1];
|
||||
document.getElementById('poc-title').value = title;
|
||||
statFile.textContent = fileVault + '/' + filePath;
|
||||
document.title = title + ' — ObsiGate Forge';
|
||||
updateStats();
|
||||
schedulePreview();
|
||||
})
|
||||
@@ -736,8 +738,8 @@ body { font-family: var(--sans); background: var(--bg); color: var(--text); heig
|
||||
}
|
||||
// Table: prompt for dimensions
|
||||
if (action === 'table') {
|
||||
var cols = parseInt(prompt('Number of columns?', '3'));
|
||||
var rows = parseInt(prompt('Number of rows?', '3'));
|
||||
var cols = parseInt(prompt('Nombre de colonnes ?', '3'));
|
||||
var rows = parseInt(prompt('Nombre de lignes ?', '3'));
|
||||
if (!cols || !rows || cols < 1 || rows < 1) { ta.focus(); return; }
|
||||
var hdr = '|'; var sep = '|';
|
||||
for (var c = 1; c <= cols; c++) { hdr += ' Col ' + c + ' |'; sep += '-------|'; }
|
||||
|
||||
Reference in New Issue
Block a user