Commit graph

3 commits

Author SHA1 Message Date
黄鸿峰
73f0b08592 chore: address Obsidian review findings 2026-05-18 11:37:14 +08:00
黄鸿峰
8af1ff7f57 fix: address ObsidianReviewBot required findings
- src/editor/actions.ts: drop two unnecessary type assertions on navigator.clipboard
- src/i18n/en.ts: rewrite 9 strings into sentence case (drop button-name parentheticals like ' (Tab)' and 'Excel/web')
- src/i18n/zh.ts: drop now-unused plugin.name key
- src/main.ts: split async init out of onload into a private bootstrap()
  so Plugin.onload's declared void return type is preserved
- src/main.ts, src/i18n/index.ts, src/editor/actions.ts: remove unused
  '_' catch parameters (use bare 'catch')
- src/render/tableRenderer.ts: replace 'Function' with an explicit
  MarkdownRenderFn signature for the renderer.render fallback
- src/settings.ts: drop the manual createEl('h2', ...) heading;
  Obsidian renders the plugin name as the settings-tab heading
- src/ui/floatingToolbar.ts: replace inline element.style.display
  writes with an 'is-hidden' CSS class toggle, drop redundant
  inline 'position: fixed' (now CSS-only), and parse SVG icons via
  DOMParser instead of innerHTML
- styles.css: add .tm-floating-toolbar.is-hidden rule
- add eslint.config.mjs + dev dependencies so contributors can
  reproduce ObsidianReviewBot's checks locally
2026-04-27 14:42:20 +08:00
黄鸿峰
1850993ab1 Initial commit: Table Master plugin for Obsidian 2026-04-25 17:52:08 +08:00