Skip to content

Releases

0.23.3

Choose a tag to compare

@github-actions github-actions released this 20 Nov 13:57

中文

修复

  • 开着「编辑格子时直接显示格式」时,编辑居中、右对齐的格子,字会往左偏一截,看起来像对齐失效了(B站反馈):Obsidian 给编辑器的滚动条预留了位置,格子里的编辑框右边空出 15px。现在编辑框撑满整格,编辑时和查看时位置一样。

English

Fixed

  • With "Show formatting while editing a cell" on, text in centered and right-aligned cells shifted left while editing, so alignment looked broken (reported on Bilibili): Obsidian reserves room for the editor's scrollbar, which left 15px empty on the right of the cell editor. The editor now fills the cell, so text sits in the same place while editing as when viewing.

完整更新日志 / Full changelog: https://github.com/JackWeiGogoga/gogoga-table/blob/main/CHANGELOG.zh-CN.md

0.23.2

Choose a tag to compare

@github-actions github-actions released this 20 Nov 11:37

中文

修复

  • 格式化插件(比如 Linter 的「表格前后空行」)在表格和下面的注释之间插了空行后,合并单元格、颜色、列宽这些设置全不见了(B站反馈):注释要紧贴着表格才认。现在中间隔着空行也认,改表格时空行原样留着,不会和格式化插件来回改。
  • 用 Advanced PDF Export、Beautiful PDF 这类插件导出 PDF 时,合并单元格、格子颜色没了(B站反馈)。它们把笔记渲染到一块看不见的地方再拿去打印,以前插件不管那里的表格;现在在那里的表格上补好合并和颜色,表格仍是原生的,不带按钮,换了它们的样式也能正常显示。

English

