Skip to content

Latest commit

 

History

History
23 lines (14 loc) · 652 Bytes

File metadata and controls

23 lines (14 loc) · 652 Bytes

Custom Editor Fonts Sample

🛠 This is a plugin that shows how to define custom appearance of editor and persist settings state.

Demo

demo

API

npm version

Logseq
  • provideUI (ui: UIOptions): this
  • provideStyle (style: StyleString | StyleOptions): this
  • updateSettings (attrs: Record<string, any>): void
  • setMainUIInlineStyle (style: CSSStyleDeclaration): void

Running the Sample

  • npm install && npm run build in terminal to install dependencies.
  • Load unpacked plugin in Logseq Desktop client.