The editor's useCreateBlockNote was missing the uploadFile callback, so BlockNote had no handler for image uploads (drag-drop, paste, or toolbar button). Images now convert to data URLs for immediate display. In Tauri mode, uploaded images are also persisted to the vault's attachments/ directory via a new save_image backend command. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
31 lines
639 B
TOML
31 lines
639 B
TOML
[package]
|
|
name = "laputa"
|
|
version = "0.1.0"
|
|
description = "Personal knowledge and life management app"
|
|
authors = ["you"]
|
|
license = ""
|
|
repository = ""
|
|
edition = "2021"
|
|
rust-version = "1.77.2"
|
|
|
|
[lib]
|
|
name = "laputa_lib"
|
|
crate-type = ["staticlib", "cdylib", "rlib"]
|
|
|
|
[build-dependencies]
|
|
tauri-build = { version = "2.5.4", features = [] }
|
|
|
|
[dependencies]
|
|
serde_json = "1.0"
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
log = "0.4"
|
|
tauri = { version = "2.10.0", features = [] }
|
|
tauri-plugin-log = "2"
|
|
gray_matter = "0.2"
|
|
walkdir = "2"
|
|
chrono = { version = "0.4", features = ["serde"] }
|
|
base64 = "0.22"
|
|
|
|
[dev-dependencies]
|
|
tempfile = "3"
|