Fixed

  • When a formatter (such as Linter's blank lines around tables) put a blank line between a table and the comment below it, merged cells, colors and column widths were all lost (reported on Bilibili): the comment was only read when it sat right under the table. It is now read with blank lines in between too, and they stay as they are when you edit the table, so the plugin and the formatter don't keep rewriting each other.
  • Exporting with plugins such as Advanced PDF Export and Beautiful PDF lost merged cells and cell colors (reported on Bilibili). They render the note somewhere hidden and print that, and the plugin used to leave tables there alone. Those tables now get their merges and colors filled in; they stay plain tables without buttons, so they show correctly with those plugins' own styles.

完整更新日志 / Full changelog: https://github.com/JackWeiGogoga/gogoga-table/blob/main/CHANGELOG.zh-CN.md

0.23.1

Choose a tag to compare

@github-actions github-actions released this 20 Nov 08:25

中文

修复

  • 手机上点行、列手柄,菜单出来的同时会弹出键盘把菜单挡住;菜单长时顶上还跑到状态栏后面。现在点手柄不再让输入框获得焦点(已弹出的键盘也会收起),菜单放在状态栏下面的可见区域里,比屏幕高时可以滚动,键盘弹出或收起时跟着重新摆放。
  • 颜色标签中间有换行(<span style="color:…">甲<br>乙</span>)时,编辑格子会露出 HTML 标签。现在跨行的颜色、荧光笔和单行的一样,编辑时标签藏起来、文字照样显示颜色。
  • 用有些主题时,一进格子编辑字就变大或变小:主题给编辑器定的字号也套到了格子的编辑框上。现在编辑框的字号、字体、行高一律和格子查看时一样。

English

Fixed

  • On phones, tapping a row or column handle opened the menu and brought up the keyboard, which covered the menu; a long menu also went up behind the status bar. Tapping a handle no longer focuses the cell input (an open keyboard closes), and the menu stays inside the visible area below the status bar, scrolls when it's taller than the screen, and moves when the keyboard opens or closes.
  • A colored span that contains a line break (<span style="color:…">a<br>b</span>) showed its HTML tags while you edited the cell. Colors and highlights that span lines are now hidden and shown in color while editing, like single-line ones.
  • With some themes, text in a cell got bigger or smaller as soon as you started editing it: the theme's font size for the editor applied to the cell editor too. The cell editor now always uses the cell's own font size, font and line height.

完整更新日志 / Full changelog: https://github.com/JackWeiGogoga/gogoga-table/blob/main/CHANGELOG.zh-CN.md

0.23.0

Choose a tag to compare

@github-actions github-actions released this 20 Nov 03:41

中文

新增

  • 加密列:列菜单「列类型」里选「加密」,这一列存的是主密码加密的密文,适合放密码、账号这类内容。第一次使用时设置主密码(输两遍,可以写一句提示),之后每次打开 Obsidian 输一次就能看、能改所有表格里的加密列。格子显示 ••••••,悬停时点眼睛显示明文、点复制按钮复制明文(30 秒后从剪贴板清除);选中一个加密格子按 ⌘C 也复制明文。编辑时编辑框里是明文,按 Enter 后才加密写回,粘贴进加密列的内容也先加密再写,笔记里永远只有密文。
    • 密文和 Meld Encrypt 3.x 的行内加密(%%🔐γ … 🔐%%)格式相同,用同一个密码两边都能解开。没装表格插件时,原生表格会把它当注释藏起来。
    • 设置「加密列自动锁定」:多久不用就锁上(5 分钟、15 分钟、1 小时,或不自动锁),也可以用命令或列菜单里的「锁定加密内容」马上锁。
    • 设置「主密码存在钥匙串里」(Obsidian 1.13.2 起):选钥匙串里存主密码的那一项,就不用每次输入。和 Meld Encrypt 选同一项,可以共用一个主密码。
    • 主密码只在内存里,设置里存的是一段用它加密的校验文字,不是密码本身。忘了主密码就无法解开,没有找回办法。
    • 加密列不能排序、不能合计。改回别的类型时会先确认,再把内容解密成明文写回笔记。
  • 单独加密格子:普通列里选中一格或几格,右键「加密」,只加密这几格;加密的格子右键「取消加密」(先确认)就写回明文。状态、多选列的格子不能单独加密。
  • 命令「更改主密码」:用新的主密码重新加密库里所有用旧主密码加密的内容,包括表格的加密格子,以及 Meld Encrypt 用同一个密码加密的行内内容。开始前会说明要改几篇笔记、几段内容。用别的密码加密的内容、整篇加密的 .mdenc 文件不会改。有一段重新加密失败就整个放弃,一篇笔记都不改。
  • 也能解开 Meld Encrypt 更早的 🔐β 写法;改过的格子存成新的 🔐γ 写法。
  • 和 gogoga Mind Map 同时安装时,脑图节点里表格的加密格子也能解锁、查看、编辑,用的是同一个主密码,一起锁定。

修复

  • 在实时预览的表格里按 ⌘Z 撤回(或 ⌘⇧Z 重做),画面和编辑器光标会跳到笔记顶部(用户反馈)。现在撤回表格里的改动时画面留在原地,光标在表格旁边;撤回的是表格外面的改动,照常跳到那里。

English

Added

  • Encrypted columns: choose Encrypted under Column type in the column menu, and the column stores text encrypted with a master password, for things like passwords and account numbers. The first time, you set a master password (typed twice, with an optional hint); after that, enter it once per Obsidian session to view and edit encrypted columns in every table. Cells show ••••••; hover to show a cell with the eye button or copy it with the copy button (cleared from the clipboard after 30 seconds), and Mod+C on a single encrypted cell copies it too. While editing, the cell shows the plain text and is encrypted when you press Enter; content pasted into an encrypted column is encrypted before it's saved. Notes only ever contain the encrypted text.
    • The encrypted text uses the same format as Meld Encrypt 3.x inline encryption (%%🔐γ … 🔐%%), so either plugin can decrypt it with the same password. Without this plugin, Obsidian's own tables hide it as a comment.
    • "Lock encrypted columns after" setting: lock after 5 minutes, 15 minutes or 1 hour of inactivity, or never. "Lock encrypted content" in the command palette or the column menu locks right away.
    • "Master password from the keychain" setting (Obsidian 1.13.2 and later): pick the keychain entry that holds your master password so you don't have to type it. Pick the same entry in Meld Encrypt to share one master password.
    • The master password is kept in memory only. Settings store a short text encrypted with it to check the password, not the password itself. If you forget the master password, the content can't be recovered.
    • Encrypted columns can't be sorted or totaled. Changing one to another type asks first, then saves its content back to the note decrypted.
  • Encrypt single cells: select one or more cells in a regular column and choose Encrypt from the right-click menu to encrypt just those cells. Right-click an encrypted cell and choose Remove encryption (after a confirmation) to save it as plain text again. Status and multi-select cells can't be encrypted on their own.
  • "Change master password" command: re-encrypts everything in the vault that uses the old master password with a new one, including encrypted table cells and Meld Encrypt inline text that uses the same password. It tells you how many notes and items it will change first. Text encrypted with other passwords and whole-note .mdenc files aren't changed. If any item can't be re-encrypted, nothing is changed.
  • Meld Encrypt's older 🔐β format can be decrypted too; cells you edit are saved in the newer 🔐γ format.
  • With gogoga Mind Map installed as well, encrypted cells in mind map node tables can be unlocked, viewed and edited too, using the same master password, and they lock together.

Fixed

  • Pressing Mod+Z (or Mod+Shift+Z) in a table in Live Preview jumped the view and the editor cursor to the top of the note (reported by a user). Undoing a change in the table now keeps the view where it is, with the cursor next to the table; undoing a change outside the table still jumps there as before.

完整更新日志 / Full changelog: https://github.com/JackWeiGogoga/gogoga-table/blob/main/CHANGELOG.zh-CN.md

0.22.1

Choose a tag to compare

@github-actions github-actions released this 19 Nov 11:10

中文

修复

  • 在 gogoga Mind Map 的备注编辑框里,编辑表格格子时选中文字不出格式栏,除非打开了「编辑格子时选中文字显示格式栏」(群友反馈:备注正文能高亮,表格里不行)。现在那里一直出,和备注正文一样;别处照旧按设置。

English

Fixed

  • In the note editor of gogoga Mind Map, selecting text in a table cell didn't show the format bar unless "Format bar when selecting text in a cell" was on (reported by a user: highlighting worked in the note's text but not in its tables). There it now always shows, like the format bar for the rest of the note. Elsewhere the setting works as before.

