Skip to content

v0.2.2 — Editor polish: tables, DnD, covers & cards

Latest

Choose a tag to compare

@23ag1 23ag1 released this 02 Mar 15:07
· 1 commit to master since this release

What's New

Table Rendering Overhaul

  • Fixed table HTML structure using PlateElement as="tr"/"td"/"th" — proper <table> semantics
  • Floating toolbar for row/column operations (add, remove, delete table)

Drag & Drop — Table Safety

  • Content inside table cells no longer gets drag handles
  • useIsInsideTable hook traverses Slate tree to detect table ancestry
  • Prevents table corruption from dragging cell content

Note Card Covers + Emoji Patterns

  • Cards now display cover gradient at top when set
  • Emoji icon rendered as tiled SVG pattern over covers (rotated grid, upright emojis)
  • Pattern uses two emoji sizes per tile for visual depth

Consistent Card Heights

  • All note cards are fixed 200px height
  • Text fades out at bottom via CSS mask-image (no overlay seam)
  • Footer (time, tags) pinned to bottom outside masked area

Other Fixes

  • EmojiPicker positioning fix (parent-controlled absolute)
  • Slash command /table uses official insertTable() API
  • Fixed React hooks rules violations in DraggableBlock and ToggleZoneWrapper

Full Changelog: v0.2.1...v0.2.2