Comments (4)
Can reproduce, thanks for the report!
from templater.
It seems that <% tp.file.cursor() %>
doesn't work in tables at all with the table update. I can manually type in a cursor and run the Jump to next cursor location
command, and the template code will disappear but my cursor will not be in the table cell. If I try to type, nothing happens, my cursor is no longer in the editor.
I can add a line so the cursor executes, but it doesn't execute correctly, as explained above. Noting the change I made here.
async append_template_to_active_file(template_file: TFile): Promise<void> {
// ...
const editor = active_editor.editor;
const doc = editor.getDoc();
const oldSelections = doc.listSelections();
doc.replaceSelection(output_content);
await delay(1); // added this line so cursor jumper logic finds cursor to jump to
// ...
}
from templater.
Also not working for me after updating Obsidian to 1.5.3 and Templater to 2.0.0. I have no tables to deal with, but have to trigger the jump manually. EDIT: Forgot to add that the cursor jump is triggered correctly when I have it as a step in a QuickAdd macro. I hope that helps and doesn't complicate troubleshooting.
from templater.
I'm also having this issue. I cannot jump out of tables using the cursor. It is quite annoying as my meeting template has several details recorded in table form.
from templater.
Related Issues (20)
- Incorrect date calculation HOT 1
- Plugin fails to load on Android HOT 1
- Syntax Highlighting feature breaks the default Obsidian code embed, if the embedded code includes '<%' HOT 1
- Request for adding Chinese language support to Templater templates HOT 1
- [Feature request] Automatic templates ignore files setting
- Folder template (checkbox - include subfolders)
- Create new file from template HOT 2
- tp.date.now returns incorrect time. HOT 2
- Add native AI support HOT 2
- Add `<%*` tag to documentation HOT 1
- Templater script inserting newline before front matter HOT 3
- Don't Include Frontmatter in Output HOT 2
- Folder Notes take priority when creating file HOT 7
- Expand metadata in space - Geolocation coords support request HOT 3
- Console error: app.js:1 No file creator assigned to create file with extension com. Falling back to markdown file creator. HOT 1
- Error: Failed to List Templates, No Template Folder Configured HOT 8
- Execution of the tp.file.selection() function erase the selection in the note HOT 2
- Add note about modified date to the FAQs / docs
- front matter formating number as a string HOT 1
- main.js missing HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from templater.