TypeCellOS / BlockNote

A React Rich Text Editor that's block-based (Notion style) and extensible. Built on top of Prosemirror and Tiptap.
https://www.blocknotejs.org/
Mozilla Public License 2.0
6.71k stars 463 forks source link

can not resize too slim when text in table cell is too long #1076

Open jueinin opened 2 months ago

jueinin commented 2 months ago

Describe the bug <what's going wrong!?>

image

To Reproduce <clear steps to reproduce are super helpful! Best is to provide an online sandbox, click to create one>

  1. create a table on this: https://www.blocknotejs.org/examples/basic/minimal
  2. paste this text

const nodes = [] if (line.trim() !== '') {nodes.push(state.schema.text(line)) }if (index < lines.length - 1 || line.trim() === '') {nodes.push(state.schema.nodes.hardBreak.create()) }return nodes

as you can see you can not resize the column more slim.

Misc

matthewlipski commented 1 month ago

Nice, probably worth looking into in either #856 or #1054