完整更新日志 / Full changelog: https://github.com/JackWeiGogoga/gogoga-table/blob/main/CHANGELOG.zh-CN.md

0.22.0

Choose a tag to compare

@github-actions github-actions released this 19 Nov 09:51

中文

新增

  • 设置「表格居中」(默认关,群友提议):比正文窄的表格放在页面正中间,阅读视图和实时预览都是。比正文宽的表格照旧左边和正文对齐、左右滑动,撑满页面宽度的表格不变。以前用 CSS 片段给 table 设 margin: auto 来居中,装了插件就不管用:插件的每张表外面包着一层和表格一样宽、靠左放的外框,这个设置排的是外框。

English

Added

  • "Center tables" setting (off by default, requested by a user): tables narrower than the page sit in the middle of it, in Reading view and Live Preview. Tables wider than the page keep their left edge lined up with the text and scroll sideways as before, and tables that fill the page width are unchanged. CSS snippets that center tables with margin: auto on table didn't work with this plugin, because each table sits in a frame as wide as the table, on the left; this setting centers the frame.

完整更新日志 / Full changelog: https://github.com/JackWeiGogoga/gogoga-table/blob/main/CHANGELOG.zh-CN.md

0.21.0

Choose a tag to compare

@github-actions github-actions released this 19 Nov 09:17

中文

新增

  • 「插入表格」的网格能用键盘了(群友提议):回车插入高亮的大小(没动鼠标时是 3 × 3),方向键调整行数和列数,Esc 关闭。

