Comments (3)
I would say this is expected. when you click enter, Roam's textarea it still focused. However, when you click, it blurs the input, which Roam then uses to replace the textarea with a div.
What trouble is this causing?
from smartblocks.
I am trying to get the block-id of the point where xx
is triggered or the point where smartblock button is clicked. The existing code from 42SmartBlock behaves differently and returns non null result. It gives the block-id of the point of trigger. Whereas in Smartblock v2, it starts from a line below and returns null.
I am just trying to port the old code and its breaking. All I would want is the block-id of the point of trigger.
from smartblocks.
Try the CURRENTBLOCKREF
command
https://roamjs.com/extensions/smartblocks/command_reference#UtiLXpXUH
from smartblocks.
Related Issues (20)
- Possible to output <%BLOCKMENTIONS %> Results as headings? HOT 1
- FORM type embed doesn't support a default
- Feature Request: RANDOMFROMQUERY HOT 5
- Support SmartBlock Buttons in Roam {{[[table]]}}
- Feature Request: Command for getting page title via the block uid HOT 1
- Parsing and docs error for command: <%QUERYBUILDER%> HOT 1
- Move backend to roamjs-backend HOT 1
- Add filtering to RANDOMPAGE HOT 1
- Support top of nested block for SMARTBLOCK command HOT 2
- Support a DELETEBLOCK command HOT 1
- Improve stability of daily workflows
- button trigger should support sibling output HOT 3
- Old version of smart block was used for daily notes HOT 2
- CURRENTBLOCKREF creates fake references when not in first block HOT 5
- Global hotkey not working
- Feature Request: Stream output text
- [Bug] Input hot keys don't work properly if you type quickly HOT 5
- Support specificity in ROUND command HOT 1
- Support MOVEBLOCK command
- Buttons with RemoveButton=false no longer work
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 smartblocks.