Files
logseq/libs
Charlie 9029c632ef Enhance/plugin apis (#3355)
* improve(plugin): support autoFocus option for main ui frame

* improve(plugin): make single selected block as current block

* improve(api): get selected blocks

* improve(plugin): support call built-in command from api

* fix(plugin): sanitize key of shortcut id

* improve(plugin): add invoke built-in command api &

* fix(editor): overwritten class of collapsed block

* improve(plugin): add `getStateFromStore` api

* chore: build libs core

Co-authored-by: Tienson Qin <tiensonqin@gmail.com>
2021-12-08 10:43:58 +08:00
..
2021-12-08 10:43:58 +08:00
2021-05-08 20:32:20 +08:00
2021-05-08 20:32:20 +08:00
2021-12-08 10:43:58 +08:00
2021-11-16 18:54:49 +08:00
2021-08-23 18:19:06 +08:00
2021-08-23 18:19:06 +08:00

@logseq/libs

🚀 Logseq SDK libraries [Draft].

Installation

yarn add @logseq/libs

Usage

Load logseq plugin sdk as global namespace

import "@logseq/libs"

Samples

https://github.com/logseq/logseq-plugin-samples

Community templates

  1. https://github.com/pengx17/logseq-plugin-template-react
  2. https://github.com/pengx17/logseq-plugin-template-svelte
  3. https://github.com/tiensonqin/logseq-cljs-playground

Feedback

If you have any feedback or encounter any issues, feel free to join Logseq's discord group. https://discord.gg/KpN4eHY