修复

  • 在格子里输入、还没确认(光标还在格子里)就点表格边上的加号加一行或一列,刚输入的字会丢(群友反馈)。现在先把这一格存好,再加行加列。

English

Added

  • The "Insert table" grid responds to the keyboard (requested by a user): Enter inserts the highlighted size (3 × 3 when you haven't moved the mouse), the arrow keys change the number of rows and columns, and Esc closes it.

Fixed

  • Clicking a + button on the table's edge to add a row or column while you were still typing in a cell lost what you had just typed (reported by a user). The cell is now saved first, then the row or column is added.

完整更新日志 / Full changelog: https://github.com/JackWeiGogoga/gogoga-table/blob/main/CHANGELOG.zh-CN.md

0.20.0

Choose a tag to compare

@github-actions github-actions released this 19 Nov 08:15

中文

改进

  • 格子格式栏的橡皮擦按钮改成「清除格式」:加粗、斜体、删除线、下划线、高亮、文字颜色、荧光笔一次都去掉(以前只清颜色)。只选中一段格式中间的一截时,只清这一截。

修复

  • 格子里用鼠标拖选连 ** 一起选中时,文字可能来回闪、选区缩回去。现在拖选期间标记的显隐保持不变,松手后再更新。

English

Changed

  • The eraser button on the cell format bar now clears all formatting (bold, italic, strikethrough, underline, highlight, text color and highlighter color), not just colors. Selecting part of a formatted run clears only that part.

Fixed

  • Dragging to select text in a cell that included the ** around bold text could make the text flicker and cut the selection short. The markers now stay as they were while you drag, and update when you let go.

完整更新日志 / Full changelog: https://github.com/JackWeiGogoga/gogoga-table/blob/main/CHANGELOG.zh-CN.md

0.19.3

Choose a tag to compare

@github-actions github-actions released this 19 Nov 06:36

中文

修复

  • 格子里字很多、比窗口还高时,编辑格子选中文字的格式栏会跑到屏幕外,看起来就是不出:原来按整个格子放在它上方或下方,格子两头都在屏幕外。现在贴着选中的字放,限制在格子看得见的那块里。

English

Fixed

  • When a cell was taller than the window (lots of text), the format bar for selected text could end up off screen, so it looked like it never appeared: it was placed above or below the whole cell, and both ends were out of view. It now sits next to the selected text, within the visible part of the cell.

完整更新日志 / Full changelog: https://github.com/JackWeiGogoga/gogoga-table/blob/main/CHANGELOG.zh-CN.md

0.19.2

Choose a tag to compare

@github-actions github-actions released this 18 Nov 13:45

中文

改进

  • Obsidian 1.13 及以上,插件的设置能在 Obsidian 设置的搜索框里搜到,比如搜「三线表」会找到「样式」这一项。设置页看起来和以前一样,更早的 Obsidian 还是原来的设置页。
  • 按 Obsidian 插件审核的建议更新了几处代码:界面语言改用 Obsidian 提供的接口读取,输入法判断不再用已弃用的 keyCode。用起来没有变化。

修复

  • 格子里的网络图片右键「复制图片」,有的网站的图片因为跨域限制复制不了。现在通过 Obsidian 下载原图,格子里显示得出来的图片都能复制。

English

Changed

  • On Obsidian 1.13 and later, this plugin's settings show up in the search box of Obsidian's settings (for example, searching "three-line" finds the Style setting). The settings page looks the same as before, and earlier Obsidian versions keep the old page.
  • Small code updates suggested by the Obsidian plugin review: the interface language comes from Obsidian's language API, and input method detection no longer relies on the deprecated keyCode. Nothing works differently.

Fixed

  • Copy image on a web image in a cell could fail for images from sites that don't allow cross-origin access. It now downloads the image through Obsidian, so any image shown in the cell can be copied.

完整更新日志 / Full changelog: https://github.com/JackWeiGogoga/gogoga-table/blob/main/CHANGELOG.zh-CN.md