Bases Wrap Text

by GroupiesM
5
4
3
2
1
Score: 50/100

Description

Obsidian plugin — adds Excel-style "Wrap Text" toggle to Bases tables

Reviews

No reviews yet.

Stats

0
stars
75
downloads
0
forks
14
days
14
days
14
days
0
total PRs
0
open PRs
0
closed PRs
0
merged PRs
0
total issues
0
open issues
0
closed issues
2
commits

Latest Version

15 days ago

Changelog

Bases Wrap Text v1.0.0

为 Obsidian Bases 表格增加 Excel 式「自动换行(Wrap Text)」开关。

功能

  • 功能区 ribbon 按钮一键切换换行;多次点击在 medium / tall / extra 行高之间循环
  • 通过修改 .base 文件原生 rowHeight 配置实现,兼容虚拟滚动、无行重叠
  • 卸载时自动清除所有 rowHeight 设置,无样式残留

安装

  • BRAT:添加仓库 GroupiesM/Obsidian-Bases-Wrap-Text-Plugin
  • 或社区插件市场审核通过后直接搜索安装

兼容性

  • Obsidian ≥ 1.9.0(Bases 核心插件)

README file from

Github

Bases Wrap Text

An Obsidian plugin that adds an Excel-style Wrap Text toggle to Bases table views. When enabled, long cell content wraps to multiple lines instead of being truncated to a single line.

Features

  • Ribbon icon to toggle wrapping on/off
  • Three row-height levels: medium (2x), tall (4x), extra (8x)
  • Command palette: Toggle auto wrap and Cycle row-height level
  • Auto-restores the compact row height when the plugin is disabled

Usage

  1. Open a .base file and switch to its Table view.
  2. Click the Wrap Text ribbon icon in the left sidebar.
  3. Use the command palette (Cmd/Ctrl+P) → Cycle row-height level to switch between medium / tall / extra.

How it works

Instead of fighting Bases' virtualized absolute-positioned grid with CSS/JS (which causes rows to overlap), this plugin changes the rowHeight view setting in the current .base file. Bases natively supports short / medium / tall / extra row heights and re-renders correctly on its own — so wrapping never breaks the layout.

Installation

Manual

  1. Clone this repository into your vault's plugins folder:
    git clone https://github.com/GroupiesM/bases-wrap-text.git \
      .obsidian/plugins/bases-wrap-text
    
  2. Enable Bases Wrap Text in Settings → Community plugins.

Community

Available from the Obsidian community plugin directory (search for "Bases Wrap Text").

Requirements

  • Obsidian ≥ 1.9.0 (the Bases core plugin was introduced in 1.9.0)

License

MIT